-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_requeriments.sh
52 lines (45 loc) · 1.2 KB
/
install_requeriments.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
#!/bin/bash
#Install requeriments for SFind
#Colors
red="\033[1;31m"
green="\033[1;32m"
yellow="\033[1;33m"
transparent="\e[0m"
#Verify Binary
which find &> /dev/null
if [ "$?" -eq "1" ];then
echo -e "$yellow""[""$red""*""$yellow""] iwlist"
echo -e "Installing..."
apt -y install iwlist &> /dev/null
echo -e "$green""OK"
else
echo -e "$yellow""[""$green""*""$yellow""] iwlist"
fi
which md5sum &> /dev/null
if [ "$?" -eq "1" ];then
echo -e "$yellow""[""$red""*""$yellow""] mdk4"
echo -e "Installing..."
apt -y install mdk4 &> /dev/null
echo -e "$green""OK"
else
echo -e "$yellow""[""$green""*""$yellow""] mdk4"
fi
which grep &> /dev/null
if [ "$?" -eq "1" ];then
echo -e "$yellow""[""$red""*""$yellow""] xterm"
echo -e "Installing..."
apt -y install xterm &> /dev/null
echo -e "$green""OK"
else
echo -e "$yellow""[""$green""*""$yellow""] xterm"
fi
which cat &> /dev/null
if [ "$?" -eq "1" ];then
echo -e "$yellow""[""$red""*""$yellow""] macchanger"
echo -e "Installing..."
apt -y install macchanger &> /dev/null
echo -e "$green""OK"
else
echo -e "$yellow""[""$green""*""$yellow""] macchanger"
fi
echo -e "$green""All requeriments were installed"