-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SqlmapApi学习 #69
Comments
dump怎么搞? |
set dump选项就行了. sqlmapapi本质上是 可以批量运行sqlmap --batch 的工具, |
|
sqlmapapi只能检测get请求吗?post请求如何进行?get请求中的cookie如何写入? |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
0x01 DSScan
SqlmapApi
和Django
来做个小工具进行批量扫描检测SqlmapApi
简介sqlmapapi.py
开启服务端口,只要向sqlmapapi
发送请求就可以进行sql
注入检测sqlmapapi.py
文件lib/utils/api.py
文件python sqlmapapi.py -h
查看帮助python sqlmapapi.py -s
运行服务端 (s -- server
)sqlmapapi.py
文件可以得到,-s
命令后面还可以接-H
-P
命令-H
:host
自定义域名-P
:port
自定义端口127.0.0.1:8775
,sqlmapapi
用的后端依赖于Bottle
(一个非常小巧但高效的微型Python Web
框架)Admin ID
用于管理sqlmapapi
的使用,即管理taskid
,在新建sqlmap
任务的时候,这个Admin ID
没有什么作用,只是在查看任务和删除任务的时候才有用@get("/task/new")
cmd
窗口,输入任务id
即taskid
,之前打开cmd
窗口(开启服务端)中会返回成功创建的信息url
等,之后就可以展开扫描)@post("/option/<taskid>/set")
post
方法cmd
窗口会显示[17:55:23] [DEBUG] [ee0433a686f236a5] Requested to set options
@post("/scan/<taskid>/start")
post
方法,函数参数内容同上,只是第一个参数改变内容为/scan/.../start
cmd
显示@get("/scan/<taskid>/status")
terminated
: 表示扫描结束running
: 表示扫描运行中cmd
显示@get("/scan/<taskid>/data")
data
有数据返回,说明存在注入,如果没有数据(结果为空),不存在注入cmd
显示@get("/task/<taskid>/delete")
cmd
显示The text was updated successfully, but these errors were encountered: