-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinstall-nethunter
executable file
·81 lines (73 loc) · 3.79 KB
/
install-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
#!/bin/bash
# This is a beta testing.
clear
printf "\033[0;31m ███╗ ███╗██████╗ ███████╗ ██████╗ ██╗ ██╗██╗███████╗ \n"
printf "\033[0;31m ████╗ ████║██╔══██╗██╔════╝██╔═══██╗╚██╗██╔╝██║██╔════╝ \n"
printf "\033[0;31m ██╔████╔██║██████╔╝█████╗ ██║ ██║ ╚███╔╝ ██║█████╗ \n"
printf "\033[0;31m ██║╚██╔╝██║██╔══██╗██╔══╝ ██║ ██║ ██╔██╗ ██║██╔══╝ \n"
printf "\033[0;31m ██║ ╚═╝ ██║██║ ██║██║ ╚██████╔╝██╔╝ ██╗██║███████╗ \n"
printf "\033[0;31m ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝╚══════╝ \n"
printf "\n"
printf "\033[0;32m This is the beta testing. If there is any error then create issue @github mrfoxie/repair-kex.\n"
printf "\n"
printf "\n"
printf "Process will start in few seconds\n"
sleep 5s
clear
# Updating repo
printf "Updating database.\n"
apt update
clear
printf "Database update.\n"
clear
# Setting up storage permission
printf "Grant storage permission\n"
termux-setup-storage
clear
printf "Accessing storage for reciving files for installation.\n"
sleep 5s
clear
# Wget pkg installation
printf "Installation of wget pkg.\n"
pkg install wget -y
clear
printf "Installation of wget pkg completed.\n"
sleep 3s
clear
# Downloading script
printf "Getting script from offs.ec\n"
wget -O install-nethunter-termux https://offs.ec/2MceZWr
clear
printf "Script Downloaded.\n"
sleep 2s
clear
printf "Giving permission to file.\n"
chmod +x install-nethunter-termux
sleep 3s
clear
printf "Permission granted to excecute.\n"
sleep 3s
printf "Installation will start in 5s.\n"
sleep 5s
clear
./install-nethunter-termux
#!/bin/bash
# This is a beta testing.
clear
printf "\033[0;31m ███╗ ███╗██████╗ ███████╗ ██████╗ ██╗ ██╗██╗███████╗ \n"
printf "\033[0;31m ████╗ ████║██╔══██╗██╔════╝██╔═══██╗╚██╗██╔╝██║██╔════╝ \n"
printf "\033[0;31m ██╔████╔██║██████╔╝█████╗ ██║ ██║ ╚███╔╝ ██║█████╗ \n"
printf "\033[0;31m ██║╚██╔╝██║██╔══██╗██╔══╝ ██║ ██║ ██╔██╗ ██║██╔══╝ \n"
printf "\033[0;31m ██║ ╚═╝ ██║██║ ██║██║ ╚██████╔╝██╔╝ ██╗██║███████╗ \n"
printf "\033[0;31m ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝╚══════╝ \n"
printf "\n"
printf "\033[0;31m\n"
printf "\033[0;33m ###################################################\n"
printf "\033[0;33m # Rootless Nethuner #\n"
printf "\033[0;33m # installed success!! #\n"
printf "\033[0;33m ###################################################\n"
printf "\033[0;32m nethunter or nh # to access kali linux.\n"
printf "\033[0;32m nethunter -r # to start as a root user.\n"
printf "\033[0;32m packing up all things.\n"
sleep 5s
printf "\033[0;31m Thank you for using it. If kex is not working then this repo again and use ./beta-repair-kex\n"