old-09 -- SQLi (No Logical Operators)

URL: https://webhacking.kr/challenge/web-09/arrow-up-right

old-09.png

1 shows Apple 2 shows Banana 3 shows:

Secret

column : id,no
no 3's id is password

Pagination is done by get request: https://webhacking.kr/challenge/web-09/?no=3arrow-up-right

AND, OR, &&, ||, SUBSTRING, SELECT, FROM, UNION, =, <, >, / and many others are blocked...

Finally I managed to make SQLi work via IF((1)LIKE(1),3,1) [https://webhacking.kr/challenge/web-09/index.php?no=IF((1)LIKE(1),3,1)](https://webhacking.kr/challenge/web-09/index.php?no=IF((1)LIKE(1),3,1)

Probably some black magic involved here, but on successful IF we got 3rd id field and were able to brute force that way, second thing is that in False statement 1 didn't work? Changing to 0 made bruteforce successful.

Last updated