Burp Suite User Forum

Login to post

How to highlight the tab of an extension?

rustywine | Last updated: Nov 03, 2020 07:43AM UTC

Hi, I am working on an extension which has its own tab, it uses regex to search for a specific pattern in an HTTP response. I want to notify the BurpSuite user once the pattern is found, just like what `Proxy` tab does when inception is on and a new HTTP request comes. So, I tried to change the tab color of the extension tab. But I searched the BurpSuite Extender API (https://portswigger.net/burp/extender/api/), I noticed that the `ITab` interface only defines two functions: `getTabCaption` and `getUiComponent`. But I have no idea how to change the tab color using the two functions. By the way, I tried to use the IBurpExtenderCallbacks.IssueAlert function to notify the user, but this function has only one parameter to indicate the massage, there is no parameter to indicate the alert type. which means I can only create an IssueAlert which type is `Info`, but what I want is `error`. Could you please give me more information about how to highlight the extension tab? Thank you so much!

Hannah, PortSwigger Agent | Last updated: Nov 03, 2020 09:26AM UTC

Taborator would be a good example of an extension that provides alerts in the tab - you could take a look at how Gareth has done this here: https://github.com/portswigger/taborator Additionally, you can find the source code for all BApp Store extensions here: https://github.com/PortSwigger You could also provide a custom issue when your specific pattern has been found.

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