Open anonymous187 opened 4 years ago
adding to what i have posted earlier i tried installing it using the below command:
ERROR: Can't roll back pyOpenSSL; was not uninstalled ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8wdgl596/pyOpenSSL/setup.py'"'"'; file='"'"'/tmp/pip-install-8wdgl596/pyOpenSSL/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-ak69o_6y/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/pyOpenSSL Check the logs for full command output.
yet when i run sslstrip command i get the same error:
Traceback (most recent call last):
File "/usr/local/bin/sslstrip", line 27, in
We removed sslstrip and python-twisted-web from kali because the packages are in Python 2 (EOL). For sslstrip, there was no upstream change since 2011.
Then now what I should do to install the sslstrip ? I need the sslstrip
There's a way to install python2 on Kali2020.3 without breaking anything. I got it working like this:
sudo -i apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev curl https://pyenv.run | bash
Add following lines to /root/.bashrc export PATH="$HOME/.pyenv/bin:$PATH" eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)"
exit sudo -i pyenv install 2.7.18 pyenv global 2.7.18 pip install Twisted==18.9.0 pip install service_identity
After this I was able to run sslstrip again. I got some errors in console sometimes but functionality was there.
Oh. Do go back to python3 just remove the lines in .bashrc and start a new shell.
Hi, I am facing some issues while installing the sslstrip I run the following command: python setup.py build && python setup.py install then when i run: sslstrip -h Traceback (most recent call last): File "/usr/local/bin/sslstrip", line 27, in
from twisted.web import http
ImportError: No module named twisted.web
I have tried installing twisted module using apt-get but unfortunately it is not there anymore apt-get install python-twisted Reading package lists... Done Building dependency tree
Reading state information... Done Package python-twisted is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'python-twisted' has no installation candidate
when i install it using pip3 is shows that it is there pip3 install twisted Requirement already satisfied: twisted in /usr/lib/python3/dist-packages (18.9.0)
so please can you guide me for the proper way to install it