일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 우분투
- mocOS
- LOS 5번
- SQL i
- docker compose
- blind SQLi
- Lord of SQL Injection
- btmp
- UTM
- ubuntu
- 가상머신 os
- No module named ‘requests’
- Kail Linux
- Lord of SQLinjection
- los.rubiya.kr
- utmp
- Python requests 설치
- Union SQL Injection
- ModuleNotFoundError: No module named ‘requests’
- MySQL
- 2002(HY000)
- sql injection
- sqli
- Error Based SQL Injection
- M2
- goblin 3번
- SQLi wargame
- XAVIS
- str_replace함수
- 1819 (HY000):
- Today
- Total
목록모의해킹/Wargame (20)
klaus
1. 전체 코드

0 . xavis ... 이미지가 따로 없는 듯하다 못찾음. 1. 전체 소스 코드 2. 주요 코드 분석 if(preg_match('/prob|_|\.|\(\)/i', $_GET[pw])) exit("No Hack ~_~"); if(preg_match('/regex|like/i', $_GET[pw])) exit("HeHe"); $query = "select id from prob_xavis where id='admin' and pw='{$_GET[pw]}'"; $query = "select pw from prob_xavis where id='admin' and pw='{$_GET[pw]}'"; $result = @mysqli_fetch_array(mysqli_query($db,$query)); if(($r..

0. 나이트메어 1. 전체 소스 코드

0. 들어가기 1. 전체코드 2. 주요코드 $_GET['id'] = strrev(addslashes($_GET['id'])); $_GET['pw'] = strrev(addslashes($_GET['pw'])); if(preg_match('/prob|_|\.|\(\)/i', $_GET[id])) exit("No Hack ~_~"); if(preg_match('/prob|_|\.|\(\)/i', $_GET[pw])) exit("No Hack ~_~"); $query = "select id from prob_zombie_assassin where id='{$_GET[id]}' and pw='{$_GET[pw]}'"; $result = @mysqli_fetch_array(mysqli_query($db,$quer..

0.서큐버스 1. 전체 코드

0.자이언트 1. 전체 코드 2. 중요코드 분석 if(strlen($_GET[shit])>1) exit("No Hack ~_~"); if(preg_match('/ |\n|\r|\t/i', $_GET[shit])) exit("HeHe"); $query = "select 1234 from{$_GET[shit]}prob_giant where 1"; if($result[1234]) solve("giant"); 1) strlen함수를 보면 shit의 입력값의 길이는 1보다 작아야 합니다. 2) Preg_match함수를 보면 - (공백) - \n - \r - \t 을 필터링합니다. 3) query를 보면 from와 prob_giant사이에 GET [shit] 입력해주면 solve 됩니다. 3. solve 먼저, 공..

0. 버그베어 난 진짜 리니지를 좋아했었나, 생각나는 건 리니지 밖에 없었다..... 1. 전체 코드

0. 다크나이트 다크나이트를 검색하면 batman만 나온다..ㅎㅎ php마이페이지를 만들다가 힘들어서 문제하나를 풀어봅니다.(?) 1. 전체 코드 2. 주요 코드 분석 if(preg_match('/prob|_|\.|\(\)/i', $_GET[no])) exit("No Hack ~_~"); if(preg_match('/\'/i', $_GET[pw])) exit("HeHe"); if(preg_match('/\'|substr|ascii|=/i', $_GET[no])) exit("HeHe"); $query = "select id from prob_darkknight where id='guest' and pw='{$_GET[pw]}' and no={$_GET[no]}"; 먼저, preg_match함수를 확인해보면..

0. golem 오픈 때부터 지금까지 하고 있는.... 1. 전체코드 2. 주요 코드 분석 if(preg_match('/prob|_|\.|\(\)/i', $_GET[pw])) exit("No Hack ~_~"); if(preg_match('/or|and|substr\(|=/i', $_GET[pw])) exit("HeHe"); $query = "select pw from prob_golem where id='admin' and pw='{$_GET[pw]}'"; $result = @mysqli_fetch_array(mysqli_query($db,$query)); if(($result['pw']) && ($result['pw'] == $_GET['pw'])) solve("golem"); preg_match를 ..