Burp Suite User Forum

Create new post

Stop scanning form API call

Sudhir | Last updated: Aug 24, 2016 07:10AM UTC

Hi, Is there any API to stop scanning and start scanning. I want to stop scanning when session is invalidated and resume on proper sessions. How can I achieve this. Regards, Sid

PortSwigger Agent | Last updated: Aug 24, 2016 08:48AM UTC

There isn't an API to pause or unpause the Scanner. But for this purpose it would be easy enough for you to hook all requests made by Burp, and stall any requests that happen while a session is invalid, then continue with those requests when the session is restored. For example, you could acquire a lock when session recovery is underway, and when handling each request acquire and release the lock before issuing the request.

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