Skip to content

Instantly share code, notes, and snippets.

@pajswigger
Created April 24, 2018 11:26
Show Gist options
  • Save pajswigger/198a4e6fc95b1c4b3c764d1dadd99622 to your computer and use it in GitHub Desktop.
Save pajswigger/198a4e6fc95b1c4b3c764d1dadd99622 to your computer and use it in GitHub Desktop.
static JFrame getBurpFrame()
{
for(Frame f : Frame.getFrames())
{
if(f.isVisible() && f.getTitle().startsWith(("Burp Suite")))
{
return (JFrame) f;
}
}
return null;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment