The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Saving HttpRequestResponse to file

JP | Last updated: Oct 30, 2018 09:03PM UTC

I noticed that there's a method called saveBuffersToTempFiles() that says that it allows saving of HttpRequestResponse objects to a file. Is there anymore information on how to use this? I haven't been able to successfully use it. Is there an alternative way to save the state of extensions using this method or a less hacky way without using addToSiteMap()? https://portswigger.net/burp/extender/api/burp/IBurpExtenderCallbacks.html#saveBuffersToTempFiles(burp.IHttpRequestResponse)

PortSwigger Agent | Last updated: Oct 31, 2018 08:24AM UTC

What trouble are you having using it? It should transparently save the request and response into a project file, and it works for me.

Burp User | Last updated: Oct 31, 2018 04:27PM UTC

I'm using the method, but I don't see the temporary file that gets made. Or do I manually have to write to a file?

Burp User | Last updated: Oct 31, 2018 05:55PM UTC

I'm also wondering if the data can be stored into a DB for later usage and can be used to load up data between sessions.

PortSwigger Agent | Last updated: Nov 01, 2018 10:47AM UTC