-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKali.sh
54 lines (38 loc) · 2.37 KB
/
Kali.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
#!/data/data/com.termux/files/usr/bin/bash
clear
echo "
██╗ ██╗ █████╗ ██╗ ██╗ ██╗ ██╗███╗ ██╗██╗ ██╗██╗ ██╗
██║ ██╔╝██╔══██╗██║ ██║ ██║ ██║████╗ ██║██║ ██║╚██╗██╔╝
█████╔╝ ███████║██║ ██║ ██║ ██║██╔██╗ ██║██║ ██║ ╚███╔╝
██╔═██╗ ██╔══██║██║ ██║ ██║ ██║██║╚██╗██║██║ ██║ ██╔██╗
██║ ██╗██║ ██║███████╗██║ ███████╗██║██║ ╚████║╚██████╔╝██╔╝ ██╗
╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚══════╝╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝
"
center() {
termwidth=$(stty size | cut -d" " -f2)
padding="$(printf '%0.1s' ={1..500})"
printf '%*.*s %s %*.*s\n' 0 "$(((termwidth-2-${#1})/2))" "$padding" "$1" 0 "$(((termwidth-1-${#1})/2))" "$padding"
}
echo " Loading..."
source <(echo "c3Bpbm5lcj0oICd8JyAnLycgJy0nICdcJyApOwoKY291bnQoKXsKICBzcGluICYKICBwaWQ9JCEKICBmb3IgaSBpbiBgc2VxIDEgMTBgCiAgZG8KICAgIHNsZWVwIDE7CiAgZG9uZQoKICBraWxsICRwaWQgIAp9CgpzcGluKCl7CiAgd2hpbGUgWyAxIF0KICBkbyAKICAgIGZvciBpIGluICR7c3Bpbm5lcltAXX07IAogICAgZG8gCiAgICAgIGVjaG8gLW5lICJcciRpIjsKICAgICAgc2xlZXAgMC4yOwogICAgZG9uZTsKICBkb25lCn0KCmNvdW50" | base64 -d)
echo
center "*** Dependencies installation***"
pkg upgrade -y -o Dpkg::Options::="--force-confnew"
pkg install -y git wget -o Dpkg::Options::="--force-confnew"
apt install proot-distro -y
clear
echo
echo "*** Downloading***"
wget https://raw.githubusercontent.com/NabinSharmaitgithub/Metasploit-in-termux/main/l
chmod +x l
./l
proot-distro install klinux
echo
echo "*** Installation***"
proot-distro login klinux
echo
center "*"
echo -e "\033[32m YOU CAN USE "proot-distro login klinux" TO START KALI LINUX AGAIN
TO USE KALI LINIX IN GUI USE THE SCRIPT \033[0m"
center "*"
am start -a android.intent.action.VIEW -d "https://github.com/NabinSharmaitgithub"