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

Launch burpsuite_pro.zar from command line C#

Vinay | Last updated: Mar 04, 2019 01:09PM UTC

Hi support, I want to integrate burp into our exitsing automated regression suite which is written in C# using visual studio. I am thinking of doing below : 1. Launch burp from zar file from command line. 2. Call the burp rest api available to start the scan , get status etc. I am able to launch the it manually from command line in UI mode. But i want to launch it from Visual Studio and in headless mode. When I am using --headless.mode="true". The command prompt says : Invalid command. Please provide me a sample to launch burp in headless mode i.e non GUI mode from Visual Studio.

PortSwigger Agent | Last updated: Mar 04, 2019 01:42PM UTC

The usual way to launch Burp headless is: bc. java -Djava.awt.headless=true -jar burpsuite_pro.jar Try this in a command prompt and once you've got it working, the same should work in Visual Studio.

Burp User | Last updated: Mar 06, 2019 01:30PM UTC

Paul, Thanks , it worked for me. I am now able to access the rest api as well. But don't know how to get the response in xml format. Please see below my calls: I want this in xml format. HttpWebRequest request = WebRequest.Create("http://127.0.0.1:1337/v0.1/knowledge_base/issue_definitions") as HttpWebRequest; HttpWebResponse response = request.GetResponse() as HttpWebResponse;

PortSwigger Agent | Last updated: Mar 06, 2019 01:31PM UTC