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

Montoya exportUserOptionsAsJson unloading all extensions

Tyler | Last updated: May 02, 2023 03:32PM UTC

Hey, I've noticed that when I call exportUserOptionsAsJson, the key "loaded" is always false, meaning if I then reload it into Burp Suite all the extensions are unloaded. If I export it via the UI, the loaded value is correct to the Extensions -> Installed tab. Is this intended behaviour or is this a bug? Thanks

Tyler | Last updated: May 02, 2023 03:49PM UTC

I've determined what the problem is and it's a layer 8 issue. If you load the file before the extensions have a chance to load, it will mark them as false which makes sense. So I can just add a timer in to try get the extensions loaded first. The only downside to this is the user's extensions suddenly re-load after 10 seconds. It would be useful to know the persisted state of whether or not an extension should be loaded or not to avoid this. Thanks!

Hannah, PortSwigger Agent | Last updated: May 04, 2023 10:06AM UTC

Hi Have you tried moving your extension so that it is the final one in the list? This should mean that your extension is loaded last, so any previous extensions will have already finalized their state.

Tyler | Last updated: May 04, 2023 03:39PM UTC