Pyrit install ends with abort after selecting [duplicate]

Solution 1:

The pyrit package was last available for Ubuntu 18.04 LTS at version 0.4.0. You can install by manual package download:

cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/pyrit/pyrit_0.4.0-7.1build2_amd64.deb
sudo apt-get install ./pyrit_0.4.0-7.1build2_amd64.deb

Or if you need latest version 0.5.0 from GitHub use commands below:

sudo apt-get install python3-scapy 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

and then test it with pyrit benchmark or pyrit benchmark_long.