-
Notifications
You must be signed in to change notification settings - Fork 439
/
Installer.sh
executable file
·213 lines (185 loc) · 4.99 KB
/
Installer.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
####### < Color > #######
white="\033[1;37m"
grey="\033[0;37m"
red2="\033[0;35m"
red="\033[1;31m"
green="\033[1;32m"
yellow="\033[1;33m"
blue="\033[1;34m"
transparent="\e[0m"
#########################
############################################# < START > ####################################################
clear
echo -e "\e[1;31mInstaller - by Deltax"
echo -e "\e[1;31mCheck & autoinstall"
echo -e "\e[1;31mDebian only"
echo -e "\e[1;31mFix coming soon"
echo -e "\e[1;31mBug add-apt-repository"
echo -e "\e[1;31mor add kali sources in etc/apt/source.lst"
clear
apt-key adv --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6
sudo apt-add-repository deb http://http.kali.org/kali kali main non-free contrib
sudo apt-add-repository deb http://security.kali.org/kali-security kali/updates main contrib non-free
sudo apt-get update -m
sleep 5
clear
echo -ne "Aircrack-ng....."
if ! hash aircrack-ng 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install aircrack-ng -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Aireplay-ng....."
if ! hash aireplay-ng 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install aireplay-ng -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Airmon-ng......."
if ! hash airmon-ng 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install airmon-ng -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Airodump-ng....."
if ! hash airodump-ng 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install airodump-ng -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Awk............."
if ! hash awk 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install awk -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Curl............"
if ! hash curl 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install curl -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Dhcpd..........."
if ! hash dhcpd 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent" (isc-dhcp-server)"
sudo apt-get install dhcpd -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Hostapd........."
if ! hash hostapd 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install hostapd -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Iwconfig........"
if ! hash iwconfig 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install iwconfig -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Lighttpd........"
if ! hash lighttpd 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install lighttpd -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Macchanger......"
if ! hash macchanger 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install macchanger -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Mdk3............"
if ! hash mdk3 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install mdk3 -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Php5-cgi........"
if ! [ -f /usr/bin/php-cgi ]; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install php5-cgi -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Pyrit..........."
if ! hash pyrit 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install pyrit
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Python.........."
if ! hash python 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install python -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Unzip..........."
if ! hash unzip 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install unzip -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Mdk3............"
if ! hash mdk3 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
cd
wget http://linux.gungoos.com/mdk3-v6.tar.gz
tar xvzf mdk3-v6.tar.gz
cd mdk3-v6
sudo apt-get install patch
wget http://linux.gungoos.com/mdk3-v6.patch
patch Makefile < mdk3-v6.patch
rm mdk3-v6.patch
sudo make
sudo make install
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "Xterm..........."
if ! hash xterm 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
sudo apt-get install xterm -y
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
sleep 10
clear
echo "Repo musst be remove"
echo "source.list is located in /etc/apt/source.lst"
echo "remove kail source"
sudo nano /etc/apt/source.list
sudo apt-get update