sqlmap 的基础命令
http://ttps://www.freeerror.org/linux/6898/
1.安装成功后,使用sqlmap命令:
sqlmap ___
__H__
___ ___[']_____ ___ ___ {1.6.4#stable}
|_ -| . ["] | .'| . |
|___|_ [,]_|_|_|__,| _|
|_|V... |_| https://sqlmap.org
Usage: python3 sqlmap [options]
sqlmap: error: missing a mandatory option (-d, -u, -l, -m, -r, -g, -c, --wizard, --shell, --update, --purge, --list-tampers or --dependencies). Use -h for basic and -hh for advanced help
09:37:25] [WARNING] your sqlmap version is outdated2.根据以上的提示,sqlmap的命令参数包含:
-h 查看帮助
-u 使用url进行数据库的注入等
-d 指定数据库
-t 指定数据库表(需要有指定数据库)
-c 指定输出的表字段(需要有指定的数据库和数据库表)
--dunp 把结果拉到本地
--batch 设置所有的输入为默认值
--curent-db 输出当前所在数据库
--dbs 输出当前所有的数据库名称
--tables 输出所有数据库中的表,前提是有-d
--columns 输出所有表字段,前提是有-d -t