nahamsec / JSParser

783 stars 178 forks source link

Error execution handler.py #43

Open tXambe opened 3 years ago

tXambe commented 3 years ago

Hello,

When I execute handler I have this error:

ImportError: /root/.cache/Python-Eggs/pycurl-7.43.0.6-py2.7-linux-x86_64.egg-tmp/pycurl.so: undefined symbol: PyUnicode_DecodeLocale

Any recomendation ?

A greeting and thanks

ghost commented 3 years ago

use this $ pip uninstall pycurl $ pip install --install-option="--with-openssl" --install-option="--openssl-dir=/usr/local/opt/openssl" pycurl $ python3 handler.py

sumit554 commented 2 years ago

Traceback (most recent call last): File "/root/tools/JSParser/handler.py", line 5, in import safeurl, types, sys, re, mimetypes, glob, jsbeautifier, urlparse, pycurl File "/root/tools/JSParser/safeurl.py", line 18, in import StringIO ModuleNotFoundError: No module named 'StringIO'

pls help me to solve this issue bro