https://github.com/blakley/copy-as-c
A Burp Suite extension that allows you to copy requests as C programs.
https://github.com/blakley/copy-as-c
burp-extensions burpsuite c-programming libcurl python3
Last synced: 2 months ago
JSON representation
A Burp Suite extension that allows you to copy requests as C programs.
- Host: GitHub
- URL: https://github.com/blakley/copy-as-c
- Owner: Blakley
- Created: 2021-09-26T07:19:33.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-15T04:32:05.000Z (almost 2 years ago)
- Last Synced: 2024-12-06T12:07:28.893Z (10 months ago)
- Topics: burp-extensions, burpsuite, c-programming, libcurl, python3
- Language: C
- Homepage:
- Size: 36.9 MB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [C]opy Extension for Burp Suite
## Description
[C]opy is a Burp Suite extension that allows you to copy `GET` and `POST` requests both intercepted and from the proxy history, as a C program.
The program will be copied to your clipboard.## Requirements
* [Jython](https://www.jython.org/download.html) >= 2.7.2
* [libcurl](https://curl.se/libcurl/) (to execute the C program)
* bash: `sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
`## Installation
* Download Copy.y
* In Burp Suite, navigate to the `Extender/Extensions` tab, then click the `Add` button and select the `Copy.y` file## How-To
* Under the `Proxy/HTTP History` tab, right click any request and apply the extension
* When intercepting a request, click the `action` button and then apply the extension
* To run the C program, run the following command `gcc program.c -lcurl` then execute the generated `a.out` file### Extension Screenshot
### Output Screenshot
### Todo
* Dynamically manage response buffer
* Add helpful code snippets