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

Burp project launched through command line not loading sitemap

Ashish | Last updated: May 19, 2022 09:49AM UTC

Hi, I have got the sitemap created for a project using the execution of a few automation test suites by providing chrome proxy details to it. I saved the burp project with all the data of sitemap, user options, project options etc. Now when I am opening this burp project file by double clicking it, it loads the sitemap correctly with all the other details as was saved with. But when I try to open the project file through command line using a powershell script, the sitemap doesn't load and it always shows empty sitemap. The command I am using is as below: $ArgList = '-jar -Xmx4g "C:\Program Files\BurpSuitePro\burpsuite_pro.jar" --project-file=' + $ProjectFileFullPath + ' -config=' + $ProjectOptions + '--unpause-spider-and-scanner' $java="C:\Program Files\Java\jdk-15.0.2\bin\java" $App = Start-Process $java -ArgumentList $ArgList Here, $ProjectFileFullPath is the path of .burp file. Please advise on how can we resolve this issue as we are in the process of automating the burp scans. Thanks and Regards Ashish Kulkarni

Hannah, PortSwigger Agent | Last updated: May 19, 2022 10:34AM UTC

Hi Ashish

Could you try changing "-config" to "--config-file" in your $ArgList?

If you try running the command outside of the PowerShell script (substituting in appropriate variables), does Burp successfully launch?

You can find the full list of command-line arguments to use with Burp here.

Ashish | Last updated: May 19, 2022 11:05AM UTC

Hi Hannah, We tried with "--config-file" as well yesterday but didn't work and sitemap didn't get loaded. We tried running the burp project file through command prompt but that also didn't work. I will refer your link and see if anything can be used from it. Also, the java program which I am using is the installed java file on the system, is it so that I need to use the java.exe which comes with Burp installation found at "C:\Program Files\BurpSuitePro\jre\bin"? Regards Ashish Kulkarni

Hannah, PortSwigger Agent | Last updated: May 20, 2022 03:19PM UTC