Burp Suite User Forum

Create new post

Extender API -- How to get a Scan complete flag ?

araki | Last updated: Feb 20, 2023 08:45AM UTC

I want a callback to my extension when any Scan is completed. For example, I want to send a notification through SNS etc. when the scan is completed. Is it possible to get the flag when the scan is completed? I saw the question below. Not resolved. IScanQueueItem.getStatus() should doActiveScan(). I want to get the start and end flags of all scans that do not go through an extender. Is this possible? https://forum.portswigger.net/thread/extender-api-callback-on-active-scan-completed-8dd0bebf

Hannah, PortSwigger Agent | Last updated: Feb 21, 2023 09:51AM UTC

Hi It is not possible to get the start and end flags of all scans that are in Burp. This is because the Montoya/Extender API only has a reference to scans that they have started. The same also applies for the REST API. You could register an HttpHandler/IHttpListener that records the timestamp of the last item originating from the Scanner that has passed through Burp, and then after a specific amount of time concludes the scan has finished?

araki | Last updated: Feb 22, 2023 09:22AM UTC

> It is not possible to get the start and end flags of all scans that are in Burp. This is the information I wanted to know. Thank you for response.

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