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

System.exit() kills Burp

August | Last updated: Jun 25, 2019 09:38PM UTC

I'm building an extension that will call a Java command line program from within Burp (by calling the main() method). Unfortunately, when the command line tool finishes, it calls System.exit(0); which doesn't just kill the CLI, it also kills Burp entirely. Is there a way to prevent this in Burp? As a side question, when extensions are submitted to the BApp Store do you check for things like malicious calls to System.exit()?

PortSwigger Agent | Last updated: Jun 26, 2019 10:38AM UTC