vmware / burp-rest-api

REST/JSON API to the Burp Suite security tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to Get Scan Status

choua013 opened this issue · comments

Hi,
I've successfully set this API up on my machine have created a jenkins job that allows me to add a URL to scope and then run an active scan on it. I've also created a groovy script that will loop until the status of the scan shows as complete (i.e. 100). For this, I'm using http://[IP_ADDRESS]:[PORT]/burp/scanner/status and once the status shows as complete, the request to retrieve the report is sent.
This wasn't working and I thought this was due to my script, but I then tried to execute this request through the Swagger UI as well as Postman, but I was getting the same results.
The 'scan percentage' is always 0, even when I can see in Burp Suite that the Audit has completed (or it's been in progress for a while).
Not sure what's going on here, any help would be much appreciated.

FYI, You can use the official Burp Rest API for that.

Hi @tristanlatr and @choua013,

Greetings!

I'm also stuck in the same situation. I always getting scanPercentage as '0' with curl -X GET "http://localhost:8090/burp/scanner/status" -H "accept: /".

I think the Burp Rest API comes with only Burp enterprise edition.
I'm using Burp pro version with vmware's burp-rest-api v2.1.0. And this cannot work with Burp enterprise edition.
Please correct me if i'm wrong.

Is there any other alternate work around to get scan status in Burp pro version with vmware's burp-rest-api v2.1.0 ?

The Burp suite REST API is available to the pro version I believe. (The entreprise version includes some SAAS management platform)

I’d suggest you to use burpa, a high level python client for burp suite APIs. Burpa will use both official API to launch the scan and this extension API to generate the html report.

This issue is fixed in master.

Hi @ikkisoft
Thanks a lot for the fix!

Hi @ikkisoft,
I have checked the issue.
Now its resolved. Thanks for the support on time.

Burp_API_ScanPercentage