Burp Suite User Forum

Login to post

How to doActiveScan by use the specified IscannerCheck?

fa1ntStar | Last updated: Jul 19, 2022 01:51PM UTC

Hello I have write some active scan rules by implements IscannerCheck#doActiveScan. Sometimes I want to scan the items by use the specified IscannerCheck, but when I use callback.doActiveScan the all IscannerChecks will be called. How can I implements it?

Hannah, PortSwigger Agent | Last updated: Jul 19, 2022 02:42PM UTC

Hi When implementing IScannerCheck.doActiveScan(), this means that you have provided the Scanner with an additional check to perform. This is used when running a scan under "Scan configurations > Auditing > Issues reported > Extension-generated scan checks". IBurpExtenderCallbacks.doActiveScan() will trigger an active scan to be performed by the scanner - this will also include any additional Scanner checks registered by an extension, if these are present. There is no way to adjust your scan configuration from the Extender API, as this is a user-configurable option. You can find some examples of an extension that registers an additional scan check here: https://github.com/PortSwigger/example-scanner-checks

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