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 giant 본문

Web/Lord of Sql Ingection

LOS giant

언우s 2018. 4. 11. 10:15

14. giant

if(strlen($_GET[shit])>1) exit("No Hack ~_~"); 

shit 길이<=1

if(preg_match('/ |\n|\r|\t/i', $_GET[shit])) exit("HeHe"); 

\n, \r, \t, 스페이스바 필터링
$query = "select 1234 from{$_GET[shit]}prob_giant where 1"; 
if($result[1234]) solve("giant"); 

스페이스바 우회 -> %0a, %09, %0b, %0c, %0d, /**/

%0b, %0c로 우회 가능

?shit=%0b

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

LOS bugbear  (0) 2018.04.11
LOS darkknight  (0) 2018.04.11
LOS golem  (0) 2018.04.11
LOS skeleton  (0) 2018.04.11
LOS vampire  (0) 2018.04.11
Comments