-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
kali-nethunter
136 lines (118 loc) · 3.94 KB
/
kali-nethunter
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
#!/bin/bash
gr="\e[1;32m"
rd="\e[1;31m"
no="\e[1;0m"
bl="\e[1;36m"
yl="\e[1;33m"
update(){
clear
echo -e " ${bl} --------------------------------------"
echo -e " ${rd}| Install |"
echo -e " ${bl} --------------------------------------${no}\n"
apt-get update && apt-get upgrade -y
apt-get install screenfetch neofetch wget -y
echo
}
kali(){
echo -e "${rd}"
echo " ██ ▄█▀ ▄▄▄ ██▓ ██▓"
echo " ██▄█▒ ▒████▄ ▓██▒ ▓██▒"
echo "▓███▄░ ▒██ ▀█▄ ▒██░ ▒██▒"
echo "▓██ █▄ ░██▄▄▄▄██ ▒██░ ░██░"
echo "▒██▒ █▄ ▓█ ▓██▒ ░██████▒ ░██░"
echo "▒ ▒▒ ▓▒ ▒▒ ▓▒█░ ░ ▒░▓ ░ ░▓ "
echo "░ ░▒ ▒░ ▒ ▒▒ ░ ░ ░ ▒ ░ ▒ ░"
echo "░ ░░ ░ ░ ▒ ░ ░ ▒ ░"
echo "░ ░ ░ ░ ░ ░ ░ "
echo " "
echo
}
start() {
clear
neofetch;
echo -e "${bl}Make sure You have Minimum ${gr}15GB ${bl}of free storage."
sleep 3; clear; screenfetch; sleep 2; clear; kali
echo -e "${rd}Hit ENTER to continue...."
read
clear; screenfetch; sleep 3.2; clear; kali;
echo
wget -O install-nethunter-termux https://offs.ec/2MceZWr
chmod +x install-nethunter-termux
clear
./install-nethunter-termux
}
# clear
help(){
clear; kali
echo
echo -e "${bl}Made by ${gr}Adarsh Addee ${bl}with <3"
echo -e "${no}I'm not the owner of Kali-Liunx-Nethunter-OS"
echo
echo -e " ${gr}* ${bl}This script will help you to install ${rd}Kali-Nethunter${bl} in Termux."
echo
echo -e " ${gr}* ${rd}Great Powers ${bl}comes with ${rd}Great Responsiblities."
echo
echo -e "${no}Here are some commands.........?"
echo -e "${gr}-> Commands ${bl}-> Description"
echo -e "${gr} -h | --help ${bl}- Open help.\n"
echo -e "${gr} -u | --update ${bl}- Install Pacakages\n"
echo -e "${gr} -s | --start ${bl}- Start Installation.\n"
echo -e "${gr} -c | --commands ${bl}- Show commands.\n"
echo
echo -e "${no}visit 'https://www.kali.org/docs/nethunter/nethunter-rootless' for more info."
echo
echo -e "${yl}Wants to Connect with me:"
echo
echo -e "${gr}Search ${bl}Adarsh Addee ${gr}on Google and YouTube and support. ${rd}<3"
echo
}
commands(){
clear; kali; echo
echo -e "\n${rd}List of all available commands after successfull installation\n"
echo
echo -e " ${gr}nethunter ${bl}- start Kali Nethunter In CLI Mode"
echo
echo -e " ${gr}nethunter kex passwd ${bl}- configure the KeX password (need only before 1st use)"
echo
echo -e " ${gr}nethunter kex & ${bl}- start Kali Nethunter in GUI Mode"
echo
echo -e " ${gr}nethunter kex stop ${bl}- stop Kali Nethunter GUI Mode"
echo
echo -e " ${gr}nethunter <command> ${bl}- run <command> in Nethunter Environment"
echo
echo -e " ${gr}nethunter -r ${bl}- start Kali Nethunter CLI as root"
echo
echo -e " ${gr}nethunter -r kex passwd ${bl}- configure KeX password for root"
echo
echo -e " ${gr}nethunter -r kex & ${bl}- start Kali Nethunter GUI as root"
echo
echo -e " ${gr}nethunter -r kex stop ${bl}- stop Kali Nethunter GUI as root"
echo
echo -e " ${gr}nethunter -r kex kill ${bl}- kill all KeX sessions"
echo
echo -e " ${gr}nethunter -r <command> ${bl}- run <command> in Nethunter Environment as root"
echo
echo
echo -e "${no}visit 'https://www.kali.org/docs/nethunter/nethunter-rootless/' for more info"
echo
}
menu(){
case $1 in
"--help" | "-h")
help;;
"--commands" | "-c")
commands;;
"--start" | "-s")
start;;
"--update" | "-u")
update;;
"")
update; start;;
*)
help;;
esac
}
menu $1
if [ $? != 0 ]; then
clear; help;
fi