Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Saving HttpRequestResponse to file

swagneto 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)


Paul Johnston Oct 31, 2018 08:45AM UTC Support Center agent

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


swagneto 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?

swagneto 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.

Paul Johnston Nov 01, 2018 10:48AM UTC Support Center agent

The temp file is in the user’s temp directory. It sounds like you want to manually write it to a file.

There are a few extensions that save requests/responses to databases, including Elastic Burp and Log Requests to SQLite


Post Your public answer

Your name
Your email address
Answer