Notice
Recent Posts
Recent Comments
Link
«   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
Tags
more
Archives
Today
Total
관리 메뉴

Un_Woo

LOS wolfman 본문

Web/Lord of Sql Ingection

LOS wolfman

언우s 2018. 4. 11. 09:29

5. wolfman

if(preg_match('/ /i', $_GET[pw])) exit("No whitespace ~_~"); 

스페이스바 필터링

$query = "select id from prob_wolfman where id='guest' and pw='{$_GET[pw]}'"; 
if($result['id'] == 'admin') solve("wolfman"); 

id guest로 고정

id admin이 되야 클리어

스페이스바는

Tap : %09

\n : %0a

\r : %0d

주석 : /**/

괄호 : ()

더하기 : +

6개로 우회 가능


'Web > Lord of Sql Ingection' 카테고리의 다른 글

LOS orge  (0) 2018.04.11
LOS darkelf  (0) 2018.04.11
LOS orc  (0) 2018.04.11
LOS goblin  (0) 2018.04.10
LOS Cobolt  (0) 2018.04.10
Comments