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

CONTEXT_TARGET_SITE_MAP_TABLE is never accessible from IContextMenuFactory

Gabriele | Last updated: Dec 08, 2020 09:36AM UTC

I am developing a Python extension that uses IContextMenuFactory. I would like to add a menu item for the following contexts: CONTEXT_TARGET_SITE_MAP_TABLE and CONTEXT_TARGET_SITE_MAP_TREE. In theory CONTEXT_TARGET_SITE_MAP_TABLE should be available when the sitemap is empty, and CONTEXT_TARGET_SITE_MAP_TREE is available when the sitemap contains at least one element. If the above statement is correct, there is a problem with CONTEXT_TARGET_SITE_MAP_TABLE: it is never accessible. To reproduce the problem just write a simple extension in python that prints IContextMenuInvocation / getInvocationContext() from createMenuItems(). Thanks, Gabriele

Hannah, PortSwigger Agent | Last updated: Dec 08, 2020 01:21PM UTC

Hi Gabriele Could you check whether CONTEXT_TARGET_SITE_MAP_TABLE refers to the "Contents" table on the Site Map tab, rather than an empty tree panel?

Gabriele | Last updated: Dec 10, 2020 10:48AM UTC

Hi, it looks the same context, so don't works.

Hannah, PortSwigger Agent | Last updated: Dec 11, 2020 04:11PM UTC