![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/sBke1/btq9E5L2MvS/x8kt7OLVq3vu3x3tpMPEC1/img.png)
50번째 글. 1. 코드 분석 일단 single quote가 필터링되어있다. 2. Exploit single quote를 bypass하려고 시도해봤지만 전혀 되질 않았다.. 그러던 중 구글링을 통해 like를 쓰는 경우 패턴 매칭을 통해서 쿼리의 결과를 얻어낼 수 있다는 사실을 알게 되었다. 예를 들어 pw가 15304이고 쿼리가 select id from table where pw like '1%'라 하면 pw가 1로 시작하는 것을 검색하겠다는 의미이다. 이런 점을 이용해 코드를 짜면 다음과 같다. import requests import string sess = requests.session() headers = {'Cookie': 'PHPSESSID=YOURSESSID'} # password_len..
writeup/LOS
2021. 7. 15. 15:03
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- dreamhack Relative Path Overwrite
- dreamhack CSS Injection
- 드림핵 DOM XSS
- WebHacking
- Windows Fundamentals
- wargame
- php LFI
- 드림핵 padding oracle
- dreamhack web-alasql
- Lord of SQL injection
- dreamhack padding oracle
- 드림핵
- csp bypass
- 드림핵 Relative Path Overwrite
- hackerfactory
- LFI vulnerability
- SQL Injection
- blind injection
- 해커팩토리
- csp
- CSS Injection
- htb
- 웹해킹
- xxe injection
- DreamHack
- dreamhack DOM XSS
- hack the box
- alasql
- htb Windows Fundametals
- webhacking.kr
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
글 보관함