-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathinstall.sh
38 lines (33 loc) · 880 Bytes
/
install.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
#!/bin/bash
# Function to install packages based on the package manager
install_package() {
if command -v apt-get &> /dev/null; then
sudo apt-get install -y "$1"
elif command -v dnf &> /dev/null; then
sudo dnf install -y "$1"
elif command -v pacman &> /dev/null; then
sudo pacman -S --noconfirm "$1"
else
echo -e "\n[!] Unsupported package manager. Please install $1 manually."
exit 1
fi
}
# Check and install macchanger
clear
echo "[+] Installing macchanger..."
install_package macchanger
# Check and install tor
clear
echo "[+] Installing tor..."
install_package tor
# Change directory and install kali-anonsurf
if [ -d "kali-anonsurf" ]; then
cd kali-anonsurf
chmod +x *
sudo ./installer.sh
else
echo "[!] Directory kali-anonsurf not found"
exit 1
fi
clear
echo "[*] Installation completed."