DUFFIHACKEUR / Halit-le-thug

import os def menu(): print(""" .########..#######...#######..##........######...######. ....##....##.....##.##.....##.##.......##....##.##....## ....##....##.....##.##.....##.##.......##.......##...... ....##....##.....##.##.....##.##........######...######. ....##....##.....##.##.....##.##.............##.......## ....##....##.....##.##.....##.##.......##....##.##....## ....##.....#######...#######..########..######...######. ======================================== Created By AnonHacker Channel: youtube.com/kalinuxx Facebook: facebook.com/kalinuxtutorials Ver: 2.0 ---- ONLY FOR TERMUX! ---- ========================================== 00. Turn your Android into Hacking Machine. ------------------------------------------ 1. Install Nmap 2. Install Hydra 3. Install SQLMap 4. Install Metasploit 5. Install ngrok 6. Install Kali Nethunter 7. Install angryFuzzer 8. Install Red_Hawk 9. Install Weeman 10. Install IPGeoLocation 11. Install Cupp 12. Instagram Bruteforcer (instahack) 13. Twitter Bruteforcer (TwitterSniper) 14. Install Ubuntu 15. Install Fedora 16. Install viSQL 17. Install Hash-Buster 18. Install D-TECT 19. Install routersploit ------------------------------------------ 99. Exit ========================================== """) loop = True while loop: menu() what = input("#: ") if what == "00": print("================================") print("This will install: nmap, hydra, sqlmap, metasploit, ngrok, angryFuzzer, red_hawk, weeman, IPGeoLocation, cupp, instahack, TwitterSniper, Hash-Buster, D-TECT, routersploit and viSQL with one click.") print("----------------") hm = input("[?] Do you want to continue? (y/n): ") print("================================") if hm == "y": print("========================================================") print("[+] Please put down you android and go to the toilet...") print("Because this will take a long time.") print("========================================================") os.system("pkg update") os.system("pkg install -y git") os.system("pkg install -y python") os.system("pkg install -y python2") os.system("pkg install -y wget") os.sysetm("pkg install -y nmap") os.system("plg install -y hydra ") os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install python2") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/sqlmapproject/sqlmap.git") os.system("cd /data/data/com.termux/files/home") os.system("pkg install wget") os.system("cd /data/data/com.termux/files/home && wget https://Auxilus.github.io/metasploit.sh") os.system("cd /data/data/com.termux/files/home && bash metasploit.sh") os.system("cd /data/data/com.termux/files/home && cd metasploit-framework") os.system("cd /data/data/com.termux/files/home && gem install bundle --pre") os.system("cd /data/data/com.termux/files/home && bundle config build.nokogiri --use-system-libraries") os.system("cd /data/data/com.termux/files/home && bundle install") os.system("cd /data/data/com.termux/files/home") os.system("pkg update -y") os.system("pkg install -y git") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/themastersunil/ngrok.git") os.system("cd /data/data/com.termux/files/home") os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python2") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/ihebski/angryFuzzer.git") os.system("cd /data/data/com.termux/files/home && cd angryFuzzer") os.system("cd /data/data/com.termux/files/home && pip2 install -r requirements.txt") os.system("cd /data/data/com.termux/files/home && pip2 install requests") os.system("cd /data/data/com.termux/files/home") os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y php") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/Tuhinshubhra/RED_HAWK") os.system("cd /data/data/com.termux/files/home") os.system("pkg update -y") os.system("pkg install -y python2") os.system("pkg install -y git") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/evait-security/weeman.git") os.system("cd /data/data/com.termux/files/home && cd weeman") os.system("cd /data/data/com.termux/files/home && chmod +x weeman.py") os.system("cd /data/data/com.termux/files/home") os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/maldevel/IPGeoLocation.git") os.system("cd /data/data/com.termux/files/home && cd IPGeoLocation") os.system("cd /data/data/com.termux/files/home && pip install -r requirements.txt") os.system("cd /data/data/com.termux/files/home") os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/Mebus/cupp.git") os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python") os.system("pkg install -y nano") os.system("pip install requests") os.system("pip install beautifulsoup4") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/avramit/instahack.git") os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python") os.system("pip install mechanicalsoup") os.system("pkg install -y nano") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/abdallahelsokary/TwitterSniper.git") os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python2") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/blackvkng/viSQL.git") os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python2") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/UltimateHackers/Hash-Buster.git") os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python2") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/shawarkhanethicalhacker/D-TECT.git") os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python2") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/reverse-shell/routersploit.git") os.system("cd /data/data/com.termux/files/home && cd routersploit") os.system("pip2 install -r requirements.txt") os.system("pip2 install -r requirements-dev.txt") os.system("pip2 install -r requests") os.system("clear") print("========================================") print("[+] everything successfully installed :)") print("[+] Happy Hacking <3") print("========================================") else: rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break if what == "1": os.system("cd /data/data/com.termux/files/home") os.system("pkg update -y") os.system("pkg install -y nmap") os.system("cd /data/data/com.termux/files/home") print("====================================") print("[+] nmap installed successfully :)") print("[+] Type 'nmap' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "2": os.system("cd /data/data/com.termux/files/home") os.system("pkg update -y") os.system("pkg install -y hydra") os.system("cd /data/data/com.termux/files/home") print("====================================") print("[+] hydra installed successfully :)") print("[+] Type 'hydra' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "3": os.system("cd /data/data/com.termux/files/home") os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install python2") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/sqlmapproject/sqlmap.git") os.system("cd /data/data/com.termux/files/home") print("====================================") print("[+] SQLMap installed successfully :)") print("[+] Go to sqlmap folder and type 'python2 sqlmap.py' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "4": os.system("pkg install -y wget") os.system("cd /data/data/com.termux/files/home && wget https://Auxilus.github.io/metasploit.sh") os.system("cd /data/data/com.termux/files/home && bash metasploit.sh") os.system("cd /data/data/com.termux/files/home && cd metasploit-framework") os.system("cd /data/data/com.termux/files/home && gem install bundle --pre") os.system("cd /data/data/com.termux/files/home && bundle config build.nokogiri --use-system-libraries") os.system("cd /data/data/com.termux/files/home && bundle install") os.system("cd /data/data/com.termux/files/home") print("====================================") print("[+] Metasploit installed successfully :)") print("[+] Type 'msfconsole' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "5": os.system("pkg update -y") os.system("pkg install -y git") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/themastersunil/ngrok.git") os.system("cd /data/data/com.termux/files/home") print("====================================") print("[+] ngrok installed successfully :)") print("[+] Go to ngrok folder and type './ngrok http 80' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "6": os.system("pkg update -y") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/Hax4us/Nethunter-In-Termux.git") os.system("cd /data/data/com.termux/files/home && cd Nethunter-In-Termux && chmod +x kalinethunter") os.system("cd /data/data/com.termux/files/home") print("====================================") print("[+] Nethunter installed successfully :)") print("[+] Go to Nethunter-In-Termux folder and type './kalinethunter' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "7": os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python2") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/ihebski/angryFuzzer.git") os.system("cd /data/data/com.termux/files/home && cd angryFuzzer") os.system("cd /data/data/com.termux/files/home && pip2 install -r requirements.txt") os.system("cd /data/data/com.termux/files/home && pip2 install requests") os.system("cd /data/data/com.termux/files/home") print("====================================") print("[+] angryFuzzer installed successfully :)") print("[+] Go to angryFuzzer folder and type 'python2 angryFuzzer.py' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "8": os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y php") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/Tuhinshubhra/RED_HAWK") os.system("cd /data/data/com.termux/files/home") print("====================================") print("[+] RED_HAWK installed successfully :)") print("[+] Go to RED_HAWK folder and type 'php rhawk.php' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "9": os.system("pkg update -y") os.system("pkg install -y python2") os.system("pkg install -y git") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/evait-security/weeman.git") os.system("cd /data/data/com.termux/files/home && cd weeman") os.system("cd /data/data/com.termux/files/home && chmod +x weeman.py") os.system("cd /data/data/com.termux/files/home") print("====================================") print("[+] weeman installed successfully :)") print("[+] Go to weeman folder and type 'python2 weeman.py' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "10": os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/maldevel/IPGeoLocation.git") os.system("cd /data/data/com.termux/files/home && cd IPGeoLocation") os.system("cd /data/data/com.termux/files/home && pip install -r requirements.txt") os.system("cd /data/data/com.termux/files/home") print("====================================") print("[+] IPGeoLocation installed successfully :)") print("[+] Go to IPGeoLocation folder and type 'python ipgeolocation.py' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "11": os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/Mebus/cupp.git") print("====================================") print("[+] Cupp installed successfully :)") print("[+] Go to cupp folder and type 'python cupp3.py' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "12": os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python") os.system("pkg install -y nano") os.system("pip install requests") os.system("pip install beautifulsoup4") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/avramit/instahack.git") print("====================================") print("[+] Instahack installed successfully :)") print("[+] Go to instahack folder and type 'python hackinsta.py' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "13": os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python") os.system("pip install mechanicalsoup") os.system("pkg install -y nano") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/abdallahelsokary/TwitterSniper.git") print("====================================") print("[+] TwitterSniper installed successfully :)") print("[+] Go to TwitterSniper folder and type 'python TwitterSniper.py' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "14": os.system("pkg update -y") os.system("pkg install -y git") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/Neo-Oli/termux-ubuntu.git") os.system("cd /data/data/com.termux/files/home && cd termux-ubuntu && bash ubuntu.sh") print("====================================") print("[+] Ubuntu installed successfully :)") print("[+] Go to termux-ubuntu folder and type './start.sh' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "15": os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y wget") os.system("apt update && apt install wget -y && /data/data/com.termux/files/usr/bin/wget https://raw.githubusercontent.com/nmilosev/termux-fedora/master/termux-fedora.sh") print("====================================") print("[+] Fedora installed successfully :)") print("[+] Type 'sh termux-fedora.sh f26_arm64' or 'sh termux-fedora.sh f26_arm' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "16": os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python2") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/blackvkng/viSQL.git") print("====================================") print("[+] viSQL installed successfully :)") print("[+] Go to viSQL folder and type 'python2 viSQL.py --help' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "17": os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python2") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/UltimateHackers/Hash-Buster.git") print("====================================") print("[+] Hash-Buster installed successfully :)") print("[+] Go to Hash-Buster folder and type 'python2 hash.py' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "18": os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python2") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/shawarkhanethicalhacker/D-TECT.git") print("====================================") print("[+] Hash-Buster installed successfully :)") print("[+] Go to Hash-Buster folder and type 'python2 hash.py' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break os.system("pkg update -y") os.system("pkg install -y git") os.system("pkg install -y python2") os.system("cd /data/data/com.termux/files/home && git clone https://github.com/reverse-shell/routersploit.git") os.system("cd /data/data/com.termux/files/home && cd routersploit") os.system("pip2 install -r requirements.txt") os.system("pip2 install -r requirements-dev.txt") os.system("pip2 install -r requests") print("====================================") print("[+] routersploit installed successfully :)") print("[+] Go to routersploit folder and type 'python2 rsf.py' to start.") print("====================================") rmenu = input("[?] Back to Menu? (y/n): ") if rmenu == "y": menu() else: break elif what == "99": print("Bye.") break
60 stars 24 forks source link

kalinethunter.txt #11

Open Lordservers opened 3 days ago

Lordservers commented 3 days ago

!/data/data/com.termux/files/usr/bin/bash -e

Copyright ©2018 by Hax4Us. All rights reserved. 🌎 🌍 🌏 🌐 🗺

#

https://hax4us.com

################################################################################

colors

red='\033[1;31m' yellow='\033[1;33m' blue='\033[1;34m' reset='\033[0m'

Clean up

pre_cleanup() { find $HOME -name "kali*" -type d -exec rm -rf {} \; || : }

post_cleanup() { find $HOME -name "kalifs*" -type f -exec rm -rf {} \; || : }

Utility function for Unknown Arch

#####################

Decide Chroot

#####################

setchroot() { chroot=full } unknownarch() { printf "$red" echo "[*] Unknown Architecture :(" printf "$reset" exit }

Utility function for detect system

checksysinfo() { printf "$blue [] Checking host architecture ..." case $(getprop ro.product.cpu.abi) in arm64-v8a) SETARCH=arm64 ;; armeabi|armeabi-v7a) SETARCH=armhf ;; ) unknownarch ;; esac }

