Created
May 27, 2024 21:02
-
-
Save farhatizakaria/48d5a21bb6959842cd3bdfaa7f8795f9 to your computer and use it in GitHub Desktop.
Script for Pyrit installation in Ubuntu 22.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install python3-scapy python2 libssl-dev zlib1g-dev libpcap0.8-dev python2-dev python-is-python2 | |
cd ~/Downloads | |
wget -c https://github.com/JPaulMora/Pyrit/archive/v0.5.0.tar.gz | |
tar -xf v0.5.0.tar.gz | |
cd Pyrit-0.5.0 | |
sed -i "s/COMPILE_AESNI/NO_COMPILE_AESNI/" cpyrit/_cpyrit_cpu.c | |
python2 setup.py build | |
sudo python2 setup.py install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@farhatizakaria Thanks for your help! It turns out I didn't have the python2.7-dev package installed, and python-is-python2 is no longer available in the Ubuntu repository. I fixed it by adding a simple alias in my .zshrc.