Burp Suite User Forum

Login to post

Burp API

Ihor | Last updated: 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, PortSwigger Agent | Last updated: Nov 11, 2019 03:10PM UTC

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.

Burp User | Last updated: Nov 12, 2019 08:27AM UTC

Yes, sure

You need to Log in to post a reply. Or register here, for free.