Check if required packages are present

checkdeps() { printf "${blue}\n" echo " [] Updating apt cache..." apt update -y &> /dev/null echo " [] Checking for all required tools..."

for i in proot tar axel; do
    if [ -e $PREFIX/bin/$i ]; then
        echo "  • $i is OK"
    else
        echo "Installing ${i}..."
        apt install -y $i || {
            printf "$red"
            echo " ERROR: check your internet connection or apt\n Exiting..."
            printf "$reset"
            exit
        }
    fi
done
apt upgrade -y

}

URLs of all possibls architectures

seturl() { URL="https://images.kali.org/nethunter/kalifs-${SETARCH}-${chroot}.tar.xz" }

Utility function to get tar file

gettarfile() { printf "$blue [*] Getting tar file...$reset\n\n" DESTINATION=$HOME/kali-${SETARCH} seturl cd $HOME rootfs="kalifs-${SETARCH}-${chroot}.tar.xz" if [ ! -f "$rootfs" ]; then axel ${EXTRAARGS} --alternate "$URL" else printf "${red}[!] continuing with already downloaded image, if this image is corrupted or half downloaded then delete it manually to download a fresh image.$reset\n\n" fi }

Utility function to get SHA

getsha() { printf "\n${blue} [*] Getting SHA ... $reset\n\n" if [ -f kalifs-${SETARCH}-${chroot}.sha512sum ]; then rm kalifs-${SETARCH}-${chroot}.sha512sum fi axel ${EXTRAARGS} --alternate "https://images.kali.org/nethunter/kalifs-${SETARCH}-${chroot}.sha512sum" -o kalifs-${SETARCH}-${chroot}.sha512sum }

