-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy pathinstall.sh
More file actions
124 lines (120 loc) · 4.03 KB
/
install.sh
File metadata and controls
124 lines (120 loc) · 4.03 KB
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#! /bin/bash
clear
printf '\033]2;ehtools INSTALLER\a'
echo -e " "
echo -e "███████╗██╗ ██╗████████╗ ██████╗ ██████╗ ██╗ ███████╗ \e[1;33mv2.1.6\e[0m"
echo -e "██╔════╝██║ ██║╚══██╔══╝██╔═══██╗██╔═══██╗██║ ██╔════╝"
echo -e "█████╗ ███████║ ██║ ██║ ██║██║ ██║██║ ███████╗"
echo -e "██╔══╝ ██╔══██║ ██║ ██║ ██║██║ ██║██║ ╚════██║"
echo -e "███████╗██║ ██║ ██║ ╚██████╔╝╚██████╔╝███████╗███████║"
echo -e "╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚══════╝"
echo -e "\e[1;33mBy Entynetproject corp\e[0m"
echo -e "More on our site:"
echo -e "==> \e[1;33mhttps://entynethacker.wixsite.com/ehtools\e[0m"
echo -e "==> \e[1;33mhttp://entynetproject.simplesite.com/\e[0m"
echo -e "Press \e[1;33many key\e[0m to install ehtools"
read -n 1
clear
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [[ "$DIR" != "/root/ehtools" ]]
then
echo -e "You didn't follow the github's simple install instructions.I will try to do it for you..."
sleep 4
if [[ -d /root/ehtools ]]
then
rm -r /root/ehtools
fi
mkdir /root/ehtools
cp -r "$DIR"/* /root/ehtools
chmod +x /root/ehtools/install.sh
gnome-terminal -- "bash /root/ehtools/install.sh"
fi
echo -e "Installing library..."
sleep 1
echo -e "Fixing permissions"
sleep 2
chmod +x /root/ehtools/eht1
chmod +x /root/ehtools/eht2
chmod +x /root/ehtools/eht3
chmod +x /root/ehtools/eht31
chmod +x /root/ehtools/ehtools
chmod +x /root/ehtools/eht4
chmod +x /root/ehtools/eht41
chmod +x /root/ehtools/eht42
chmod +x /root/ehtools/eht43
chmod +x /root/ehtools/ls/l131.sh
chmod +x /root/ehtools/ls/l132.sh
chmod +x /root/ehtools/ls/l133.sh
chmod +x /root/ehtools/uninstall.sh
clear
echo -e "Copying script to /bin/ehtools"
sleep 1
mkdir /bin/ehtools
cd /root/ehtools
cp /root/ehtools/ehtools /bin/ehtools
cp /root/ehtools/eht1 /bin/ehtools
cp /root/ehtools/eht2 /bin/ehtools
cp /root/ehtools/eht3 /bin/ehtools
cp /root/ehtools/eht31 /bin/ehtools
cp /root/ehtools/eht4 /bin/ehtools
cp /root/ehtools/eht41 /bin/ehtools
cp /root/ehtools/eht42 /bin/ehtools
cp /root/ehtools/eht43 /bin/ehtools
clear
#required for gui
apt-get -y install ncurses-dev
clear
if [[ ! -d /root/handshakes ]]
then
mkdir /root/handshakes
echo -e "Made /root/handshake directory"
else
echo -e "/root/handshakes directory detected.Good."
fi
if [[ ! -d /root/wordlists ]]
then
mkdir /root/wordlists
echo -e "Made /root/wordlists directory"
else
echo -e "/root/wordlists directory detected.Good."
fi
while true
do
clear
echo -e "Are you \e[1;33md\e[0meliting or \e[1;33mi\e[0mnstalling the script?(\e[1;33md\e[0m/\e[1;33mi\e[0m): "
echo -e "Only use 'i' for the first time."
read UORI
if [[ "$UORI" = "d" ]]
then
clear
echo -e "? GO OUT OF THIS PLACE ?"
sleep 3
break
elif [[ "$UORI" = "i" ]]
then
clear
BASHCHECK=$(cat ~/.bashrc | grep "bin/ehtools")
if [[ "$BASHCHECK" != "i" ]]
then
echo -e "Congratulations you have successfully installed our Framework"
sleep 3
fi
echo -e "Adding EntynetHackerTools to PATH so you can access it from anywhere"
echo -e "Welcome to EntynetHackerTools PRO free trial :)"
echo -e "More information about PRO or other plans on https://entynethacker.wixsite.com/ehtools/plans-pricing"
sleep 1
export PATH=/bin/ehtools:$PATH
sleep 1
echo "export PATH=/bin/ehtools:$PATH" >> ~/.bashrc
sleep 1
clear
break
fi
done
clear
echo -e "DONE"
sleep 1
clear
echo -e "Open a NEW terminal and type 'ehtools' to launch framework"
sleep 4
exit