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

Burp main jframe

Mehrdad | Last updated: Aug 24, 2017 01:25PM UTC

Where can I access a reference to Burp's main JFrame? It's required for displaying JDialogs relative to it.

PortSwigger Agent | Last updated: Aug 24, 2017 01:59PM UTC

Hi Mehrdad, Thanks for your inquiry. If your extension implements ITab, the component you return from getUiComponent() is added to the hierarchy, and you can use getParent() repeatedly to get to the frame. Perhaps there should be a dedicated API method for this. We'll discuss that internally and get back to you.

PortSwigger Agent | Last updated: Aug 24, 2017 02:20PM UTC

Hi, I think we are going to add this, but not until we do a more major refactor of the API. In the meantime, if you don't have an ITab, you can use this code: bc. Frame getBurpFrame() { for(Frame f : Frame.getFrames()) { if(f.isVisible() && f.getTitle().startsWith(("Burp Suite"))) { return f; } } }

Burp User | Last updated: Sep 04, 2017 06:40AM UTC