f4rih / websploit

Websploit is a high level MITM framework
MIT License
1.12k stars 290 forks source link

websploit typing after not opening #45

Open mansurmooz opened 4 years ago

mansurmooz commented 4 years ago

root@kali:/home/redhat/websploit# websploit Traceback (most recent call last): File "/usr/local/bin/websploit", line 11, in load_entry_point('websploit==4.0.4', 'console_scripts', 'websploit')() File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2852, in load_entry_point return ep.load() File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2443, in load return self.resolve() File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2449, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/usr/local/lib/python2.7/dist-packages/websploit-4.0.4-py2.7.egg/websploit/websploit.py", line 34 module.prompt = f"wsf > {line} > " ^ SyntaxError: invalid syntax

websploit commented 4 years ago

Use python 3.6 or above.

ornatachrome commented 4 years ago

root@kali:~/websploit# python3 websploit /usr/bin/python3: can't find 'main' module in 'websploit'