There isOn my localhost I have a PHP link like this
abc.com/index.php?q=XYZ
XYZwhere XYZ is a base64encoded parameter that I have verified is injectable, when i. When I try abc.com/index.php?q=XYZ' it returns You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for
soSo probably the query is
`select * from TableName where q={QUERYPRAM`} or die(mysql_error());
howHow can I write my custom query here or get information since the output is actually in die()the die() function.?
I normally use sqlmapSQLMap for this fucntionfunction, but that is behaving very slow and closes request immediately.
any hint ?
EDIT : I am using this on my localhost, not on a live website