본문 바로가기 메뉴 바로가기

https://h0pp1.github.io/

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

https://h0pp1.github.io/

검색하기 폼
  • 분류 전체보기 (94)
    • writeup (81)
      • webhacking.kr (8)
      • dreamhack (36)
      • hackerfactory (3)
      • LOS (29)
      • HTB (5)
    • study (11)
      • web (5)
      • pentest (6)
  • 방명록

los blue_dragon (1)
[Lord of SQL injection] blue_dragon

62번째 글. 1. 코드 분석 특이한 것은 쿼리를 날리고 single quote와 \를 필터링하고 있었다. (이 사실을 찾는데 오래걸림;; 항상 넓게 보자) 그 외에 특별한 점은 없었다. 2. Exploit 위에서 말했듯이 쿼리를 날리고 필터링하기 때문에 sleep() 함수를 이용해서 비밀번호를 찾을 수 있었다. ?pw=' or if(id='admin' and length(pw)=특정 숫자,sleep(5),1)%23 이렇게 하면 pw의 length가 brute force한 값과 맞으면 sleep이 일어나서 쿼리를 보낸 이후에 필터링이 돼도 내가 원하는 값을 알아낼 수 있다. import requests import string import time sess = requests.session() heade..

writeup/LOS 2021. 8. 9. 21:40
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • dreamhack Relative Path Overwrite
  • DreamHack
  • 드림핵
  • 드림핵 DOM XSS
  • hack the box
  • 드림핵 Relative Path Overwrite
  • php LFI
  • dreamhack CSS Injection
  • Lord of SQL injection
  • SQL Injection
  • Windows Fundamentals
  • alasql
  • xxe injection
  • WebHacking
  • 웹해킹
  • LFI vulnerability
  • csp bypass
  • CSS Injection
  • webhacking.kr
  • csp
  • dreamhack padding oracle
  • 드림핵 padding oracle
  • wargame
  • htb Windows Fundametals
  • blind injection
  • hackerfactory
  • dreamhack DOM XSS
  • 해커팩토리
  • htb
  • dreamhack web-alasql
more
«   2025/06   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바