일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- IF문
- Pwndbg
- 조건문
- sql injection
- blind sql injection
- 파이썬
- 사칙연산
- 포인터
- 배열
- document
- 백준 알고리즘
- xss game
- lord of sql injection
- 김성엽 대표님
- suninatas 풀이
- 자바스크립트
- xss game 풀이
- 백준 파이썬
- 메소드
- 객체
- property
- github
- jQuery
- 함수
- element 조회
- python
- htmlspecialchars
- object
- window
- burp suite
Archives
- Today
- Total
목록darkelf (1)
power-girl0-0

주소 : https://los.rubiya.kr/ Lord of SQLInjection los.rubiya.kr [ 문제 ] [ 풀이 ] 앞서 풀어본 문제와 같이, 해당 문제도 id가 admin일 경우 문제를 풀리는 것으로 예상된다. if($result['id'] == 'admin') solve("darkelf"); 이번에도, or연산을 활용하여 id에 admin값을 넣어보자. ?pw=' or id='admin'%23 하지만, 아래와 같이 'HeHe'라는 문장이 출력된다. 소스를 살펴본 결과, or과 and가 차단된 것을 확인할 수 있다. if(preg_match('/or|and/i', $_GET[pw])) exit("HeHe"); 근데, or연산의 || 기호는 차단되지 않은 것 같다. or연산 대신 |..
War game/Lord of SQL Injection
2021. 3. 20. 16:57