Utility function to check integrity

checkintegrity() { printf "\n${blue} [] Checking integrity of file...\n" echo " [] The script will immediately terminate in case of integrity failure" printf ' ' sha512sum -c kalifs-${SETARCH}-${chroot}.sha512sum || { printf "$red Sorry :( to say your downloaded linux file was corrupted or half downloaded, but don't worry, just rerun my script\n${reset}" exit 1 } }

Utility function to extract tar file

extract() { printf "$blue [*] Extracting... $reset\n\n" proot --link2symlink tar -xf $rootfs -C $HOME 2> /dev/null || : }

Utility function for login file

createloginfile() { bin=${PREFIX}/bin/startkali cat > $bin <<- EOM

!/data/data/com.termux/files/usr/bin/bash -e

unset LD_PRELOAD if [ ! -f $DESTINATION/root/.version ]; then touch $DESTINATION/root/.version fi user=kali home="/home/\$user" LOGIN="sudo -u \$user /bin/bash" if [[ ("\$#" != "0" && ("\$1" == "-r")) ]]; then user=root home=/\$user LOGIN="/bin/bash --login" shift fi

cmd="proot \ --link2symlink \ -0 \ -r ${DESTINATION} \ -b /dev \ -b /proc \ -b $DESTINATION\$home:/dev/shm \ -b /sdcard \ -b $HOME \ -w \$home \ /usr/bin/env -i \ HOME=\$home TERM="\$TERM" \ LANG=\$LANG PATH=/bin:/usr/bin:/sbin:/usr/sbin \ \$LOGIN"

args="\$@" if [ "\$#" == 0 ]; then exec \$cmd else \$cmd -c "\$args" fi EOM chmod 700 $bin }

