Burp Suite User Forum

Create new post

Has the new MontoyaAPI removed the saveExtensionSettings and the loadExtensionSettings method

Rahul | Last updated: Jun 20, 2024 06:17AM UTC

Hi, I am trying to develop a Burp Suite extension, and the work is almost done. Now, I need to implement a persistent way to store the data used in the extension. I did try the PersistedObject to do the same, and I have to say that it does do the job. However, when I restart Burp Suite, the data is no longer persistent. Is there an option similar to the saveExtensionSetting and loadExtensionSetting methods?

Hannah, PortSwigger Agent | Last updated: Jun 20, 2024 09:00AM UTC

Hi The Montoya API has more persistence functionality than the old Extender API. You have the following: - PersistedObject - Stores data at the project file level - Preferences - Stores data at a user level, so will be present across different project files Preferences is the most similar to the Extender API's "saveExtensionSetting" and "loadExtensionSetting". Hope that helps!

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