SQL INJECTION
Bind SQL
Let's assume that Bind SQL Injection was found. Let's do a script using substring for extracting the database name:
Then for extracting the table name we only modify the sql injection payload:
Let's retrieve the columns of a table:
Retrieve user and password:
XPATH Injection
We have to use XPATH when we try to inject and we get an error "Unknown column". So this is the condition when you can depend on XPATH injection.
This is the double quote over there..that means this time we are injecting into a string type query where the query is like.
Explotation
Last updated