Skip to content

dalpan/TrafficExporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrafficExporter Logo

TrafficExporter

A Burp Suite extension to export HTTP traffic with per-domain/subdomain filtering.

Built with the Montoya API.

Java Burp Suite License Version


Screenshot

TrafficExporter in action


Features

Core

  • Domain Filter Tree — checkbox tree grouped by root domain; supports select all, deselect all, and live search
  • Live Traffic Capture — auto-populates as requests pass through the proxy; deduplication by method + URL; FIFO eviction at 10,000 entries per host
  • 5 Export Formats — RAW, JSON, CSV, HAR 1.2, Markdown pentesting report
  • Right-Click Context Menu — export selected items directly from Proxy History, Target Site Map, and Repeater
  • Export Filters — HTTP method, status code ranges (200,301,400-499), Content-Type, exclude static assets, max body size, in-scope only
  • Live Preview Panel — shows first 5 matching entries as you adjust filters
  • Statistics Bar — total domains, request count, method breakdown, status-class breakdown

Additional

  • Interesting Request Detection — auto-flags sensitive URL params (id=, token=, password=, etc.), error responses (401/403/500), and SQL/exception keywords in response bodies
  • HAR Import — load a .har file to populate the domain map, then re-export to any format
  • Duplicate URL Removal — keep only the latest request per unique URL
  • Copy to Clipboard — one-click copy of export output

Export Formats

RAW

=== [1] GET https://example.com/api/users ===
--- REQUEST ---
GET /api/users HTTP/1.1
Host: example.com
...

--- RESPONSE ---
HTTP/1.1 200 OK
Content-Type: application/json
...

JSON

[
  {
    "id": 1,
    "timestamp": "2025-01-01T12:00:00.000Z",
    "host": "example.com",
    "method": "GET",
    "url": "https://example.com/api/users",
    "status_code": 200,
    "request_headers": { "Host": "example.com" },
    "request_body": "",
    "response_headers": { "Content-Type": "application/json" },
    "response_body": "...",
    "response_length": 1234
  }
]

CSV

Columns: ID, Host, Method, URL, Status Code, Request Content-Type, Response Content-Type, Response Length, Request Body, Response Body

HAR 1.2

Full HTTP Archive 1.2 spec — compatible with browser DevTools, Insomnia, and Postman.

Markdown Report

Pentesting-style report with summary table, detailed entries, and an ⚠ Interesting Findings section at the top.


Installation

Prerequisites

  • Java 21
  • Burp Suite (Pro or Community)

Build from source

git clone https://github.com/dalpan/TrafficExporter.git
cd TrafficExporter
./gradlew jar

Output: build/libs/TrafficExporter-1.0.0.jar

Load in Burp Suite

  1. Open Burp Suite
  2. Go to Extensions → Installed → Add
  3. Extension type: Java
  4. Select build/libs/TrafficExporter-1.0.0.jar
  5. Click Next — the "Traffic Exporter" tab will appear in the main window

Usage

Capturing Traffic

Traffic is captured automatically as you browse through Burp's proxy. On load, existing proxy history is imported automatically. Use the ↺ Refresh button to re-scan history at any time.

Exporting

  1. Select domains in the left panel (checkboxes cascade to subdomains)
  2. Choose an export format from the dropdown
  3. Set filters (methods, status codes, content-type, etc.)
  4. Click Export… to save to a file, or Copy to Clipboard

Right-Click Export

Select one or more requests in Proxy History, Target Site Map, or Repeater → right-click → TrafficExporter ▶ → choose format.

HAR Import

Click Import HAR file… to load a .har file (e.g. exported from Chrome DevTools) and populate the domain map.


Project Structure

src/main/java/trafficexporter/
├── TrafficExporter.java       # Extension entry point (BurpExtension)
├── TrafficExporterTab.java    # Main UI tab
├── DomainCollector.java       # HTTP handler + domain map management
├── ExportEngine.java          # All export format logic + HAR import
├── ExportFilter.java          # Filter model POJO
├── DomainTreeModel.java       # JTree model with checkbox nodes
├── ContextMenuProvider.java   # Right-click context menu
└── Utils.java                 # Helper methods

Building

# Build fat JAR (includes Gson)
./gradlew jar

# Clean build
./gradlew clean jar

Dependencies:

Dependency Scope Purpose
montoya-api:2023.12.1 compileOnly Burp Suite API (provided at runtime)
gson:2.10.1 implementation JSON serialization (bundled in JAR)

License

MIT License — see LICENSE for details.

About

Burp Suite extension to export HTTP traffic with per-domain/subdomain filtering. Supports RAW, JSON, CSV, HAR 1.2, and Markdown formats.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages