moxie0 / sslstrip

A tool for exploiting Moxie Marlinspike's SSL "stripping" attack.
http://www.thoughtcrime.org/software/sslstrip/
GNU General Public License v3.0
1.91k stars 428 forks source link

error running sslstrip.py #31

Closed MiChaelinzo closed 3 years ago

MiChaelinzo commented 3 years ago
user@Linux:~/sslstrip$ sudo python sslstrip.py
Traceback (most recent call last):
  File "sslstrip.py", line 27, in <module>
    from twisted.web import http
ImportError: No module named twisted.web
user@Linux:~/sslstrip$ pip install twisted.web
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement twisted.web (from versions: none)
ERROR: No matching distribution found for twisted.web
WARNING: You are using pip version 20.2.2; however, version 20.2.3 is available.
You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
user@Linux:~/sslstrip$ python sslstrip.py 
Traceback (most recent call last):
  File "sslstrip.py", line 27, in <module>
    from twisted.web import http
ImportError: No module named twisted.web
user@Linux:~/sslstrip$ python --version
Python 2.7.18
user@Linux:~/sslstrip$ uname -a
Linux user 5.8.0-amd64 #1 SMP Debian 5.8.7 (2020-09-14) x86_64 GNU/Linux
MiChaelinzo commented 3 years ago

fixed by downloading pip-20.2.3-py2.py3-none-any.whl updating into pip 20.2.2 and installing twisted-20.3.0 zope.interface-5.1.0 etc.