PacketMinify is a Burp Suite extension that distills HTTP requests into their essential componentsβheaders, cookies, query parameters, and bodyβby testing each part's impact on the response. It reconstructs a minimized packet and sends it to Repeater for further analysis.
Crafted by Kave & Microsoft Copilot, this tool treats packet reduction as a symbolic diagnostic ritual.
- Context menu integration: Right-click any request β βSend to PacketMinifyβ
- Parses headers, cookies, query params, and body into symbolic parts
- Iteratively disables each part to test its impact on response status and length
- Reconstructs a minimized request using only essential parts
- Displays original and minimized packets in a custom Burp tab
- Sends minimized request to a new Repeater tab for live testing
- Detects cases where minimized packets fail to replicate original behavior β flagging them for deeper manual analysis
PacketMinify/
βββ src/
β βββ BurpExtender.java
β βββ MinifierEngine.java
β βββ PacketExtractor.java
β βββ PacketMinifier.java
β βββ PacketMinifyTab.java
β βββ PacketPart.java
β βββ PacketTester.java
β βββ RepeaterSender.java
β βββ ResponseComparator.java
β βββ Utils.java
β
βββ lib/
β βββ burp-extender-api-2.1.jar
β
βββ build/
β βββ PacketMinify.jar
β βββ BurpExtender.class
β βββ PacketExtractor.class
β βββ PacketMinifier.class
β βββ PacketMinifyTab.class
β βββ PacketPart.class
β βββ PacketTester.class
β βββ RepeaterSender.class
β βββ ResponseComparator.class
β βββ Utils.class
β
βββ manifest.json
βββ README.md
-
Clone or download the project
-
Compile the extension
javac -cp lib/burp-extender-api-2.1.jar -d build src/*.java $env:Path += ";C:\Program Files\Java\jdk-21\bin" jar cf build/PacketMinify.jar -C build .
-
Load into Burp Suite
- Open Burp β Extender β Extensions β Add
- Select Extension type: Java
- Load
build/PacketMinify.jar
- In Burp's HTTP history or Repeater, right-click a request.
- Select Send to PacketMinify.
- Open the PacketMinify tab to view:
- Original request
- Minimized request
- Logs of which parts were deemed essential
- The minimized request is automatically sent to Repeater.
PacketMinify performs the following steps:
- Extract Parts: Headers, cookies, query params, and body are parsed into
PacketPartobjects. - Test Essentials: Each part is temporarily removed and the modified request is sent. If the response changes, the part is marked essential.
- Reconstruct Request: Only essential parts are used to rebuild the minimized packet.
- Dispatch to Repeater: The minimized request is sent to a new Repeater tab for further inspection.
- Compare Responses: If the minimized packet fails to replicate the original response, the extension flags the flow as βinterestingβ β suggesting deeper manual analysis.
When the final minimized packet does not yield the same response as the original, PacketMinify enters a symbolic diagnostic mode. This often reveals interdependent headers like Origin and Referer, which may appear non-essential in isolation but are jointly required.
Such flows are ideal for handy analysis, allowing the user to:
- Observe fallback logic and header interdependence
- Decode server-side rituals and tolerance thresholds
- Refine attack logic based on symbolic packet behavior
- Kave β Mythic system architect and diagnostic ritualist
- Microsoft Copilot β Co-creative AI companion
This project is released under the MIT License. Use it, adapt it, narrate it.