Sep 12, 2017 07:04 AM
(This post was last modified: Sep 12, 2017 07:05 AM by Freshyx.)
Hello,
I found an SQLi manually and tried it with sqlmapp too, however sqlmap couldn't find a vulnerability. It is mariaDB error-based, however the error is hidden in the source code.
Example:
The comment is not displayed unless you look into the source code with the browser and I don't know if sqlmap recognizes that.
The vulnerability is very easy to find because I got this error with simply putting a behind the GET parameter.
My sqlmap syntax:
Hopefully someone can help me!
I found an SQLi manually and tried it with sqlmapp too, however sqlmap couldn't find a vulnerability. It is mariaDB error-based, however the error is hidden in the source code.
Example:
Code
An unexpected database error occurred. Please try again later.
[b]<!--[/b] Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '''' LIMIT 1' at line 1 -->The comment is not displayed unless you look into the source code with the browser and I don't know if sqlmap recognizes that.
The vulnerability is very easy to find because I got this error with simply putting a
Code
'My sqlmap syntax:
Code
sqlmap.py -u "http://URL/product[/quote].php?value=test" --dbms="mariadb" --level=5 --risk=3Hopefully someone can help me!

