Burp Suite User Forum

Create new post

Getting Error when trying to start buro in headless mode using headless burp scanner

SINGH | Last updated: Jul 23, 2021 06:24AM UTC

Hi Team, I am using the below commands. "C:\Program Files\Java\jdk-15.0.2\bin\java.exe" -Xmx1G -Djava.awt.headless=true -classpath burpsuite_pro.jar burp.StartBurp --unpause-spider-and-scanner --project-file=project.burp -c config.xml WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by burp.gq_ (file:/D:/EarlyAdopter/burpsuite_pro.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of burp.gq_ WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release It is getting stuck at this point for a long. Also when using the below command "C:\Program Files\Java\jdk-15.0.2\bin\java.exe" -Xmx1G -Djava.awt.headless=true -classpath headless-burp-scanner-master-SNAPSHOT-jar-with-dependencies.jar:burpsuite_pro.jar burp.StartBurp --unpause-spider-and-scanner --project-file=project.burp -c config.xml -v Error: Could not find or load main class burp.StartBurp Caused by: java.lang.ClassNotFoundException: burp.StartBurp Getting this error. Kindly help

Hannah, PortSwigger Agent | Last updated: Jul 23, 2021 09:33AM UTC

Hi Limiting Burp's heap size to 1GB is a rather low amount. Could you try increasing this to 4GB? What is the version of Burp you are using? Are you using Burp with an extension for your second command?

SINGH | Last updated: Jul 23, 2021 11:53AM UTC

Tried with 4GB options facing the same issue in both commands I am using early adopter version v2021.7.2-8935 Yes for the second command I am using burp with extension loaded

Hannah, PortSwigger Agent | Last updated: Jul 26, 2021 03:32PM UTC

Unfortunately, any issues with the extension will need to be raised with the extension's author, as we are limited in how we can support third-party extensions. For your first command, have you had a look at our instructions for launching Burp from the command line? You can find these here: https://portswigger.net/burp/documentation/desktop/getting-started/launching/command-line This includes the arguments that you can use when launching Burp. As you are launching Burp headlessly, there will not be much output to the command line. This is because the majority of Burp's features rely on the GUI. You can check whether Burp is running by going to http://burpsuite (or 127.0.0.1:8080) in your browser and seeing if you receive the appropriate Burp page.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.