The restore function replaces Burp's state with an empty state file#4
The restore function replaces Burp's state with an empty state file#4blangus wants to merge 1 commit intovmware-archive:masterfrom
Conversation
|
@blangus, your company's legal contact has approved your signed contributor license agreement. It will also be reviewed by VMware, but the merge can proceed. |
|
@blangus, VMware has approved your signed contributor license agreement. |
|
@blangus As you said, restoreState is the best solution currently to clear the history and state of Burp without restarting the program. However, as per Burp API Javadoc, the restoreState method is deprecated. Even we're looking for a better solution without having to use the deprecated restoreState method as this method may be removed anytime soon. In our CI setup, we create a new project file for each build using the project-file argument, something like below. |
|
I will close this PR for now. Mainly due to the fact it uses a deprecated method. |
I've tried to find a way to clear the history and state file of Burp without restarting the program. This is the best solution I came up with. I've created an empty state file (cleanstate) which restores the current state file of Burp when /restore is called. It is not an ideal solution, if someone has an better idea I am open for suggestions.