Burp Suite User Forum

Create new post

Modify a response status code

Simon | Last updated: May 17, 2017 04:04PM UTC

Hi, Is it possible within a burp extension to change a responses status code? Or if not, is it possible within a burp extension to intercept a request (not a response) and generate an entire fake response instead of sending response on to its original destination? many thanks, simon hurley

PortSwigger Agent | Last updated: May 18, 2017 07:42AM UTC

1. Yes, you can update any part of the response, including the status code. 2. It isn't currently possible to do this in a graceful manner. A hack is to redirect the target host of a request, point it at a local web server, and either serve the fake response from the server or intercept the response in your extension and change it there.

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