sqlmapapi指令函数

来源:互联网 发布:抽奖软件可内定 编辑:程序博客网 时间:2024/06/04 19:50
进入到C:/Python2/lib/utils/api.py,其中比较常用的核心方法如下:
用户方法:
@get("/task/new"):创建新的任务ID
@get("/task/<taskid>/delete"):删除任务ID
管理函数:
@get("/admin/<taskid>/list"):查看用户的任务列表(任务ID数量及状态)
 
@get("/admin/<taskid>/flush"):清空任务列表全部历史任务
核心交互函数:
@get("/option/<taskid>/list"):列出某个任务ID的配置项
@post("/option/<taskid>/get"):Get the value of an option (command line switch) for a certain task ID
@post("/option/<taskid>/set"):Set an option (command line switch) for a certain task ID
@post("/scan/<taskid>/start"):发起扫描
@get("/scan/<taskid>/stop"):结束扫描
@get("/scan/<taskid>/kill"):Kill a scan 阻断扫描
@get("/scan/<taskid>/status"):返回扫描状态
@get("/scan/<taskid>/data"):获取扫描数据
扫描日志处理函数:
@get("/scan/<taskid>/log/<start>/<end>"):获取日志信息的子集
@get("/scan/<taskid>/log"):获取扫描日志信息

处理output目录下文件的函数:

@get("/download/<taskid>/<target>/<filename:path>"):下载文件,系统文件位置在C:\Users\用户名\.sqlmap\output目录下


1 0
原创粉丝点击