Professional Community

Copy as Python aiohttp

This extension generates async Python code from HTTP requests.

This extension generates different flavors of scripts (e.g. with/without session, with/without main function). The resulting codes have been tested with Python 3.14.3 but they should work with other versions as well.

Features

  • Generate individual async functions from requests
  • Combine multiple requests into a single session
  • Generate async scripts for password spraying attacks

Usage

  1. Right-click on any HTTP requests and select the "Copy as Python aiohttp" option to generate the corresponding Python code.
  2. There are four different options to choose from in the main context menu:
    • Copy requests: generates individual async functions for each selected request.
    • Copy requests with session object: generates individual async functions for each selected request where a session object is passed as an argument to the function.
    • Generate script: has the same options as above but combines all the requests into a single script with a main function.
    • Generate password spraying template: generates a template script for password spraying attacks.
  3. Remember to customize the generated code as needed, especially the password spraying template, which is meant to be a starting point for your attacks.

Note: Before running the resulting Python code snippet on your host machine, make sure to install the required dependencies with pip install 'aiohttp[speedups]' aiofiles aiocsv

Author

Author

y0k4i

Version

Version

1.1.2

Rating

Rating

Popularity

Popularity

Last updated

Last updated

26 March 2026

Estimated system impact

Estimated system impact

Overall impact: Empty

Memory
Empty
CPU
Empty
General
Empty
Scanner
Empty

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.