In order to look for SQL injection vulnerabilities, we can use the following as an initial testing string:
'1 or 1==1--
The main purpose is generating a Boolean value, TRUE, which could be evaluated in a SQL statement, but there are other similar strings that could work, for example:
'1 or 1=1 'a' = 'a '1=1
The preceding three strings have the same effect and can be used when one of them does not work.
For the basic identification of SQL injection vulnerabilities, it is highly recommended to use the Intruder tool included in Burp Suite. You can load all these testing strings in a file and launch to a bug quantity of fields:
- To add these testing strings, create a TXT ...