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

Associating an outgoing request with its response

Justin Moore Sep 19, 2017 01:21AM UTC

Hey,

Is there an easy way to associate a request going through the processHttpMessage of a registered IHttpListener with the response that comes back later?

Thanks,
Justin


Paul Johnston Sep 19, 2017 08:28AM UTC Support Center agent

Hi Justin,

Thanks for your message. The easiest way at present is to take a hash of the request. Keep a Map within your extension which maps hash(request) to the data you need to track. When a response comes back, you can look call getRequest(), calculate the hash, and fetch the data from the map.

I realize this isn’t ideal. We’ve had a few requests to provide a unique ID on each IHttpRequestResponse. That’s on the development backlog.

Please let us know if you need any further assistance.


Justin Moore Sep 19, 2017 02:21PM UTC
Hey Paul,

Thanks for the fast response. I was planning on going that route but wanted to make sure there wasn't something provided first.

Thanks,
Justin

Post Your public answer

Your name
Your email address
Answer