EntySec / HatSploit

Modular penetration testing platform that enables you to write, test, and execute exploit code.
https://hatsploit.com
MIT License
277 stars 62 forks source link

error whene i try to run #98

Closed tchach0 closed 1 year ago

tchach0 commented 1 year ago

└─$ hsf
Traceback (most recent call last): File "/home/glitch/.local/bin/hsf", line 5, in from hatsploit import cli File "/home/glitch/.local/lib/python3.10/site-packages/hatsploit/init.py", line 30, in from .main import HatSploit File "/home/glitch/.local/lib/python3.10/site-packages/hatsploit/main.py", line 33, in from hatsploit.core.utils.api import API File "/home/glitch/.local/lib/python3.10/site-packages/hatsploit/core/utils/api.py", line 27, in from flask import Flask File "/home/glitch/.local/lib/python3.10/site-packages/flask/init.py", line 19, in from . import json File "/home/glitch/.local/lib/python3.10/site-packages/flask/json/init.py", line 15, in from itsdangerous import json as _json ImportError: cannot import name 'json' from 'itsdangerous' (/usr/lib/python3/dist-packages/itsdangerous/init.py)

enty8080 commented 1 year ago

Hey, @tchach0

I suggest you to upgrade itsdangerous package. As I can see, the problem is in dependencies.