burp command line
I would like to bring up BURP using command line (without any GUI) for automation.
Is there a way to bring it up without a project file? If I do not specify the project file on the command line, it will bring up GUI which I do not want to see.
java -jar -Djava.awt.headless=true -Xmx1g burpsuite_file.jar --config-file=file1 --config-file=file2
If you launch Burp in headless mode then it won’t show a GUI ever. It will load with a default temporary project unless you specify a project file.
Try moving -Djava.awt.headless=true to straight after your java command.
java -jar -Xmx1g burpsuite_file.jar -Djava.awt.headless=true --config-file=file1 --config-file=file2
Give it a try and find out, otherwise try:
java -Djava.awt.headless=true -Xmx1g -jar burpsuite_file.jar —config-file=file1 —config-file=file2
Do you find a way to run burp without UI?
Did you try -Djava.awt.headless=true ? That works fine for us. If it’s not working for you, please describe exactly what you’re seeing, including the precise command line.