Support Center

Burp Community

See what our users are saying about Burp Suite:

How do I?

New Post View All

Feature Requests

New Post View All

Burp Extensions

New Post View All

Bug Reports

New Post View All
Documentation

Burp Suite Documentation

Take a look at our Documentation section for full details about every Burp Suite tool, function and configuration option.

Full Documentation Contents Burp Projects
Suite Functions Burp Tools
Options Using Burp Suite
Extensibility

Burp Extender

Burp Extender lets you extend the functionality of Burp Suite in numerous ways.

Extensions can be written in Java, Python or Ruby.

API documentation Writing your first Burp Suite extension
Sample extensions View community discussions about Extensibility
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Burp main jframe

Mehrdad 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.


Paul Johnston Aug 24, 2017 02:20PM UTC Support Center agent

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.


Paul Johnston Aug 25, 2017 03:26PM UTC Support Center agent

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:

    Frame getBurpFrame() 
    {
        for(Frame f : Frame.getFrames())
        {
            if(f.isVisible() && f.getTitle().startsWith(("Burp Suite")))
            {
                return f;
            }
        }
    }

Mehrdad Sep 04, 2017 06:40AM UTC
Thanks for response. :)

Post Your public answer

Your name
Your email address
Answer