The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

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