JPaulMora / Pyrit

The famous WPA precomputed cracker, Migrated from Google.
GNU General Public License v3.0
1.04k stars 271 forks source link

Does Pyrit work with Kali 2021 #609

Open nubbix opened 3 years ago

nubbix commented 3 years ago

Reason for asking, cannot seem to get it install.. Even with Python2 there is no way. Suggestion?

csenger18 commented 3 years ago

For me on:

PRETTY_NAME="Kali GNU/Linux Rolling" NAME="Kali GNU/Linux" ID=kali VERSION="2021.1" VERSION_ID="2021.1" VERSION_CODENAME="kali-rolling" ID_LIKE=debian

5.10.0-kali7-amd64 the analyze function working for me. after I run this script: https://github.com/Grezzo/pyrit-installer-for-kali-rolling (replaced pythton with pythton2.7 in line 18-20) and install scapy 2.3.2 ----> python2.7 -m pip install scapy==2.3.2

whiteforcekali16 commented 2 years ago

is there a way to get the "analyze" to work on 5.10.0-kali9-amd64? I tried to install scapy 2.3.2 but get errors: I have pip, pip2, pip2.7 and pip3, as well as python2, 2.7, 3 and 3.9. No issues compile pyrit based on that replace logic above but can't seem to analyze a capture file.

$ sudo pip2 install scapy==2.3.2 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 pip 21.0 will remove support for this functionality. Collecting scapy==2.3.2 Using cached scapy-2.3.2.tar.gz (1.1 MB) ERROR: Command errored out with exit status 1: command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yTgKAi/scapy/setup.py'"'"'; file='"'"'/tmp/pip-install-yTgKAi/scapy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-HNDYIZ
cwd: /tmp/pip-install-yTgKAi/scapy/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: invalid command 'egg_info'                                                                             
----------------------------------------                                                                      

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.