New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building from source? #6
Comments
Hi! Strange error. It seems that Burp does not recognise its own interfaces and classes. Maybe is only an error in classes tree. You can try to simply compile the project by importing it in Eclipse and then compiling it with integrated ANT compiler. In this way it works for me. If you prefer, now there is also a pom file and you can use it to compile the project with Maven. Do you need more help? Federico |
Hi! Thanks for your answer and sorry for my response delay. I may be missing something obvious- you mention a pom file, but I don't see a If you wouldn't mind giving the one or two shell commands to build this project from the command line I would much appreciate it! |
Hi! The easiest way to compile the project is to import everything in Eclipse (folders "ant", "libs" and "src/burp", for "src/burp" you have to create a folder named "burp" in the "src" folder of the project and put the source files in there) and using ANT to compile. After having imported everything in Eclipse, you have to add all libraries in "libs" folder to the project, by clicking with the right button on the project and selecting "properties". Then go to "Java Build Path" -> "Libraries" -> "Add JARs" and add all the JAR in the libs folder. Then click Apply and exit. Now, to create the plugin JAR file with ANT you have only to click with the Right Button on the file "antbuild.xml" in the "ant" folder and select "Run As" -> "Ant build". I hope I was clear. Have a nice day! |
Hey there. Thank you for releasing this tool-- it seems quite useful and I appreciate the documentation in the README!
My apologies if this is an obvious question, but I'm having some difficulty building this tool from source.
ant/antbuild.xml
- but it seems to expect existing.class
files to be inbin/
, which it then zips up with JARs inlibs/
into the final JAR.Progress Building from Source
I believe I'm close, as I've compiled the Java source into
bin/
with:$ javac -d bin/ -cp src/burp/*
Then the JAR can be built with:
Which successfully builds
output/JavaDeserializationScanner_dev.jar
.Observed Errors
However, when I try to add this JAR via Burp Extender, I get the following error:
Environment
java
- openjdk version "1.8.0_111"javac
- javac 1.8.0_111Any advice would be much appreciated, thanks!
The text was updated successfully, but these errors were encountered: