Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- CTF
- Reflected Xss
- 과제
- file upload
- blind sql injection
- Cross Site Request Forgery
- 쿠키
- 모의해킹
- csrf
- php
- cookie 탈취
- 로그인
- 웹개발
- 로그인페이지
- XSS
- JWT
- MySQL
- cors
- 게시판 만들기
- Error based sql injection
- JS
- lord of sqli
- sql injection point
- Python
- 세션
- sql injection
- lord of sql injection
- css
- Los
- union sql injection
Archives
- Today
- Total
목록lord sql injection (1)
Almon Dev

LOS 풀이 orge 풀이1. 코드 분석GET 메서드의 pw와 쿼리 결과의 pw가 일치하면 문제가 풀립니다.그렇다면 admin 계정의 실제 비밀번호를 알아야 풀 수 있는것 같습니다.$_GET[pw] = addslashes($_GET[pw]); $query = "select pw from prob_orge where id='admin' and pw='{$_GET[pw]}'"; $result = @mysqli_fetch_array(mysqli_query($db,$query)); if(($result['pw']) && ($result['pw'] == $_GET['pw'])) solve("orge"); 이번에도 or 과 and를 필터링 하기 때문에 || 와 &&를 활용해야 합니다.if(preg_match('/..
모의해킹/Lord of SQLi
2025. 1. 6. 18:04