printline() { printf "${blue}\n" echo " #---------------------------------#" }

Start

clear EXTRAARGS="" if [[ ! -z $1 ]]; then EXTRAARGS=$1 if [[ $EXTRAARGS != "--insecure" ]]; then EXTRAARGS="" fi fi

printf "\n${yellow} You are going to install Kali Nethunter In Termux Without Root ;) Cool\n\n"

pre_cleanup checksysinfo checkdeps setchroot gettarfile getsha checkintegrity extract createloginfile post_cleanup

printf "$blue [*] Configuring Kali For You ..."

Utility function for resolv.conf

resolvconf() {

create resolv.conf file

printf "\nnameserver 8.8.8.8\nnameserver 8.8.4.4" > ${DESTINATION}/etc/resolv.conf

} resolvconf

################

finaltouchup

################

finalwork() { [ -e $HOME/finaltouchup.sh ] && rm $HOME/finaltouchup.sh echo axel -a https://github.com/Hax4us/Nethunter-In-Termux/raw/master/finaltouchup.sh DESTINATION=$DESTINATION SETARCH=$SETARCH bash $HOME/finaltouchup.sh } finalwork

printline printf "\n${yellow} Now you can enjoy Kali Nethuter in your Termux :)\n Don't forget to like my hard work for termux and many other things\n" printline printline printf "\n${blue} [] My official email:${yellow} lkpandey950@gmail.com\n" printf "$blue [] My website:${yellow} https://hax4us.com\n" printf "$blue [*] My YouTube channel:${yellow} https://youtube.com/hax4us\n" printline printf "$reset"

Lordservers commented 3 days ago

shmod+x