Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

API function to change Response on the fly

jack Apr 16, 2018 06:47AM UTC

Hi

I'm aware of Match and Replace feature to change response on the fly. But is there a way to do it from plugin API ?

I'm looking at potential API https://portswigger.net/Burp/extender/api/burp/IHttpRequestResponse.html#setResponse(byte[])

Please correct me if I'm wrong.


Paul Johnston Apr 16, 2018 07:17AM UTC Support Center agent

Hi,

Yes, if you implement IHttpListener, within processHttpMessage you can modify the response using messageInfo.setResponse. You can also do this in IProxyListener.


Post Your public answer

Your name
Your email address
Answer