forked from g13net/PwnBerryPi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuninstall-pwnberrypi.sh
executable file
·45 lines (37 loc) · 1.67 KB
/
uninstall-pwnberrypi.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash
# PwnberryPi: A Pentesting Suite for the Raspberry Pi
# g13net.com
echo ""
# Verify we are root
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
echo ""
echo " === PwnberryPi Release 1.0 UNINSTALLER === "
echo ""
echo "----------------------------------------------------------------"
echo " This UNINSTALLER will remove the PwnberryPi pentesting "
echo " software suite from your Raspberry Pi. "
echo ""
echo "Press ENTER to continue, CTRL+C to abort."
read INPUT
echo ""
echo "[+] Removing baseline pentesting tools/dependencies..."
aptitude -y remove nmap dsniff netcat nikto xprobe python-scapy wireshark tcpdump ettercap hping3 medusa macchanger nbtscan john ptunnel p0f ngrep tcpflow openvpn iodine httptunnel cryptcat sipsak yersinia smbclient sslsniff tcptraceroute pbnj netdiscover netmask udptunnel dnstracer sslscan medusa ipcalc dnswalk socat onesixtyone tinyproxy dmitry fcrackzip ssldump fping ike-scan gpsd darkstat swaks arping tcpreplay sipcrack proxychains proxytunnel siege sqlmap wapiti skipfish w3af libssl-dev libpcap-dev libpcre3 libpcre3-dev libnl-dev libncurses-dev subversion python-twisted-web python-pymssql git
echo "[+] Removing wireless pentesting tools..."
aptitude -y remove kismet
cd src/aircrack-ng-1.1
make uninstall
cd ../..
# Remove /pentest
echo "[+] Removing /pentest..."
rm -rf /pentest
# Restore original motd
cp src/motd.tail.original /etc/motd.tail
echo ""
echo "---------------------------------------------------------------"
echo "PwnberryPi 1.0 UNINSTALLED successfully!"
echo "---------------------------------------------------------------"
echo ""
exit 1