Burp Hotpatch ️provides pentesters with a quick way to hook into key BurpSuite functions using user defined scripts.
- Supports 2 languages ( JavaScript and Python ).
- Nice and easy to use script editor that supports syntax highlighting.
- Multiple scripts can be enabled at once.
- Easy debugging workflow.
- Add custom actions to the context menu for quick execution of other tools.
- Easily work with the Montoya API within Burp.
- Task manager to control execution of utility and context menu actions
- Shared variables between scripts
- Session handling actions that require further processing after the session macro has run.
- Writing payload processors for intruder.
- Cases where Bambda expressions can't be used.
- Proto-typing and testing.
- Automation/integration with other tools.
Hotpatch implements handlers for ContextMenuItemsProvider
, HttpHandler
, ProxyRequestHandler
, SessionHandlingAction
and PayloadProcessor
.
When any of these actions happen the Hotpatch extension will execute any user scripts that apply.
Users can create scripts that implement handlers for several BurpSuite functions as well as stand-alone scripts that can be run interactively within BurpSuite. Below is a description of the various types of implementations available.
- Stand-alone script that provides access to the Montoya API.
- Good for automation and repetitive actions.
- Called when a request is sent or received.
- Called at various points during the proxy interception process.
- Called after a session macro has completed.
- Very useful for handling cases where cookie based authentication is not used.
- Used for the creation of intruder payload processors.
- Add custom actions to the context menu such as automatically running SQLMap
Scripts are written in Python or JavaScript and executed in a GraalVM environment.
Scripts will be sorted by the execution order property and executed from lowest to highest.
If an error or exception happens the script will be highlighted red in the scripts list and the STDERR will be available for review. You can also print debugging information to the STDOUT.
The extension uses the Montoya API.
- Introspection / Montoya documentation tool tips.
- Interactive testing of scripts ( similar to BCheck editor test workflow ).