-
Notifications
You must be signed in to change notification settings - Fork 15
/
uninstall.sh
33 lines (28 loc) · 1.88 KB
/
uninstall.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
#!/bin/sh
# Define the tools to remove, including the newly added ones
TOOLS="maltego msfpc set faraday recordmydesktop pipal cutycapt hashdeep bulk-extractor binwalk autopsy sleuthkit
pdfid pdf-parser forensic-artifacts guymager magicrescue scalpel scrounge-ntfs dbd powersploit sbd dns2tcp
exe2hexbat iodine miredo proxychains4 proxytunnel ptunnel pwnat sslh stunnel4 udptunnel laudanum weevely
mimikatz dnschef netsniff-ng rebind sslsplit tcpreplay ettercap-graphical macchanger mitmproxy responder
wireshark metasploit-framework exploitdb sqlmap sqlitebrowser bully fern-wifi-cracker spooftooph aircrack-ng
kismet pixiewps reaver wifite clang nasm radare2 chntpw hashcat hashid hash-identifier ophcrack ophcrack-cli
samdump2 hydra hydra-gtk onesixtyone patator thc-pptp-bruter passing-the-hash smbmap cewl crunch john medusa
ncrack wordlists rsmangler dnsenum dnsrecon fierce lbd wafw00f arping fping hping3 masscan thc-ipv6 nmap
theharvester netdiscover netmask enum4linux nbtscan swaks snmpcheck ssldump sslh sslscan sslyze dmitry ike-scan
legion recon-ng spike voiphopper nikto unix-privesc-check wpscan burpsuite dirb dirbuster wfuzz cadaver
davtest skipfish wapiti whatweb commix zaproxy freerdp2-x11 spiderfoot bettercap subfinder feroxbuster amass
bloodhound cme ghidra sherlock gobuster netcat webshells ffuf crackmapexec evil-winrm impacket-scripts
kali-autopilot scapy tcpdump powershell-empire starkiller cherrytree maltego maltego-installer"
# Loop through each tool and remove it individually
for tool in $TOOLS; do
sudo apt remove $tool -y
done
# Cleanup and update
sudo apt autoclean
sudo apt autoremove -y
sudo apt update
# Optionally remove all config files of removed packages
# dpkg -l | grep '^rc' | awk '{print $2}' | sudo xargs dpkg --purge
echo "The script has been successfully executed"
echo "All tools have been removed/uninstalled"
echo "Thanks for using this script"