f4rih / websploit

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

SyntaxError: invalid syntax #60

Open NaCK3R opened 3 years ago

NaCK3R commented 3 years ago

~/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

adnan007d commented 3 years ago

I think you should use python3 and not python2.

gphax commented 3 years ago

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/share/cffi-wheels/setuptools-44.1.0-py2.py3-none-any.whl/pkg_resources/init.py", line 489, in load_entry_point File "/usr/share/cffi-wheels/setuptools-44.1.0-py2.py3-none-any.whl/pkg_resources/init.py", line 2852, in load_entry_point File "/usr/share/cffi-wheels/setuptools-44.1.0-py2.py3-none-any.whl/pkg_resources/init.py", line 2443, in load File "/usr/share/cffi-wheels/setuptools-44.1.0-py2.py3-none-any.whl/pkg_resources/init.py", line 2449, in resolve 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