python库枚举burp restful api端点。

PyBurprestapi的Python项目详细描述


一个burp python restful api包。

要求

快速启动

  • 使用pip安装:pip install PyBurprestapi
  • 本地生成:python setup.py build

示例

# import the package
from PyBurprestapi import burpscanner

# setup burp connection
host = 'http://127.0.0.1:1337/'

# Burp API key
key = '6dHyTmUB9t474JuvVAgpP7ofc2u4N2Mr'

# importing host and key
bi = burpscanner.BurpApi(host, key)

#
data = '{"urls":["http://zero.webappsecurity.com"]}'

# scan Launch
response = bi.scan(data)

# Get the response message
print response.message

# Get response header (Scan ID found in Location)
print response.response_headers

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
内部嵌套滚动视图的java Recyclerview?   返回空值的java MapPartitionFunction   java无法访问apache模块源代码中的系统定义的环境变量   java需要帮助确定用户输入的最大值和最小值   java检查文件是否存在,如果存在,则创建一个编号更高的新文件   针对许多不正确XML文档的XSD的XML验证在Java中不报告任何错误?   java有没有一种方法可以将json字符串甚至JSONObject发送给POSTMAN,而不在每个双引号前加斜杠?   java如何获得频域中两个音频信号的比率?   java 安卓 studio理解错误   java插入到部分填充的数组中   java使用流<String>创建流<CustomType>?   java开放式按键应用程序   java获取zxing生成的图像路径   使用shibboleth sso的java授权   java在运行时更改bean类名   javajooq如何从表中选择min'id'   java通过Eclipse web项目运行hadoop mapreduce字数   java同步方法与非同步方法同时执行   方法每次返回一个不同的加密字符数组   java获取ArrayList的每个元素中出现的特定字符的频率<String>