Update Kali-Pi drivers and Hak5 software
Here's a short shell script to quickly update Kali-Pi drivers and Hak5 bb and wp scripts.
curl https://gist.github.com/nicholasadamou/561385b9121c35d7434f597e4072957c/raw/dead37e651cef7b9c05d9e2874fcc2a44474b818/update.sh | sh
#!/bin/bash
x="/usr/local/src"
rm -rf "$x"/*
wget -O "$x"/re4son_kali-pi-tft_kernel_current.tar.xz https://whitedome.com.au/re4son/downloads/11299/
tar -xJf "$x"/re4son_kali-pi-tft_kernel_current.tar.xz -C "$x"
if [ -e "$x"/re4son_kali-pi-tft_kernel_current.tar.xz ]; then
rm -rf "$x"/re4son_kali-pi-tft_kernel_current.tar.xz
fi
boot_dir='/dev/mmcblk0p1'
if ! grep -qs "$boot_dir" /boot/; then
mount "$boot_dir" /boot/
fi
x="/usr/local/src/re4son_kali-pi-tft_kernel_*/"
if [ -d "$x" ]; then
cd "$x"
./install.sh
fi
if grep -qs "$boot_dir" /boot/; then
umount /boot/
fi
x="/root/Documents/bb.sh"
if [ -e "$x" ]; then
rm -rf "$x"
fi
wget -O "$x" bashbunny.com/bb.sh
chmod +x "$x"
x="/root/Documents/wp6"
if [ -d "$x" ]; then
rm -rf "$x"
fi