Open prabeshram opened 1 year ago
python handler.py Traceback (most recent call last): File "/home/kalki/Desktop/bug_bounty/JSParser/handler.py", line 5, in import safeurl, types, sys, re, mimetypes, glob, jsbeautifier, urlparse, pycurl File "/home/kalki/Desktop/bug_bounty/JSParser/safeurl.py", line 18, in import StringIO ModuleNotFoundError: No module named 'StringIO'
please, Can anyone help me on how to fix this issue?
This is the solution. Works 100% confirmed on Kali Linux
https://github.com/nahamsec/JSParser/issues/55
Some changes on safeurl.py file
like remove the import StringIO
to
from io import StringIO
python handler.py
import safeurl, types, sys, re, mimetypes, glob, jsbeautifier, urlparse, pycurl
File "/home/kalki/Desktop/bug_bounty/JSParser/safeurl.py", line 18, in
import StringIO
ModuleNotFoundError: No module named 'StringIO'
Traceback (most recent call last): File "/home/kalki/Desktop/bug_bounty/JSParser/handler.py", line 5, in
please help me fix this problem