[Lord of SQL injection] darknight
마흔여덟 번째 글. 1. 코드 분석 single qutoe, substr, ascii, = 를 필터링하고 있었으며 admin의 pw를 찾아야지 문제가 풀린다. 2. Exploit single quote가 필터링되고 있고 파라미터 no가 single quote로 감싸져 있지 않기 때문에 이쪽을 이용해야 한다. substr -> mid ascii -> ord = -> like ?no=1000 or id like(char(97,100,109,105,110)) and 1 like(if(ord(mid(pw,인덱스,1))like(비교값),1,0))%23 위에 처럼 사용하면 된다. 문제를 처음 풀 때 약간 이상했다. 분명 pw의 길이는 8글자가 맞는데 계속 7자리만 나오는 것이다... 확인해보니 우연한 건지 의도인지..
writeup/LOS
2021. 7. 12. 14:33
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 드림핵 Relative Path Overwrite
- 해커팩토리
- DreamHack
- LFI vulnerability
- wargame
- webhacking.kr
- xxe injection
- Lord of SQL injection
- hackerfactory
- dreamhack padding oracle
- 드림핵 padding oracle
- 웹해킹
- htb
- dreamhack Relative Path Overwrite
- CSS Injection
- hack the box
- htb Windows Fundametals
- csp bypass
- WebHacking
- alasql
- dreamhack web-alasql
- blind injection
- 드림핵 DOM XSS
- dreamhack CSS Injection
- SQL Injection
- 드림핵
- dreamhack DOM XSS
- Windows Fundamentals
- php LFI
- csp
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함