Open testzyrgo opened 4 years ago
same issue
Traceback (most recent call last):
File "E:\tqlmap_burp\tplmap-master\burp_extension\burp_extender.py", line 2, in
at org.python.core.Py.ImportError(Py.java:334)
at org.python.core.imp.import_first(imp.java:879)
at org.python.core.imp.import_module_level(imp.java:964)
at org.python.core.imp.importName(imp.java:1057)
at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
at org.python.core.PyObject.__call__(PyObject.java:450)
at org.python.core.__builtin__.__import__(__builtin__.java:1232)
at org.python.core.imp.importFromAs(imp.java:1149)
at org.python.core.imp.importFrom(imp.java:1124)
at config_tab$py.f$0(E:/tqlmap_burp/tplmap-master/burp_extension/config_tab.py:103)
at config_tab$py.call_function(E:/tqlmap_burp/tplmap-master/burp_extension/config_tab.py)
at org.python.core.PyTableCode.call(PyTableCode.java:171)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:436)
at org.python.core.imp.createFromPyClass(imp.java:237)
at org.python.core.imp.createFromPyClass(imp.java:205)
at org.python.core.imp.loadFromSource(imp.java:657)
at org.python.core.imp.find_module(imp.java:551)
at org.python.core.imp.import_next(imp.java:838)
at org.python.core.imp.import_module_level(imp.java:957)
at org.python.core.imp.importName(imp.java:1057)
at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
at org.python.core.PyObject.__call__(PyObject.java:450)
at org.python.core.__builtin__.__import__(__builtin__.java:1232)
at org.python.core.imp.importFromAs(imp.java:1149)
at org.python.core.imp.importFrom(imp.java:1124)
at org.python.pycode._pyx4.f$0(E:/tqlmap_burp/tplmap-master/burp_extension/burp_extender.py:5)
at org.python.pycode._pyx4.call_function(E:/tqlmap_burp/tplmap-master/burp_extension/burp_extender.py)
at org.python.core.PyTableCode.call(PyTableCode.java:171)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1614)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:535)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:286)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at burp.a3t.<init>(Unknown Source)
at burp.gcg.a(Unknown Source)
at burp.ao3.lambda$panelLoaded$0(Unknown Source)
at java.lang.Thread.run(Unknown Source)
this is my error code evrything is perfect still getting this error
@jx6f @epinna
@testzyrgo If the PyYaml package is not installed, the error you pasted will appear.
@Et0hacker
You loaded different file. Please load tplmap/burp_extension.py
instead of tplmap/burp_extension/burp_extender.py
error.txt I have installed all the requirements plugins, these are all the installed packages in jython. certifi (2019.11.28) chardet (3.0.4) idna (2.8) pip (9.0.1) PyYAML (5.3) requests (2.22.0) setuptools (28.8.0) urllib3 (1.25.8)
I am still getting an error
I had the same issue on windows 10, I solved it uninstalling pyyaml
cd /path/to/install/jython ./bin/pip uninstall PyYaml requests
Then installing like this:
wget http://pyyaml.org/download/pyyaml/PyYAML-3.09.tar.gz tar zxf PyYAML-3.09.tar.gz cd PyYAML-3.09 jython setup.py --without-libyaml install
http://oldhammade.net/tip/2013/01/27/installing-pyyaml-for-jython.html
jython -m pip freeze certifi==2019.11.28 chardet==3.0.4 idna==2.8 PyYAML==3.9 requests==2.22.0 urllib3==1.25.8 You are using pip version 9.0.1, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
All requirements are met too, when I add burp extension following error occurs: