Burp Suite User Forum

Can't modify scanner issues context menu

Ergotu | Last updated: May 15, 2018 07:40AM UTC

When I try to add a context menu entry to the scanner issues context menu, nothing shows up, it also does not return a InvocationContext when I right click on the scanner issues.

PortSwigger Agent | Last updated: May 15, 2018 07:42AM UTC

Hi, There are two slightly different context menus for issues, depending on whether you're in Issue Activity or Site Map. You can't add to Issue Activity, but you can add to the site map context menu. If you look in the code for IContextMenuInvocation there are constants for the different values that getInvocationContext() can return.

Burp User | Last updated: May 15, 2018 10:30AM UTC

Thanks for your response, according to the documentation for the extension api, there should be a constant for the scanner results context, CONTEXT_SCANNER_RESULTS, however, this context never shows up in any of my testing. So I don't know if this part of the api just isnt working, or if i'm misunderstanding what this constant is supposed to be for. https://portswigger.net/burp/extender/api/burp/IContextMenuInvocation.html

PortSwigger Agent | Last updated: May 15, 2018 10:35AM UTC

Hi Ergotu, CONTEXT_SCANNER_RESULTS occurs if you right-click an issue within Target > Site Map > Issues.

Burp User | Last updated: May 15, 2018 10:43AM UTC

Oh, thank you very much

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