The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Custom extension not marking requests as "Edited"

Graeme | Last updated: Nov 03, 2022 01:07PM UTC

I've made an extension in Python that generates and inserts a custom header into all HTTP requests, and it works as-in the custom header is added correctly, but the requests do not have an Edited and Original version. All I see in Burp is the Original request. My plugin registers an HTTP listener and inside processHttpMessage() it replaces the entire request using messageInfo.setRequest(). Is there something else I should do for Burp to see the message as "Edited"?

Hannah, PortSwigger Agent | Last updated: Nov 03, 2022 03:22PM UTC