Skip to content

Latest commit

 

History

History
56 lines (33 loc) · 1.02 KB

README.rst

File metadata and controls

56 lines (33 loc) · 1.02 KB

Burp REST API

A burp python RESTFul API package.

Requirements

Quick Start

  • Install with pip: pip install PyBurprestapi
  • Build locally: python setup.py build

Example

# 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

Bugs and Feature Requests