
Ở các phần trước chúng ta đã tìm hiểu cơ bản về SQL Injection , các kiểu khai thác
Blind SQL Injection
Error based/Double Query SQL Injection
String based SQL Injection
Trong phần này gh0stsec sẽ giới thiệu kiểu khai thác Xpath Error based
1/ Khi nào có thể sử dụng Xpath Error based
The Used Select Statements Have Different Number Of Columns
2/ Cách khai thác:
B1: Get verion
Code:
and extractvalue(0x3a,concat(0x3a,version()))