Python Extension don't load in Burp on Fedora
I've create test python extension:
from burp import IBurpExtender
def registerExtenderCallbacks(self, callbacks):
# your extension code here
I've installed jython using Fedora installer and put path to jython.jar in options but I didn't use path to load modules.
Is python require something else (google modules) to be installed?
You need to use the Jython standalone jar which includes all the dependencies in a single jar. The error shows you’ve used the Jython jar that does not include dependencies.
I've try to run burp using provided fix:
java -cp $(build-classpath jython/jython guava jnr-constants jnr-ffi jnr-netdb jnr-posix jffi libreadline-java/libreadline-java jline1/jline-1 antlr32/antlr-runtime objectweb-asm/asm objectweb-asm/asm-commons objectweb-asm/asm-util commons-compress icu4j netty/netty-buffer netty/netty-codec netty/netty-common netty/netty-handler netty/netty-transport):. -Dpython.home=/usr/share/jython -jar burpsuite_community_v1.7.30.jar
but it didn't help and I can't put class path because options accept single folder.
Did you try using the Jython standalone jar? It should be approximately 37mb in size. If yours is much smaller, you are using the wrong jar.
If you’re still having difficulty, please reply with a screenshot of the Extender > Options screen.