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

Get the type of check being performed by the scanner using a BurpExtender script

Doar | Last updated: Jun 26, 2018 11:45AM UTC

Hi, When implementing a BurpExtender script, and specifically a http listener, I know i can check if the Scanner generated the http message like so: def processHttpMessage(self, toolFlag, messageIsRequest, messageInfo): assert self._callbacks.getToolName(toolFlag) == 'Scanner' My question is: is there a way to get the *specific check* being performed by the Scanner which generated this http message? Thanks!

PortSwigger Agent | Last updated: Jun 26, 2018 12:42PM UTC

Hi Doar, Thanks for getting in touch. Unfortunately, there's no way to get that information with the current API. In the future we do plan to redesign the API. We're thinking about replacing the toolFlag parameter with a requestContext object that would contain more information - and potentially including the current scan check. However, this is likely to be some time away. In the meantime, can I ask what you wanted to do? There may be a workaround we can suggest.

Burp User | Last updated: Jun 26, 2018 01:38PM UTC