python库枚举burp restful api端点。
PyBurprestapi的Python项目详细描述
一个burp python restful api包。
要求
- burp-rest-api
- BURP套房专业版
快速启动
- 使用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