Skip to content

Instantly share code, notes, and snippets.

View farhatizakaria's full-sized avatar
🎯
Learning

Zakaria Farhati farhatizakaria

🎯
Learning
View GitHub Profile
@farhatizakaria
farhatizakaria / installPyrit.sh
Created May 27, 2024 21:02
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
@farhatizakaria
farhatizakaria / yersiniaGTK.sh
Created March 17, 2024 00:44
yersiniaGTK for Kali Linux
sudo git clone https://github.com/tomac/yersinia /opt/yersinia
sudo git clone https://github.com/tomac/yersinia ~/yersinia
sudo chmod u+w /opt
sudo apt install autoconf libgtk-3-dev libnet1-dev libgtk2.0-dev
cd /opt/yersinia
@farhatizakaria
farhatizakaria / flatpak-elementaryOS-theme.txt
Last active May 27, 2024 21:05
Make flathub apps use the elementary os's theme
// Using elemenatary's dark theme
flatpak install org.gtk.Gtk3theme.elementary
flatpak override --user --env=GTK_THEME=elementary:dark
// You can apply the themes with a specific accent color (blueberry as an example)
flatpak override --user --env=GTK_THEME=io.elementary.stylesheet.blueberry:dark
flatpak update
//Then all flatpak apps will use the elementary os's theme