Support Center

Burp Community

See what our users are saying about Burp Suite:

How do I?

New Post View All

Feature Requests

New Post View All

Burp Extensions

New Post View All

Bug Reports

New Post View All
Documentation

Burp Suite Documentation

Take a look at our Documentation section for full details about every Burp Suite tool, function and configuration option.

Full Documentation Contents Burp Projects
Suite Functions Burp Tools
Options Using Burp Suite
Extensibility

Burp Extender

Burp Extender lets you extend the functionality of Burp Suite in numerous ways.

Extensions can be written in Java, Python or Ruby.

API documentation Writing your first Burp Suite extension
Sample extensions View community discussions about Extensibility
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