Burp Suite User Forum

Create new post

How Does Burp Handle Responses?

fenceposterror | Last updated: Aug 06, 2015 08:24AM UTC

Hi, I hope this is not a duplicate question, but I couldn't find the response to it. I wonder if it is worth checking if the response I'm analyzing for the PDF Metadata Extension is actually a PDF file before reading the response. Does Burp read the whole answer with response = self._requestResponse.getResponse() already? If yes, is the impact on resources high enough that it is worth checking as well as possible the request if it is likely that the response is a pdf?

PortSwigger Agent | Last updated: Aug 10, 2015 08:20AM UTC

At the point your extension is called (via an IHttpListener or IProxyListener), Burp has already fully processed the response, and this is being held in current memory. So there is no overhead in your calling the getResponse() method to obtain the full response.

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