burp-interfaces
Installation
pip2 install burp
Usage
Now you should be able to import burp and receive typing hints!
# Burp need to load each class explicitly
from burp import IBurpExtender, IScannerCheck
# This allow us to get typing hints for all burp classes in our IDE
from burp import *
class BurpExtender(IBurpExtender, IScannerCheck):
def registerExtenderCallbacks(self, callbacks): # type: (IBurpExtenderCallbacks) -> ()
print "Loading plugin"
callbacks.registerScannerCheck(self)
def doPassiveScan(self, baseRequestResponse): # type: (IHttpRequestResponse) -> List[IScanIssue]
return []
def doActiveScan(self, baseRequestResponse, insertionPoint): # type: (IHttpRequestResponse, IScannerInsertionPoint) -> List[IScanIssue]
return []
Documentation
This is a python implementation of https://portswigger.net/burp/extender/api/
The purpose of this module is to provide typing hints (annotations) to your IDE.
NB. Do not include this module with your burp plugin
Known Issues
Multiple signatures not supported in Python
python do not support multiple signatures. In many cases typing hints support multiple signatures. When this is not the case, the methods will have an extra optional parameter called hey_check_docs to remind you that there are multiple signatures for the given method.
Building
git submodule update --init --recursive pip install -r requirements.txt python java2py/java2py.py --sourcedir sources --package burp --outfile burp/burp.py
Metadata
Release files for burp 1.27
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 |
|---|---|---|---|---|
| burp-1.27.tar.gz | 27.0 kB | Without provenance | Details for burp-1.27.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| burp-1.27-py3-none-any.whl | Python 3 | none | any | Details for burp-1.27-py3-none-any.whl |
Total release size: 53.4 kB
Release files / burp-1.27.tar.gz
| Download URL | burp-1.27.tar.gz |
|---|---|
| Size | 27.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
029ce12f8c443e31fa503cbad7b0bc2811f534995c8b7ff6415c04220d50ff8d
|
|
BLAKE2b-256 checksum How to use checksums |
8aca6e74c2d399bc670420661ce721d3d9fd9b7567084c6d6e443c3781f2a39e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / burp-1.27-py3-none-any.whl
| Download URL | burp-1.27-py3-none-any.whl |
|---|---|
| Size | 26.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0f28805ca808c92942b6656eb8c5d3fa6ae55fc7b6d54cb8f4ebf63a7edb8bf
|
|
BLAKE2b-256 checksum How to use checksums |
a587633167ad1e5610f11793519dfa0823cb6ec4b1f18f9b6f41825084a9cc1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Security for burp 1.27
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.