Burp community forum

start burp from perl script

hong | Last updated: Dec 19, 2015 08:03PM UTC

Hi, I try to start burp from a simple PERL script. Then do some tests after burp starts. my $cmd = "java -Xmx1g -Djava.awt.headless=true -jar \"c:\\BURP\\burpsuite_free_v1.6.30.jar \" 1> null 2>&1"; print "start burp with commnd: $cmd\n"; my $ret = `$cmd`; print "burp started: $ret\n"; #test(); exit 0; I can see burp started, but I am not able to make the script to go to next line to print "burp started". Do I need something else? Thanks for help!

PortSwigger Agent | Last updated: Dec 22, 2015 01:07PM UTC

The command to launch Burp will only return when Burp exits. It looks like you need to fork another process when you launch Burp. You can generally do this by adding an ampersand to the end of the command that launches Burp.

You need to Log in to post a reply. Or register here, for free.