The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

"ImportError: No module named os" with Headers Analyzer extension.

Dmitri | Last updated: May 25, 2017 10:20AM UTC

Hi, I'm running the latest Burp Suite Pro (1.7.23) on Kali Linux rolling 2017.1. After installing "Header Analyzer" extension i'm unable to start it. I get an error: #### Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named os at org.python.core.Py.ImportError(Py.java:304) at org.python.core.imp.import_first(imp.java:755) at org.python.core.imp.import_module_level(imp.java:837) at org.python.core.imp.importName(imp.java:917) at org.python.core.ImportFunction.__call__(__builtin__.java:1220) at org.python.core.PyObject.__call__(PyObject.java:357) at org.python.core.__builtin__.__import__(__builtin__.java:1173) at org.python.core.imp.importOne(imp.java:936) at org.python.pycode._pyx1.f$0(<string>:1) at org.python.pycode._pyx1.call_function(<string>) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.Py.runCode(Py.java:1275) at org.python.core.Py.exec(Py.java:1319) at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at burp.id.<init>(Unknown Source) at burp.emc.a(Unknown Source) at burp.qg.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) #### I have jython version 2.5.3-16 installed on my system. Jython jar (/usr/share/java/jython.jar) is also loaded in Burp. Any ideas how to enable this module? regards,

Adam, PortSwigger Agent | Last updated: May 31, 2017 06:04AM UTC

Hi Dmitri, This extension works well with Jython 2.7.0 (standalone) - available from http://search.maven.org/remotecontent?filepath=org/python/jython-standalone/2.7.0/jython-standalone-2.7.0.jar - could you upgrade to see whether this fixes your issue? Best regards, Adam

Burp User | Last updated: Jun 05, 2017 06:37PM UTC