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
- htb
- dreamhack DOM XSS
- hackerfactory
- xxe injection
- wargame
- webhacking.kr
- dreamhack padding oracle
- SQL Injection
- WebHacking
- hack the box
- dreamhack CSS Injection
- CSS Injection
- htb Windows Fundametals
- 웹해킹
- dreamhack web-alasql
- Windows Fundamentals
- 드림핵 Relative Path Overwrite
- dreamhack Relative Path Overwrite
- 드림핵
- csp
- 드림핵 DOM XSS
- 해커팩토리
- alasql
- Lord of SQL injection
- blind injection
- DreamHack
- LFI vulnerability
- csp bypass
- 드림핵 padding oracle
- php LFI
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함
