Burp Suite User Forum

Create new post

Extend Repeater to update another header file

Brandon | Last updated: May 07, 2017 04:25PM UTC

I have a web application that expects a header value that is a hash of the contents of the POST body and an HMAC. I'd like to extend the Repeater tab similarly to how the Content-Length is automatically updated when the body modified, but for another header. I'm not sure if this is something I can accomplish with the Burp extender API.

PortSwigger Agent | Last updated: May 08, 2017 10:05AM UTC

Yes, you could do this with a custom editor tab. Register your own IMessageEditorTab which will appear in the message editor. Within your editor tab, use an ITextEditor to do the actual editing. Then you simply need to implement some logic to update the custom header when the message is returned to Burp.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.