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

Create menu bar doesn't work

Bajii0 | Last updated: Jul 18, 2023 08:50AM UTC

Hello, I'm currently creating a Java extension with Montoya API and I can't make spawn a menu bar. I tried to copy/paste the example code from the github but nothing happened. Did I correctly understand ? The menu bar should be on the side of the 'Extensions' or 'Learn' menu right ? Do you know any other project using Montoya API (I know how to do it without API, with previous system) that create a menu bar so I could check their code ?

Hannah, PortSwigger Agent | Last updated: Jul 18, 2023 09:25AM UTC

Hi. The menu bar you are referring to should add a top-level menu item. This is alongside "Burp", "Project", "Intruder", "Repeater", "View" and "Help". If you're looking to add a new tab to Burp, then you would want to use UserInterface.registerSuiteTab(). An example of an extension that adds a new tab to Burp can be found here: https://github.com/PortSwigger/burp-extensions-montoya-api-examples/tree/main/customlogger

Bajii0 | Last updated: Jul 18, 2023 09:38AM UTC

Ok, it helps me a lot thank you very much !

Bajii0 | Last updated: Jul 18, 2023 09:56AM UTC

By any chance, do you have example of something more "active", for example a button that could run a scan with options being checked above it ?

Hannah, PortSwigger Agent | Last updated: Jul 19, 2023 08:33AM UTC