Burp Suite User Forum

Login to post

Default location for saving content

Robin | Last updated: Aug 09, 2021 02:11PM UTC

I'm working on updating this extension initially created by Hannah. https://github.com/digininja/SaveBrowsingImages I've created a config tab so the user can specify where to save the files but was wondering what I should use as the default location. I need something that will work for users of all platforms so can't use ~ or c:\. What is the standard?

Hannah, PortSwigger Agent | Last updated: Aug 09, 2021 02:58PM UTC

Hi Robin Have you considered using IBurpExtenderCallbacks.getExtensionFilename()? It should return the absolute path name of the file from which the current extension was loaded.

You need to Log in to post a reply. Or register here, for free.