Burp Suite User Forum

Create new post

Need to export burp states in mass

Josh | Last updated: Apr 07, 2021 02:31PM UTC

I have over several TBs of different burp states i need to analyze the raw data. Is there a command line switch or extension that can i export all these states to XML. I know i can this through the UI but I need to script it. i need something that can do something like: ls | xargs ./burp.jar --export

Hannah, PortSwigger Agent | Last updated: Apr 08, 2021 02:39PM UTC

Hi

There is no way to do this from the command line.

I've made a quick extension for you that will generate an XML report for you automatically when you load a project (and when the extension is loaded) - that should make your process a bit quicker.

Please replace the variable pathString with the appropriate filepath for your system - I used the datetime module as part of the filename so that you will have unique reports for each project, but you could change this to do something different!

You can find the extension here

You could also try modifying it to use IBurpExtenderCallbacks.getCommandLineArguments() instead of running automatically on load.

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