When analyzing web sites through a series of HTTP requests using Burp Suite, I prefer to place all requests in a complete document for analysis, making it easy to search, add code, notes, and other information. This allows me to quickly process them into a technical document organized by requests. This extension provides functionality for Burp Suite to convert HTTP requests and responses to Markdown format, supporting automatic generation of document table of contents and hostname lists, facilitating systematic organization and analysis of network interaction data.
- Copy single or multiple requests from Proxy History to Markdown
- Copy requests and responses from Intercept to Markdown
- Copy requests and responses from Repeater to Markdown
- Automatically format as clean Markdown, with URL path as title
- New: Automatically generate document table of contents and hostname list
- New: Include corresponding hostname in each request title
- New: Order options - copy in original order or reverse order
- New: Preserve Burp comments and highlights in Markdown output
This project uses a simple shell script build.sh for building, no longer depending on Gradle:
# Give execution permission to the script
chmod +x build.sh
# Execute the build
./build.shThe script will automatically:
- Download necessary dependencies (Burp Suite API)
- Compile Java source code
- Package into a JAR file
After building, the JAR file will be located at build/libs/burp-copy2md.jar.
-
After loading the extension, right-click in the following locations to see the "Copy to Markdown" options:
- Proxy History - supports multi-selection
- Intercept
- Repeater
-
Choose one of the following options:
- "Copy to Markdown" - Copy in original order
- "Copy to Markdown reverse" - Copy in reverse order
-
Paste the content into any Markdown-supporting editor
The copied content format is as follows:
# HTTP Request and Response Report
## Hostnames
- example.com
- api.example.org
## Table of Contents
1. [/api/login](#apilogin)
2. [/logout](#logout)
## /api/login (example.com)
### Note
Comment added in Burp Suite
*Highlight: yellow*
### requestHTTP request content
### response
HTTP response content
## /logout (example.com)
### request
HTTP request content
### response
HTTP response content
- In Burp Suite, go to the Extender tab
- Click the "Add" button
- Select the generated JAR file (
build/libs/burp-copy2md.jar) - Click "Next" to complete the installation
This project initially used Gradle for building, but due to Java version compatibility issues, it now uses direct compilation. The following files are no longer needed and can be safely deleted:
build.gradlegradle.propertiesgradle/directorygradlewgradlew.bat
- Language: Java
- Build Tool: Direct use of javac and jar commands (via build.sh script)
- Burp Extension API Version: 2.3
