How to use "burpSuite().shutdown()" correctly with burp headless? #28
-
Hi, I am writing a plugin for burp pro (which is intended to be run in --headless in the context of the plugin). I am using How can I change that behavior? -> I checked https://github.com/PortSwigger/burp-extensions-montoya-api/blob/main/src/main/java/burp/api/montoya/burpsuite/ShutdownOptions.java but I was not really able to figure out how to work with PROMPT_USER. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi If you would like Burp to shut down without prompting the user, you would use If you would like it to prompt the user prior to shutting down, you would use Is your extension reaching your shutdown statement? |
Beta Was this translation helpful? Give feedback.
Hi
If you would like Burp to shut down without prompting the user, you would use
api.burpSuite().shutdown();
.If you would like it to prompt the user prior to shutting down, you would use
api.burpSuite().shutdown(ShutdownOptions.PROMPT_USER);
.Is your extension reaching your shutdown statement?