Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Burp API

Ihor Nov 11, 2019 03:06PM UTC

Hi, team! I want to automate BurpSuite scans using burp's REST API (https://portswigger.net/blog/burps-new-rest-api) but receive errors when sending requests to start the scan. I run burp in headless mode.

My request looks like below:
```
curl -X POST http://127.0.0.1:1337/<my_api_token_here>/v0.1/scan -d '{"scan_configurations":[{"config":"my-config","type":"CustomConfiguration"}],"scope":{"include":[{"rule":"http?.*localhost:3000.*"}],"type":"SimpleScope"},"urls":["http://localhost:3000/search"]}'
```

Every time I send this request to the Burp I receive this error: {"type":"ClientError","error":"Not all seed URLs are in scope"}

Thanks in advance! P.S. Are there any references to request examples?


Liam Tai-Hogan Nov 11, 2019 03:12PM UTC Support Center agent

Can you send us a screenshot of the set up you have used to run this scan?

Could you send us the config file?

You can email us at support@portswigger.net. Thanks.


Ihor Nov 12, 2019 08:27AM UTC
Yes, sure

Post Your public answer

Your name
Your email address
Answer