Skip to content

#!/data/data/com.termux/files/usr/bin/bash -e VERSION=2020011601 BASE_URL=https://images.kali.org/nethunter USERNAME=kali function unsupported_arch() { printf "${red}" echo "[*] Unsupported Architecture\n\n" printf "${reset}" exit } function ask() { # http://djm.me/ask while true; do if [ "${2:-}" = "Y" ]; then prompt="Y/n" default=Y elif [ "${2…

Notifications You must be signed in to change notification settings

sa3o-albrifkipp/kalilinubysa3o

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

kalilinubysa3o

#!/data/data/com.termux/files/usr/bin/bash -e VERSION=2020011601 BASE_URL=https://images.kali.org/nethunter USERNAME=kali function unsupported_arch() { printf "${red}" echo "[] Unsupported Architecture\n\n" printf "${reset}" exit } function ask() { # http://djm.me/ask while true; do if [ "${2:-}" = "Y" ]; then prompt="Y/n" default=Y elif [ "${2:-}" = "N" ]; then prompt="y/N" default=N else prompt="y/n" default= fi # Ask the question printf "${light_cyan}\n[?] " read -p "$1 [$prompt] " REPLY # Default? if [ -z "$REPLY" ]; then REPLY=$default fi printf "${reset}" # Check if the reply is valid case "$REPLY" in Y|y*) return 0 ;; N*|n*) return 1 ;; esac done } function get_arch() { printf "${blue}[*] Checking device architecture ..." case $(getprop ro.product.cpu.abi) in arm64-v8a) SYS_ARCH=arm64 ;; armeabi|armeabi-v7a) SYS_ARCH=armhf ;; *) unsupported_arch ;; esac } function set_strings() { CHROOT=kali-${SYS_ARCH} IMAGE_NAME=kalifs-${SYS_ARCH}-full.tar.xz SHA_NAME=kalifs-${SYS_ARCH}-full.sha512sum } function prepare_fs() { unset KEEP_CHROOT if [ -d ${CHROOT} ]; then if ask "Existing roo

About

#!/data/data/com.termux/files/usr/bin/bash -e VERSION=2020011601 BASE_URL=https://images.kali.org/nethunter USERNAME=kali function unsupported_arch() { printf "${red}" echo "[*] Unsupported Architecture\n\n" printf "${reset}" exit } function ask() { # http://djm.me/ask while true; do if [ "${2:-}" = "Y" ]; then prompt="Y/n" default=Y elif [ "${2…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published