Burp Suite User Forum

Create new post

IntelliJ Idea not resolve burp suite class

james | Last updated: Jan 23, 2017 08:47AM UTC

I`m create in Idea java project, save burp interface file into project but IDE no resolve burp classes. I`m know that is question about specific IDE, but I search best way to write extension. Folder structure . +-- src ¦   +-- burp ¦   ¦   +-- burp ¦   ¦   +-- IBurpCollaboratorClientContext.java ¦   ¦   +-- IBurpCollaboratorInteraction.java ¦   ¦   +-- [.......] ¦   ¦   +-- [.......] ¦   ¦   +-- ITempFile.java ¦   ¦   +-- ITextEditor.java ¦   +-- BurpExtender.java +-- tree.txt +-- untitled.iml 3 directories, 44 files what am I doing wrong?

Burp User | Last updated: Jan 23, 2017 08:54AM UTC

little explanation: $ cat helloWorld.java ---- package burp; #package name 'burp' does not correspond to the file path import java.io.PrintWriter; public class BurpExtender implements IBurpExtender { @Override public void registerExtenderCallbacks(IBurpExtenderCallbacks callbacks) #not resolve type IBurpExtenderCallbacks { // set our extension name callbacks.setExtensionName("Hello world extension");

PortSwigger Agent | Last updated: Jan 23, 2017 09:59AM UTC

It sounds like you might have got your source files in the incorrect folder. In your source root, there should be folder called "burp", and inside that folder you should have your BurpExtender.java file and also all of the Burp API interface files. All of those files should say "package burp" at the start.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.