Skip to content

Instantly share code, notes, and snippets.

@farhatizakaria
Created May 27, 2024 21:02
Show Gist options
  • Select an option

  • Save farhatizakaria/48d5a21bb6959842cd3bdfaa7f8795f9 to your computer and use it in GitHub Desktop.

Select an option

Save farhatizakaria/48d5a21bb6959842cd3bdfaa7f8795f9 to your computer and use it in GitHub Desktop.
Script for Pyrit installation in Ubuntu 22.04
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
@lund133369
Copy link

INSTALLATION PYRIT 0.5.0 GPU OPENCL IN DOCKER UBUNTU 18.04 - 20.04

INSTALACION PYRIT 0.5.0 GPU OPEN-CL EN DOCKER UBUNTU 18.04 - 20.04

echo "Actualizando repositorios e instalando herramientas básicas..."
apt update
apt upgrade -y
apt install -y zsh net-tools build-essential git nano wget curl p7zip-full p7zip-rar

apt install -y python3-scapy python2.7 libssl-dev zlib1g-dev libpcap0.8-dev python2.7-dev

wget -c https://github.com/JPaulMora/Pyrit/archive/v0.5.0.tar.gz
echo "INSTALACION DE PYRIT $(ls 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.7 setup.py clean
python2.7 setup.py build
python2.7 setup.py install

pyrit | head -n 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment