Burp Suite User Forum

Create new post

Pause scanner from extension

August | Last updated: Dec 18, 2019 07:37AM UTC

Is there any API to pause the scanner from an extension? For example, let's say you are scanning an API with a rate limiter, and your extension can detect that you are getting close to the limit, can it pause the scanner to avoid being blocked?

Hannah, PortSwigger Agent | Last updated: Dec 18, 2019 01:59PM UTC

Sorry, there is still no way to pause the scanner from an extension. As noted in https://support.portswigger.net/customer/portal/questions/17061862-method-to-pause-unpause-scanner it may be possible for you to work around this using thread locking. On a global scale, you can also set your Resource Pool configuration to add delays between requests or set the maximum concurrent requests for a new scan.

Burp User | Last updated: Dec 27, 2019 12:33AM UTC

"add delays between requests or set the maximum concurrent requests for a new scan" Can that be done programmatically? I could set the delay between requests to 10 years and that would be functionally the same as pausing the scanner...

Hannah, PortSwigger Agent | Last updated: Dec 31, 2019 11:25AM UTC

I don't believe it can. It's normally set when you start a new scan (Dashboard > New scan > Resource pool > Delay between requests). You could use IBurpextenderCallbacks.exitSuite() to close down Burp Suite, which would definitely stop the scanner. You can see our full API documentation at https://portswigger.net/burp/extender/api/index.html

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.