Burp Suite Professional & Enterprise API client (Unofficial)
A small Python library for working with the Burp Suite API.
Note - Requires Burp Suite Professional or Enterprise - https://portswigger.net/
Example usage:
import burpsuite
import os
# This example uses the DVWA web application running on localhost as the target app to scan.
# https://hub.docker.com/r/vulnerables/web-dvwa/
# It's recommended to use an API key when working with the Burp Suite API. It can be set in the 'User Options' menu
SERVER_URL = os.getenv("BURP_SERVER_URL", None)
API_KEY = os.getenv("BURP_API_KEY", None)
burp_api_client = burpsuite.BurpSuiteApi(server_url=SERVER_URL, api_key=API_KEY)
# Each scan request requires a scan options object. You can learn more about these options via the Burp Suite REST API
# documentation along with the values required
options = {
"urls": ["http://localhost/login.php"],
"application_logins": [{"username": "admin", "password": "example"}],
"scan_callback": {"url": "https://mycallback.com/callbacks/burp/c540ce68-eb7f-469b-914e-b21a903bc152"}
}
# Initiate a scan
task_id = burp_api_client.initiate_scan(options=options)
print("Burp Suite scan initiated! task_id: {}".format(task_id))
# Get the scan progress of a task
progress = burp_api_client.get_scan(task_id=task_id)
print(progress)
Metadata
Release files for burpsuite 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| burpsuite-0.0.3.tar.gz | 51.2 kB | Without provenance | Details for burpsuite-0.0.3.tar.gz |
Release files / burpsuite-0.0.3.tar.gz
| Download URL | burpsuite-0.0.3.tar.gz |
|---|---|
| Size | 51.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f63632a2bd920b97a3d3e25ad4f8b2c91423321aad5ecd3004e125b3a5d94e9b
|
|
BLAKE2b-256 checksum How to use checksums |
64361cdd86a0c2f83f7c6a3a1253875fe14757ea8712ec30c7bb5e3089104e7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Security for burpsuite 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.