-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHackerBootStrap.sh
executable file
·57 lines (43 loc) · 1.47 KB
/
HackerBootStrap.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
#! /bin/bash
# Define colors...
RED=`tput bold && tput setaf 1`
GREEN=`tput bold && tput setaf 2`
YELLOW=`tput bold && tput setaf 3`
BLUE=`tput bold && tput setaf 4`
NC=`tput sgr0`
function RED(){
echo -e "\n${RED}${1}${NC}"
}
function GREEN(){
echo -e "\n${GREEN}${1}${NC}"
}
function YELLOW(){
echo -e "\n${YELLOW}${1}${NC}"
}
function BLUE(){
echo -e "\n${BLUE}${1}${NC}"
}
cat << "EOF"
_ _ _ ____ _ _____ _
| | | | | | | _ \ | | / ____| |
| |__| | __ _ ___| | _____ _ __| |_) | ___ ___ | |_| (___ | |_ _ __ __ _ _ __
| __ |/ _` |/ __| |/ / _ \ '__| _ < / _ \ / _ \| __|\___ \| __| '__/ _` | '_ \
| | | | (_| | (__| < __/ | | |_) | (_) | (_) | |_ ____) | |_| | | (_| | |_) |
|_| |_|\__,_|\___|_|\_\___|_| |____/ \___/ \___/ \__|_____/ \__|_| \__,_| .__/
| |
|_|
EOF
# Testing if root...
if [ $UID -ne 0 ]
then
RED " 🚨 You must run this script as root!" && echo
exit
fi
BLUE "Updating repositories..."
sudo apt update
BLUE "Installing Kali System"
sudo apt install kali-linux-everything -y
BLUE "Installing SecList"
wget -c https://github.com/danielmiessler/SecLists/archive/master.zip -O SecList.zip \
&& unzip SecList.zip \
&& rm -f SecList.zip && mv SecList /usr/share/wordlists/