summitt / Nope-Proxy

TCP/UDP Non-HTTP Proxy Extension (NoPE) for Burp Suite.
1.52k stars 236 forks source link

Making NoPE Proxy work with Burp 2.1+ #38

Closed jfish7 closed 3 years ago

jfish7 commented 4 years ago

If you want to build the jar locally, run mvn clean compile assembly::single. It's stored at Burp-Non-HTTP-Extension/NonHTTPProxy/target/NonHTTPProxy-0.0.1-SNAPSHOT-jar-with-dependencies.jar

jfish7 commented 4 years ago

If you're curious why it didn't work with Burp 2.1+, it's because NoPE proxy relies on Hibernate, which relies on JAXB, which is no longer supported in the runtime of Java 9+. In order to fix it, I removed the dependency of JAXB by creating the session factory in HibHelper.java instead of relying on Hibernate to parse the hibernate.cfg.xml.

summitt commented 3 years ago

Thanks @jfish7 for making this change! I'm merging the changes creating a new release.

jfish7 commented 3 years ago

Thank you @summitt! However, I believe my changes did break some other functionality in the tool, since my main use case was around the DSN listener and the TCP proxy. I'll put in some time this month to ensure the other functionality works with my changes.