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

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 nightmare (1)
[Lord of SQL injection] nightmare

53번째 글. 1. 코드 분석 strlen() 함수는 바이트 기준으로 문자열의 길이를 알려주는 함수이다. 한글과 영어일 때 같은 문자열의 길이를 입력해도 서로 다르다. 어쨌든 길이가 6 이상이면 'No Hack ~_~'을 출력한다. 2. Exploit MySQL의 자동 형 변환을 이용해서 풀 수 있다. 서로 다른 데이터의 타입을 조회할 시 같은 타입으로 형 변환을 하여 비교하게 된다. 결론적인 핵심만 말하면 문자는 숫자 0과 같다라는 것을 기억하면 된다. ?pw=')=0;%00 이렇게 보내주면 문자 또는 0으로 시작하는 pw가 조회될 것이고 세미콜론과 널바이트로 쿼리를 종결해 줄 수 있다. Reference https://limjunyoung.tistory.com/121 // MySQL 자동 형 변환 h..

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

티스토리툴바