Professional Community

Python Scripter

This extension allows execution of custom Python scripts to be used with HTTP request and responses plus support for handling Macro messages.

To use, type or paste a Python script into the "Python Scripts" tab, and use Burp in the normal way. The script will be executed for each HTTP request and response.

Items placed into the 'state' dictionary will be persisted across request/responses.

The following variables are defined in the context of the script:

  • extender: IBurpExtender
  • callbacks: IBurpExtenderCallbacks
  • helpers: IExtensionHelpers
  • toolFlag: int
  • messageIsRequest: bool
  • messageInfo: IHttpRequestResponse
  • macroItems: IHttpRequestResponse[]
  • state: dict

Author

Author

Marcin Wielgoszewski, Mike Cromwell

Version

Version

2.1

Rating

Rating

Popularity

Popularity

Last updated

Last updated

20 May 2022

Estimated system impact

Estimated system impact

Overall impact: Low

Memory
Low
CPU
Low
General
Low
Scanner
Low

You can install BApps directly within Burp, via the BApp Store feature in the Burp Extender tool. You can also download them from here, for offline installation into Burp.

You can view the source code for all BApp Store extensions on our GitHub page.

Follow @BApp_Store on Twitter to receive notifications of all BApp releases and updates.

Please note that extensions are written by third party users of Burp, and PortSwigger Web Security makes no warranty about their quality or usefulness for any particular purpose.

Go back to BappStore

Note:

Please note that extensions are written by third party users of Burp, and PortSwigger Web Security makes no warranty about their quality or usefulness for any particular purpose.