API function to change Response on the fly
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.
Yes, if you implement IHttpListener, within processHttpMessage you can modify the response using messageInfo.setResponse. You can also do this in IProxyListener.