Burp community forum

Python Extensions

Benjamin | Last updated: Jun 25, 2015 09:42PM UTC

I have installed Jython and installed several Python-based Extensions. I have configured 'Folder for loading modules' to point to /usr/lib/python2.7 (have also tried python2.7 and python3.2). All extensions fail. Most have an error reading, "NameError: name 'buffer' is not defined." Since this is applying to multiple extensions, guessing it is a Python/jython/Kali thing. Any solutions?

PortSwigger Agent | Last updated: Jun 26, 2015 12:10PM UTC

Instead of using the Jython installer, you need to download the Jython standalone JAR. Then, instead of configuring the folder for loading modules, you need to configure the location of the standalone JAR file, at Extender / Options / Python Environment / Location of Jython standalone JAR.

Burp User | Last updated: Jun 27, 2015 03:26PM UTC

Dafydd, thank you for the response.Standalone fixed that. Now it requires a newer version Java JDK... Getting closer :)

Burp User | Last updated: Jun 27, 2015 03:31PM UTC

Or, run jython 2.5.4 which is a bit easier.

You need to Log in to post a reply. Or register here, for free.