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

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)
  • 방명록

SQL Injection (2)
[dreamhack] simple_sqli

보호되어 있는 글입니다.

보호글 2020. 9. 9. 23:24
[Webhacking.kr] 35번 문제(old)

열세 번째 글. 내 핸드폰 번호를 입력해봤더니 정상적으로 'Done'이라고 출력이 되었다. 바로 소스코드를 확인해보겠다. 먼저 phone과 id를 GET방식으로 입력을 받는다. phone을 입력받을 때 *, /, select, -, # 을 필터링한다. id는 5글자로 제한이 되어있으며 id를 입력받을 때 'admin'은 필터링이 된다. insert into chall35(id, ip, phone) values('{$_GET['id']}','{$_SERVER['REMOTE_ADDR']}',{$_GET['phone']}) 위 쿼리를 통해서 내가 입력창에 폰번호를 입력하면 guest와 내 ip주소와 같이 들어가게 된다. select ip from chall35 where id='admin' and ip='{$..

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

Blog is powered by Tistory / Designed by Tistory

티스토리툴바