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

How does saveBuffersToTempFiles() work?

wohclams | Last updated: Apr 29, 2021 03:07PM UTC

I'd like to save requests/responses to temp files as part of an extension and so I'm looking for a bit more info on how saveBuffersToTempFiles() works. It sounds like calling the method saves the IHttpRequestResponse object to a temp file. How am I then supposed to work with that temp file? Is the intention that I keep a reference to the returned IHttpRequestResponsePersisted and use that going forward to pull data from the temp file? Where is the temp file stored? Is it associated with the current project? If Burp is closed and relaunched, is there any way for me to access, or "load," that temp file again?

Hannah, PortSwigger Agent | Last updated: Apr 30, 2021 03:48PM UTC