Burp Suite User Forum

Create new post

Match all 302 Response Headers and Modify to 200 OK

Matthew | Last updated: Aug 31, 2023 11:14AM UTC

Is there a way I can create a match and replace rule that matches all 302 headers and modifies them to a 200 OK within Burp?

Michelle, PortSwigger Agent | Last updated: Aug 31, 2023 02:28PM UTC

Can you tell us more about your scenario and what you want to change? What else in the response would you want to alter? Are you looking to mock up a response? If so, would the HTTP Mock extension from the BApp Store be helpful? https://portswigger.net/bappstore/42680f96fc214513bc5211b3f25fd98b

Gonzalo | Last updated: Mar 20, 2024 09:43PM UTC

Hi Matthew, I developed an extension that does practically what you indicate. https://github.com/6h4ack/200-OK-Modifier

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