Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jsparser installation problem #61

Open
prabeshram opened this issue Dec 11, 2022 · 3 comments
Open

jsparser installation problem #61

prabeshram opened this issue Dec 11, 2022 · 3 comments

Comments

@prabeshram
Copy link

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 help me fix this problem

@prabeshram
Copy link
Author

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?

@kpomeroy1979
Copy link

This is the solution. Works 100% confirmed on Kali Linux

#55

  1. Download docker: https://www.docker.com/products/docker-desktop
  2. In terminal (CMD): docker pull andmyhacks/jsparser
  3. In terminal (CMD): docker run -p 8008:8008 andmyhacks/jsparser
    Access: http://127.0.0.1:8008/

@shishirs4
Copy link

Some changes on safeurl.py file

like remove the import StringIO

to

from io import StringIO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants