diff --git a/Changelog b/Changelog index e921ccc..16533f9 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,18 @@ +2.1.6 +Minor cosmetic updates +Wifite: Changed bin path /usr/bin/wifite -> /usr/sbin/wifite +Wifite: Added additional modules to install_wifite: hcxdumptool hcxtools +Trity: Updated Github url -> https://github.com/samyoyo/Trity-1.git +Wifiphisher: Added installation of dependencies libnl-3-dev libnl-genl-3-dev +Xeres: Updated Github url -> https://github.com/sepehrdaddev/Xerxes.git +Xeres: Updated installation steps +nWatch: Updated Github url -> https://github.com/Cyber-Forensic/nWatch.git +Wifi-Pumpkin: Added execute permissions to installation script before launching +secHub: Updated Github url -> https://github.com/cys3c/secHub.git +Yuki-Chan: Changed function name to match call +Fixed missing color change at the end of some prompts + + 2.1.5 Remade installation menu, now you can select multiple tools at once. Fixed no output when handshake scanning. diff --git a/IAGREE.txt b/IAGREE.txt new file mode 100644 index 0000000..b7b4d9a --- /dev/null +++ b/IAGREE.txt @@ -0,0 +1 @@ +You have agreed the terms and you use this tool with your own responsibility. diff --git a/README.md b/README.md index 8049795..9ab1fd8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -## Welcome to the LAZY script v2.1.4 +## Welcome to the LAZY script v2.1.6

- + @@ -39,7 +39,7 @@ View your MAC faster You can install whichever tool(s) you want from within lscript! Fluxion by Deltaxflux - WifiTe by derv82 + Wifite2 by derv82 Wifiphisher by George Chatzisofroniou Zatacker by LawrenceThePentester Morpheus by Pedro ubuntu [ r00t-3xp10it ] @@ -129,7 +129,7 @@ View your MAC faster # How to install (Kali Linux) (make sure you are a root user) -**Be carefull.If you download it as a .zip file, it will not run.Make sure to follow these simple instructions.** +**Be carefull. If you download it as a .zip file, it will not run. Make sure to follow these simple instructions.** **MADE FOR KALI LINUX** diff --git a/eth.txt b/eth.txt new file mode 100644 index 0000000..614e8de --- /dev/null +++ b/eth.txt @@ -0,0 +1 @@ +eth0 diff --git a/install.sh b/install.sh index 2fd4db5..5993989 100644 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ clear DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" if [[ "$DIR" != "/root/lscript" ]] then - echo -e "You didn't follow the github's simple install instructions.I will try to do it for you..." + echo -e "You didn't follow the github's simple install instructions. I will try to do it for you..." sleep 4 if [[ -d /root/lscript ]] then @@ -20,7 +20,7 @@ then fi echo -e "Installing lscript..." sleep 1 -echo -e "Fixing permissions" +echo -e "Setting permissions" sleep 2 chmod +x /root/lscript/lh1 chmod +x /root/lscript/lh2 @@ -60,25 +60,25 @@ then mkdir /root/handshakes echo -e "Made /root/handshake directory" else - echo -e "/root/handshakes directory detected.Good." + echo -e "/root/handshakes directory detected. Good." fi if [[ ! -d /root/wordlists ]] then mkdir /root/wordlists echo -e "Made /root/wordlists directory" else - echo -e "/root/wordlists directory detected.Good." + echo -e "/root/wordlists directory detected. Good." fi while true do clear echo -e "Are you \e[1;33mu\e[0mpdating or \e[1;33mi\e[0mnstalling the script?(\e[1;33mu\e[0m/\e[1;33mi\e[0m): " -echo -e "Only use 'i' for the first time." +echo -e "Only use 'i' ONLY for the first time." read UORI if [[ "$UORI" = "u" ]] then clear - echo -e "Type 'changelog' to see what's new on this version" + echo -e "Type 'changelog' to see what's new in this version" sleep 3 break elif [[ "$UORI" = "i" ]] diff --git a/l b/l index e204636..4750627 100644 --- a/l +++ b/l @@ -1,12 +1,12 @@ #! /bin/bash # set -x -VERSION=2.1.5 +VERSION=2.1.6.0.0 #Number of tools with keyboard shortcut support -HOWMANYTOOLS=53 +HOWMANYTOOLS=98 BACKL="0" DONATIONS=13 -LATESTCHANGELOGLINES=26 +LATESTCHANGELOGLINES=14 cd #############DEFAULTS############### function defaults_l @@ -104,123 +104,8 @@ toolarray=( wififb="wififb" } + ##############FUNCTIONS############# -function local_ips() -{ - iffile=""$LPATH"/iftemp.txt" - #passing an interface if any - LF="$1" - GREPP=$(ifconfig) - if [[ "$LF" = "" ]] - then - echo -e ""$BS"Local IPs"$CE": " - TEST=$(echo "$GREPP" | grep "$ETH:") - n=0 - if [[ $TEST != "" ]] - then - ifconfig "$ETH" > $iffile - LOCALETH=$(cat $iffile | grep " inet " | awk -F "inet " {'print $2'} | cut -d ' ' -f1) - cho=$(is_it_an_ip $LOCALETH) - if [[ "$cho" = 1 ]] - then - echo -e ""$ETH" = "$YS"$LOCALETH"$CE"" - n=1 - fi - fi - TEST=$(echo "$GREPP" | grep "$WLANN:") - if [[ $TEST != "" ]] - then - ifconfig $WLANN > $iffile - LOCALMA=$(cat $iffile | grep " inet " | awk -F "inet " {'print $2'} | cut -d ' ' -f1) - cho=$(is_it_an_ip $LOCALMA) - if [[ "$cho" = 1 ]] - then - echo -e "$WLANN = "$YS"$LOCALMA"$CE"" - n=1 - fi - fi - TEST=$(echo "$GREPP" | grep "$WLANNM:") - if [[ $TEST != "" ]] - then - ifconfig $WLANNM > $iffile - LOCALMO=$(cat $iffile | grep " inet " | awk -F "inet " {'print $2'} | cut -d ' ' -f1) - cho=$(is_it_an_ip $LOCALMO) - if [[ "$cho" = 1 ]] - then - echo -e "$WLANNM = "$YS"$LOCALMO"$CE"" - n=1 - fi - fi - if [[ "$n" = 0 ]] - then - echo -e ""$RS"No known interfaces found available"$CE"" - fi - echo -e "" - find_gateways - else - TEST=$(echo "$GREPP" | grep "$LF:") - if [[ $TEST != "" ]] - then - ifconfig $LF > $iffile - LOCALM=$(cat $iffile | grep " inet " | awk -F "inet " {'print $2'} | cut -d ' ' -f1) - cho=$(is_it_an_ip $LOCALM) - if [[ "$cho" = 1 ]] - then - OUTPUT="$LOCALM" - echo -e "$OUTPUT" - fi - fi - fi -} -function give_ip_take_zero() -{ - #passing an ip - GI1="$1" - GI2="$2" - if [[ "$GI1" = "" ]] - then - echo -e ""$RS"Error 7. No parameters passed"$CE"" - sleep 3 - else - ip1=$(echo -e "$GI1" | cut -d '.' -f1) - ip2=$(echo -e "$GI1" | cut -d '.' -f2) - ip3=$(echo -e "$GI1" | cut -d '.' -f3) - if [[ "$GI2" = "" ]] - then - OUTPUT=""$ip1"."$ip2"."$ip3".0" - else - OUTPUT=""$ip1"."$ip2"."$ip3"." - fi - echo "$OUTPUT" - fi -} -function is_it_an_ip() -{ - IIA=$1 - IIAI=${#IIA} - if [[ "$IIA" = "" ]] - then - echo -e ""$RS"Error 9. No parameteres passed" - sleep 2 - else - if [[ "$IIAI" -le 15 && "$IIAI" -ge 7 ]] - then - echo 1 - else - echo 0 - fi - fi -} -function latest_changelog -{ - clear - printf '\033]2;LATEST CHANGELOG\a' - echo -e ""$BS"Wellcome to version $VERSION"$CE"" - echo -e "What is included in this update: " - cat "$LPATH"/Changelog | head -n $LATESTCHANGELOGLINES - echo -e "$PAKTC" - $READAK -} function finish { echo -e ""$RS"Hard kill detected.."$CE"" @@ -283,598 +168,45 @@ function banner echo -e "$COL ██║ ██╔══██║ ███╔╝ ╚██╔╝ $CE" echo -e "$COL The ███████╗██║ ██║███████╗ ██║ script$CE" echo -e "$COL ╚══════╝╚═╝ ╚═╝╚══════╝ ╚═╝ $CE" - echo -e ""$YS"if"$CE") Ifconfig "$YS"l"$CE") Local IPs & gateways "$RS"|"$CE" "$YS"scan"$CE") Arp-scan network" - if [[ "$WLANCHECKING" = "" ]] - then - echo -e ""$RS" 1"$CE") Enable "$RS"$WLANN"$CE"${SPACESN}"$RS"d1"$CE") Disable "$RS"$WLANN"$CE"${SPACESN} "$RS"|"$CE" "$YS"start"$CE") Start monitor mode" - echo -e ""$RS" 2"$CE") Enable "$RS"$WLANNM"$CE"${SPACESM}"$RS"d2"$CE") Disable "$RS"$WLANNM"$CE"${SPACESM} "$RS"|"$CE" "$YS"stop"$CE") Stop monitor mode" - else - echo -e ""$YS" 1"$CE") Enable $WLANN${SPACESN}"$YS"d1"$CE") Disable $WLANN${SPACESN} "$RS"|"$CE" "$YS"start"$CE") Start monitor mode" - echo -e ""$YS" 2"$CE") Enable $WLANNM${SPACESM}"$YS"d2"$CE") Disable $WLANNM${SPACESM} "$RS"|"$CE" "$YS"stop"$CE") Stop monitor mode" - fi - echo -e ""$YS" 3"$CE") Change MAC "$YS"d3"$CE") Restore original MAC "$RS"|"$CE""$YS"update"$CE") Check for updates" - if [[ -f /usr/bin/anonym8 ]] - then - echo -e ""$YS" 4"$CE") Enable anonym8 "$YS"d4"$CE") Disable anonym8 "$RS"|"$CE""$YS"errors"$CE") Fix some errors" - else - echo -e ""$RS" 4"$CE") Enable anonym8 "$RS"d4"$CE") Disable anonym8 "$RS"|"$CE""$YS"errors"$CE") Fix some errors" - fi - if [[ -f /usr/bin/anonsurf ]] - then - echo -e ""$YS" 5"$CE") Enable anonsurf "$YS"d5"$CE") Disable anonsurf "$RS"|"$CE" "$YS"ks"$CE") Keyboard shortucts" - echo -e ""$YS" 6"$CE") Anonsurf's status "$YS"d6"$CE") Restart anonsurf "$RS"|"$CE""$YS" d"$CE") Buy me a coffee" - else - echo -e ""$RS" 5"$CE") Enable anonsurf "$RS"d5"$CE") Disable anonsurf "$RS"|"$CE" "$YS"ks"$CE") Keyboard shortucts" - echo -e ""$RS" 6"$CE") Anonsurf's status "$RS"d6"$CE") Restart anonsurf "$RS"|"$CE" "$YS"d"$CE") Buy me a coffee" - fi - echo -e ""$YS" 7"$CE") View public IP "$RS"|"$CE" "$YS"s"$CE") Go to settings menu" - echo -e ""$YS" 8"$CE") View MAC" - echo -e ""$YS" 9"$CE") TOOLS "$YS"15"$CE") Spoof EMAIL "$YS"22"$CE") Show bandwidth" - if [[ -f /root/ngrok ]] - then - echo -e ""$YS"10"$CE") Handshake "$YS"16"$CE") Ngrok port forward" - else - echo -e ""$YS"10"$CE") Handshake "$RS"16"$CE") "$RS"Ngrok"$CE" port forward" - fi - if [[ -f /usr/local/bin/howdoi ]] - then - echo -e ""$YS"11"$CE") Find WPS pin "$YS"17"$CE") Ask (Howdoi tool)" - else - echo -e ""$YS"11"$CE") Find WPS pin "$RS"17"$CE") Ask ("$RS"Howdoi"$CE" tool)" - fi - echo -e ""$YS"12"$CE") WEP menu "$YS"18"$CE") Auto-exploit browser" - echo -e ""$YS"13"$CE") MITM "$YS"19"$CE") Geolocate an IP" - echo -e ""$YS"14"$CE") Metasploit "$YS"20"$CE") Bruteforce login" - echo -e ""$YS" 0"$CE") Exit "$YS"21"$CE") Sqlmap automated" + echo -e ""$YS" 9"$CE") TOOLS" echo "Choose: " read -e YORNAA #~ echo "$YORNNA" #~ history -s "$YORNNA" clear } -function enable_wlan -{ - O4=0 - echo -e "Enabling $WLANN..." - rfkill unblock wifi &> /dev/null; rfkill unblock all &> /dev/null - ifconfig $WLANN up &>/dev/null && echo -e ""$YS"Done"$CE"" && O4=1 || echo -e ""$RS"Error. I can't find your wireless adapter"$CE"" -} -function disable_wlan -{ - echo -e "Disabling $WLANN..." - rfkill unblock wifi &> /dev/null; rfkill unblock all &> /dev/null - ifconfig $WLANN down &>/dev/null && echo -e ""$YS"Done"$CE"" && O4=1 || echo -e ""$RS"Error. I can't find your wireless adapter."$CE"" -} -function interface_selection -{ -if [[ "$WLANCHECKING" = "" ]] -then - echo -e ""$RS" 1"$CE") $WLANN" -else - echo -e ""$YS" 1"$CE") $WLANN" -fi -if [[ "$WLANMCHECKING" = "" ]] -then - echo -e ""$RS" 2"$CE") $WLANNM" -else - echo -e ""$YS" 2"$CE") $WLANNM" -fi -echo -e ""$YS" 3"$CE") "$ETH"" -echo -e ""$YS" b"$CE") Main menu" -echo -e ""$YS" 0"$CE") EXIT" -echo -e "Choose: " -read -e MYINT -if [[ "$MYINT" = "2" ]] -then - if [[ "$WLANMCHECKING" = "" ]] - then - MYINT="OFF" - else - MYINT="$WLANNM" - fi -elif [[ "$MYINT" = "1" ]] -then - if [[ "$WLANCHECKING" = "" ]] - then - MYINT="OFF" - else - MYINT="$WLANN" - fi -elif [[ "$MYINT" = "0" ]] -then - clear - exit -elif [[ "$MYINT" = "00" || "$MYINT" = "b" ]] -then - exec bash "$0" -elif [[ "$MYINT" = "3" ]] -then - MYINT="$ETH" -else -echo -e "Wrong choice..." -sleep 2 -clear -echo -e "EXITING" -sleep 1 -exec bash "$0" -fi -export MYINT -} -function change_mac -{ - interface_selection - clear - if [[ "$MYINT" = "OFF" ]] - then - echo -e "Interface not available" - sleep 2 - else - echo -e "Change it to a random or specific?("$YS"r"$CE"/"$YS"s"$CE")("$YS"Enter"$CE"=r): " - read -e RORS - clear - if [[ "$RORS" != "s" ]] - then - echo -e "Changing mac address of $MYINT to a random one..." - ifconfig $MYINT down - macchanger -r $MYINT - ifconfig $MYINT up - echo -e "Done." - else - echo -e "Enter the MAC you want:" - read -e SMAC - echo -e "Changing mac address of $MYINT to $SMAC..." - ifconfig $MYINT down - macchanger -m $SMAC $MYINT - ifconfig $MYINT up - echo -e "Done." - fi - fi -} -function set_interface_number -{ -clear -while true -do -echo -e "Enter the name of your wireless interface when in "$RS"managed"$CE" mode("$YS"Enter"$CE"=wlan0): " -read MANAGED -if [[ "$MANAGED" = "" ]] -then - MANAGED="wlan0" -fi -echo -e "Enter the name of your wireless interface when in "$RS"monitor"$CE" mode("$YS"Enter"$CE"=wlan0mon): " -read MONITOR -if [[ "$MONITOR" = "" ]] -then - MONITOR="wlan0mon" -fi -echo -e "Enter the name of your wired interface("$YS"Enter"$CE"="eth0"): " -read WIRED -if [[ "$WIRED" = "" ]] -then - WIRED="eth0" -fi - echo "$MANAGED" > "$LPATH"/wlan.txt - echo "$MONITOR" > "$LPATH"/wlanmon.txt - echo "$WIRED" > "$LPATH"/eth.txt - echo -e ""$YS"Done"$CE"" - sleep 1 - clear - echo -e ""$BS"If you want to change it, type "$CE""$YS"interface"$CE""$BS" any time"$CE"" - sleep 3 - echo -e "$PAKTC" - $READAK - BACKL="1" - break -done -} -function checkifalready -{ - GOOD="1" - num=1 - while [ $num -le 20 ] - do - if [[ "$CHECKKS" = "$num" ]] - then - GOOD="0" - echo -e ""$RS"This shortcut is already in use by the script."$CE"" - sleep 3 - fi - num=$(( num+1 )) - done - if [[ "$GOOD" = "1" ]] - then - if [[ "$CHECKKS" = "etercheck" || "$CHECKKS" = "eternalblue" || "$CHECKKS" = "changelog" || "$CHECKKS" = "wififb" || "$CHECKKS" = "nessusstop" || "$CHECKKS" = "nessusstart" || "$CHECKKS" = "pstop" || "$CHECKKS" = "pstart" || "$CHECKKS" = "astop" || "$CHECKKS" = "astart" || "$CHECKKS" = "settings" || "$CHECKKS" = "donate" || "$CHECKKS" = "d" || "$CHECKKS" = "s" || "$CHECKKS" = "g" || "$CHECKKS" = "l" || "$CHECKKS" = "" || "$CHECKKS" = "if" || "$CHECKKS" = "ifconfig" || "$CHECKKS" = "interfaces" || "$CHECKKS" = "interface" || "$CHECKKS" = "errors" || "$CHECKKS" = "00" || "$CHECKKS" = "exit" || "$CHECKKS" = "update" || "$CHECKKS" = "d1" || "$CHECKKS" = "d2" || "$CHECKKS" = "d3" || "$CHECKKS" = "d4" || "$CHECKKS" = "d5" || "$CHECKKS" = "d6" || "$CHECKKS" = "d7" || "$CHECKKS" = "gg" || "$CHECKKS" = "ks" ]] - then - GOOD="0" - echo -e ""$RS"This shortcut is already in use by the script."$CE"" - sleep 3 - fi - fi - if [[ "$CHECKKS" = "delete" ]] - then - GOOD="0" - fi - #~ if [[ "$CHECKKS" = "b" || "$CHECKKS" = "back" ]] - #~ then - #~ GOOD="0" - #~ fi - if [[ "$GOOD" = "1" ]] - then - BACKUPTITLE="$TITLE" - BACKUPNN="$nn" - num=1 - while [[ $num -le "$HOWMANYTOOLS" ]] - do - nn="$num" - listshortcuts - if [[ -f ""$KSPATH"/"$TITLE"/"$TITLE"ks.txt" ]] - then - read KSIFALREADY < "$KSPATH"/"$TITLE"/"$TITLE"ks.txt - if [[ "$CHECKKS" == "$KSIFALREADY" ]] - then - echo -e ""$RS"Shortcut '"$CHECKKS"' is already in use by "$TITLE""$CE"" - GOOD=0 - sleep 3 - fi - fi - num=$(( num+1 )) - done - nn="$BACKUPNN" - TITLE="$BACKUPTITLE" - fi - clear -} -function createshortcut -{ -if [[ ! -d ""$KSPATH"/$TITLE" ]] -then - mkdir "$KSPATH"/"$TITLE" -fi -clear -echo -e "Enter the keyboard shortcut that will open "$TITLE" from lscript's main menu" -echo -e "(e.g: "$YS""$TITLE""$CE")" -echo -e "To delete it , type: "$YS"delete"$CE"" -echo -e ""$YS" b"$CE") Go back" -read CHECKKS -if [[ "$CHECKKS" = "back" || "$CHECKKS" = "b" ]] -then - clear - BACKKS=1 - break -else - BACKKS=0 - if [[ "$BACKKS" == 0 ]] - then - CHECKKSBACKUP="$CHECKKS" - NAMECDBACKUP="$NAMECD" - KSSETBACKUP="$KSSET" - checkifalready - CHECKKS="$CHECKKSBACKUP" - NAMECD="$NAMECDBACKUP" - KSSET="$KSSETBACKUP" - if [[ "$GOOD" = "1" ]] - then - echo -e "Shortcut is ok.Setting it up..." - sleep 1 - echo "$CHECKKS" > "$KSPATH"/"$TITLE"/"$TITLE"ks.txt - echo "$NAMECD" > "$KSPATH"/"$TITLE"/"$TITLE".txt - echo "$KSSET" > "$KSPATH"/"$TITLE"/"$TITLE"2.txt - echo -e "Done!" - echo -e "$PAKTGB" - $READAK - clear - #break - else - clear - echo -e "Removing shortcut for "$TITLE"..." - rm -r "$KSPATH"/"$TITLE" - sleep 1 - echo -e "Done." - echo -e "$PAKTGB" - $READAK - clear - #break - fi - else - break - fi -fi -} -function listshortcuts -{ - EXTRA1="" - if [[ "$nn" = "1" ]] - then - TITLE="Fluxion" - NAMECD="cd /root/fluxion" - KSSET="./fluxion*" - elif [[ "$nn" = "2" ]] - then - TITLE="Zirikatu" - NAMECD="cd /root/zirikatu" - KSSET="./zirikatu.sh" - elif [[ "$nn" = "3" ]] - then - TITLE="Wifite" - NAMECD="" - KSSET="wifite" - elif [[ "$nn" = "4" ]] - then - TITLE="Wifiphisher" - NAMECD="" - KSSET="wifiphisher" - elif [[ "$nn" = "5" ]] - then - TITLE="Zatacker" - NAMECD="cd /root/Zatacker" - KSSET="./ZT.sh" - elif [[ "$nn" = "6" ]] - then - TITLE="Morpheus" - NAMECD="cd /root/morpheus" - KSSET="./morpheus.sh" - elif [[ "$nn" = "7" ]] - then - TITLE="Hakku" - NAMECD="cd /root/hakkuframework" - KSSET="./hakku" - elif [[ "$nn" = "8" ]] - then - TITLE="Trity" - NAMECD="" - KSSET="trity" - elif [[ "$nn" = "9" ]] - then - TITLE="Cupp" - NAMECD="cd /root/cupp" - KSSET="python cupp.py -i" - elif [[ "$nn" = "10" ]] - then - TITLE="Dracnmap" - NAMECD="cd /root/Dracnmap" - KSSET="./dracnmap-v*.sh" - elif [[ "$nn" = "11" ]] - then - TITLE="Fern" - NAMECD="" - KSSET="fern-wifi-cracker" - elif [[ "$nn" = "12" ]] - then - TITLE="KickThemOut" - NAMECD="cd /root/kickthemout" - KSSET="python kickthemout.py" - elif [[ "$nn" = "13" ]] - then - TITLE="Ghost-Phisher" - NAMECD="" - KSSET="ghost-phisher" - elif [[ "$nn" = "14" ]] - then - TITLE="Xerxes" - NAMECD="cd /root/xerxes" - KSSET="./xerxes" - elif [[ "$nn" = "15" ]] - then - TITLE="Katana" - NAMECD="" - KSSET="ktf.console" - elif [[ "$nn" = "16" ]] - then - TITLE="Airgeddon" - NAMECD="cd /root/airgeddon" - KSSET="./airgeddon.sh" - elif [[ "$nn" = "17" ]] - then - TITLE="Websploit" - NAMECD="" - KSSET="websploit" - elif [[ "$nn" = "18" ]] - then - TITLE="BeeLogger" - NAMECD="cd /root/BeeLogger" - KSSET="python bee.py" - elif [[ "$nn" = "19" ]] - then - TITLE="Ezsploit" - NAMECD="cd /root/exsploit" - KSSET="./ezsploit.sh" - elif [[ "$nn" = "20" ]] - then - TITLE="Pupy" - NAMECD="cd /root/pupy/pupy" - KSSET="./pupysh.py" - elif [[ "$nn" = "21" ]] - then - TITLE="TheFatRat" - NAMECD="cd /root/TheFatRat" - KSSET="./fatrat" - elif [[ "$nn" = "22" ]] - then - TITLE="Angry_IP_Scanner" - NAMECD=" " - KSSET="ipscan" - #~ elif [[ "$nn" = "23" ]] - #~ then - #~ TITLE="Sniper" - #~ NAMECD='read -p 'DOMAIN:' DOMAIN' - #~ KSSET="sniper $DOMAIN" - elif [[ "$nn" = "23" ]] - then - TITLE="ReconDog" - NAMECD="cd /root/ReconDog" - KSSET="python dog.py" - elif [[ "$nn" = "24" ]] - then - TITLE="RED_HAWK" - NAMECD="cd /root/RED_HAWK" - KSSET="php rhawk.php" - elif [[ "$nn" = "25" ]] - then - TITLE="Winpayloads" - NAMECD="cd /root/Winpayloads" - KSSET="./WinPayloads.py" - elif [[ "$nn" = "26" ]] - then - TITLE="CHAOS" - NAMECD="cd /root/CHAOS" - KSSET="go run CHAOS.go" - elif [[ "$nn" = "27" ]] - then - TITLE="Routersploit" - NAMECD="cd /root/routersploit" - KSSET="./rsf.py" - elif [[ "$nn" = "28" ]] - then - TITLE="nWatch" - NAMECD="cd /root/nWatch" - KSSET="python nwatch.py" - elif [[ "$nn" = "29" ]] - then - TITLE="Eternal_scanner" - NAMECD="cd /root/eternal_scanner" - KSSET="./escan" - elif [[ "$nn" = "30" ]] - then - TITLE="LALIN" - NAMECD="cd /root/LALIN" - KSSET="./Lalin.sh" - elif [[ "$nn" = "31" ]] - then - TITLE="Shellter" - NAMECD="" - KSSET="shellter" - elif [[ "$nn" = "32" ]] - then - TITLE="Netattack2" - NAMECD="cd /root/netattack2" - KSSET="python2 netattack2.py" - elif [[ "$nn" = "33" ]] - then - TITLE="Operative-framework" - NAMECD="cd /root/operative-framework" - KSSET="python operative.py" - elif [[ "$nn" = "34" ]] - then - TITLE="Koadic" - NAMECD="cd /root/koadic" - KSSET="./koadic" - elif [[ "$nn" = "35" ]] - then - TITLE="Empire" - NAMECD="cd /root/Empire" - KSSET="./empire" - elif [[ "$nn" = "36" ]] - then - TITLE="Meterpreter_Paranoid_Mode" - NAMECD="cd /root/Meterpreter_Paranoid_Mode-SSL" - KSSET="./Meterpreter_Paranoid_Mode.sh" - elif [[ "$nn" = "37" ]] - then - TITLE="Wifi-Pumpkin" - NAMECD="" - KSSET="wifi-pumpkin" - elif [[ "$nn" = "38" ]] - then - TITLE="Veil" - NAMECD="cd /root/Veil" - KSSET="./Veil.py" - elif [[ "$nn" = "39" ]] - then - TITLE="Leviathan" - NAMECD="cd /root/leviathan" - KSSET="python leviathan.py" - elif [[ "$nn" = "40" ]] - then - TITLE="Gloom-Framework" - NAMECD="cd /root/Gloom-Framework" - KSSET="python gloom.py" - elif [[ "$nn" = "41" ]] - then - TITLE="Arcanus" - NAMECD="cd /root/ARCANUS" - KSSET="./ARCANUS" - elif [[ "$nn" = "42" ]] - then - TITLE="LFISuite" - NAMECD="cd /root/LFISuite" - KSSET="python lfisuite.py" - elif [[ "$nn" = "43" ]] - then - TITLE="DKMC" - NAMECD="cd /root/DKMC" - KSSET="python dkmc.py" - elif [[ "$nn" = "44" ]] - then - TITLE="SecHub" - NAMECD="" - KSSET="sechub" - elif [[ "$nn" = "45" ]] - then - TITLE="Beef-xss" - NAMECD="cd /usr/share/beef-xss" - KSSET="./beef" - elif [[ "$nn" = "46" ]] - then - TITLE="Evil-Droid" - NAMECD="cd /root/Evil-Droid" - KSSET="./evil-droid" - elif [[ "$nn" = "47" ]] - then - TITLE="NoSQLMap" - NAMECD="cd /root/NoSQLMap" - KSSET="python nosqlmap.py" - elif [[ "$nn" = "48" ]] - then - TITLE="EggShell" - NAMECD="cd /root/EggShell" - KSSET="python eggshell.py" - elif [[ "$nn" = "49" ]] - then - TITLE="Zerodoor" - NAMECD="cd /root/Zerodoor" - KSSET="python zerodoor.py" - elif [[ "$nn" = "50" ]] - then - TITLE="AutoSploit" - NAMECD="cd /root/AutoSploit" - KSSET="python autosploit.py" - elif [[ "$nn" = "51" ]] - then - TITLE="Enigma" - NAMECD="cd /root/Enigma" - KSSET="python enigma.py" - elif [[ "$nn" = "52" ]] - then - TITLE="SocialFish" - NAMECD="cd /root/SocialFish" - KSSET="python SocialFish.py" - elif [[ "$nn" = "53" ]] - then - TITLE="Yuki-Chan-The-Auto-Pentest" - NAMECD="cd /root/Yuki-Chan-The-Auto-Pentest" - KSSET="./yuki.sh" - fi -} + function reinstall_tools { while true do clear #counting the tools - TOOLSNUM=${#toolarray[@]} - HALFTOOLS=$((TOOLSNUM/2+1)) - #number for 2ond column - CLMN2=$((HALFTOOLS+1)) - CLMN2TOOLS=$((TOOLSNUM/2+1)) + TOOLSNUM=30 + THIRDTOOLS=$((TOOLSNUM/3+1)) + + #number for 2nd column + CLMN2=$((THIRDTOOLS+1)) + CLMN2TOOLS=$((TOOLSNUM/3+1)) + + #number for 3rd column + CLMN3=$((THIRDTOOLS+THIRDTOOLS+1)) + CLMN3TOOLS=$((THIRDTOOLS*2)) + + echo -e "TOOLSNUM="$TOOLSNUM + + read XYZ + #alphabetically sort tools readarray -t toolarraysorted < <(for a in "${toolarray[@]}"; do echo "$a"; done | sort) - echo -e ""$BS"Select out of $TOOLSNUM tools to install/update:"$CE"" + echo -e ""$BS"Select out of $TOOLSNUM tools to install/update please:"$CE"" + #set colour of selected SEL="$YS" n=0 - while [[ "$n" -lt "$HALFTOOLS" ]] + while [[ "$n" -lt "$THIRDTOOLS" ]] do - #start echoing from number 1 instead of number 0(fist array) + #start echoing from number 1 instead of number 0 (first array) k=$((n+1)) #fixing the spaces to sort output better if [[ "$k" -le 9 ]] @@ -886,18 +218,19 @@ do else m="$k" fi - #calculating how many spaces needed for correct output + #calculating how many spaces needed for correct output of COL2 size=${#toolarraysorted["$n"]} calc=$(( 35-size )) numcalc=1 - SPACES="" + SPACES1="" while [[ "$numcalc" != "$calc" ]] do - SPACES=""${SPACES}" " + SPACES1=""${SPACES}" " numcalc=$(( numcalc+1 )) done COL1="" COL2="" + COL3="" if [[ "${selected["$n"]}" == 1 ]] then COL1="$SEL" @@ -906,24 +239,36 @@ do then COL2="$SEL" fi + if [[ "${selected["$CLMN3TOOLS"]}" == 1 ]] + then + COL3="$SEL" + fi + if [[ "${toolarraysorted["$CLMN2TOOLS"]}" == "" ]] then echo -e ""$YS"${m}"$CE") "$COL1""${toolarraysorted["$n"]}""$CE"" else - echo -e ""$YS"${m}"$CE") "$COL1""${toolarraysorted["$n"]}""$CE"${SPACES}"$YS""$CLMN2""$CE") "$COL2""${toolarraysorted["$CLMN2TOOLS"]}""$CE"" + if [[ "${toolarraysorted["$CLMN3TOOLS"]}" == "" ]] + then + echo -e ""$YS"${m}"$CE") "$COL1""${toolarraysorted["$n"]}""$CE"${SPACES1}"$YS""$CLMN2""$CE") "$COL2""${toolarraysorted["$CLMN2TOOLS"]}""$CE"" + else + echo -e ""$YS"${m}"$CE") "$COL1""${toolarraysorted["$n"]}""$CE"${SPACES1}"$YS""$CLMN2""$CE") "$COL2""${toolarraysorted["$CLMN2TOOLS"]}""$CE"${SPACES2}"$YS""$CLMN3""$CE") "$COL3""${toolarraysorted["$CLMN3TOOLS"]}""$CE"" + fi fi n=$((n+1)) CLMN2=$((CLMN2+1)) CLMN2TOOLS=$((CLMN2TOOLS+1)) + CLMN3=$((CLMN2+1)) + CLMN3TOOLS=$((CLMN3TOOLS+1)) done echo -e " "$YS"b"$CE") Go back" echo -e " "$YS"s"$CE") Start installing selected tools" echo -e " "$YS"r"$CE") Reset selection" if [[ "$NOCONFIRM" == 1 ]] then - echo -e " "$YS"n"$CE") "$YS"No confirmation"$CE"" + echo -e " "$YS"n"$CE") "$YS"No confirmation (On)"$CE"" else - echo -e " "$YS"n"$CE") No confirmation" + echo -e " "$YS"n"$CE") No confirmation (Off)" fi echo -e " "$YS"0"$CE") Exit" echo -e " Choose: " @@ -1005,287 +350,10 @@ do fi fi done -#~ while true -#~ do - #~ cd - #~ clear - #~ TERMINALTITLE="INSTALL/REINSTALL A TOOL" - #~ dash_calc - #~ printf '\033]2;INSTALL/REINSTALL A TOOL\a' - #~ echo -e ""$BS"Select a tool to install/reinstall"$CE"" - #~ echo -e " "$YS"1"$CE") Fluxion "$YS"21"$CE") 4nonimizer "$YS"41"$CE") Infoga "$YS"61"$CE") Wifi-Pumpkin" - #~ echo -e ""$YS" 2"$CE") Wifite "$YS"22"$CE") Openvas "$YS"42"$CE") nWatch "$YS"62"$CE") Veil-Framework" - #~ echo -e ""$YS" 3"$CE") Wifiphisher "$YS"23"$CE") BeeLogger "$YS"43"$CE") Eternal scanner "$YS"63"$CE") Leviathan" - #~ echo -e ""$YS" 4"$CE") Zatacker "$YS"24"$CE") Ezsploit "$YS"44"$CE") Eaphammer "$YS"64"$CE") FakeImageExploiter" - #~ echo -e ""$YS" 5"$CE") Morpheus "$YS"25"$CE") Pupy "$YS"45"$CE") Dagon "$YS"65"$CE") Avet" - #~ echo -e ""$YS" 6"$CE") Osrfconsole "$YS"26"$CE") Zirikatu "$YS"46"$CE") Lalin "$YS"66"$CE") Gloom" - #~ echo -e ""$YS" 7"$CE") Hakku "$YS"27"$CE") WiFi-autopwner"$YS"47"$CE") Knockmail "$YS"67"$CE") Arcanus" - #~ echo -e ""$YS" 8"$CE") Trity "$YS"28"$CE") Bully "$YS"48"$CE") Kwetza "$YS"68"$CE") MSFPC" - #~ echo -e ""$YS" 9"$CE") Cupp "$YS"29"$CE") Anonsurf "$YS"49"$CE") Ngrok "$YS"69"$CE") MorphHTA" - #~ echo -e ""$YS"10"$CE") Dracnmap "$YS"30"$CE") Anonym8 "$YS"50"$CE") Bleachbit "$YS"70"$CE") LFISuite" - #~ echo -e ""$YS"11"$CE") Fern "$YS"31"$CE") TheFatRat "$YS"51"$CE") Vmr mdk "$YS"71"$CE") UniByAv" - #~ echo -e ""$YS"12"$CE") Netdiscover "$YS"32"$CE") Angry IP "$YS"52"$CE") Hash Buster "$YS"72"$CE") Demiguise" - #~ echo -e ""$YS"13"$CE") KickThemOut "$YS"33"$CE") Sniper "$YS"53"$CE") Findsploit "$YS"73"$CE") Dkmc" - #~ echo -e ""$YS"14"$CE") Ghost-Phisher"$YS"34"$CE") ReconDog "$YS"54"$CE") Howdoi "$YS"74"$CE") MITMf" - #~ echo -e ""$YS"15"$CE") The Eye "$YS"35"$CE") RED HAWK "$YS"55"$CE") Operative-frmwork"$YS"75"$CE") Netool-toolkit" - #~ echo -e ""$YS"16"$CE") Xerxes "$YS"36"$CE") WinPayloads "$YS"56"$CE") Netattack2 "$YS"76"$CE") Patator" - #~ echo -e ""$YS"17"$CE") Mdk3-master "$YS"37"$CE") Shellter "$YS"57"$CE") Koadic "$YS"77"$CE") Evil-Droid" - #~ echo -e ""$YS"18"$CE") Katana "$YS"38"$CE") CHAOS "$YS"58"$CE") Empire "$YS"78"$CE") NoSQLMap" - #~ echo -e ""$YS"19"$CE") Airgeddon "$YS"39"$CE") Routersploit "$YS"59"$CE") Meterpr.-Paranoid" - #~ echo -e ""$YS"20"$CE") Websploit "$YS"40"$CE") Geany "$YS"60"$CE") Dr0p1t" - #~ echo -e ""$YS" b"$CE") Go back" - #~ echo -e ""$YS" 0"$CE") Exit" - #~ echo -e "Choose: " - #~ read REIN - #~ clear - #~ if [[ "$REIN" = "1" ]] - #~ then - #~ install_fluxion - #~ elif [[ "$REIN" = "2" ]] - #~ then - #~ install_wifite - #~ elif [[ "$REIN" = "3" ]] - #~ then - #~ install_wifiphisher - #~ elif [[ "$REIN" = "4" ]] - #~ then - #~ install_zatacker - #~ elif [[ "$REIN" = "5" ]] - #~ then - #~ install_morpheus - #~ elif [[ "$REIN" = "6" ]] - #~ then - #~ install_osrframework - #~ elif [[ "$REIN" = "7" ]] - #~ then - #~ install_hakku - #~ elif [[ "$REIN" = "8" ]] - #~ then - #~ install_trity - #~ elif [[ "$REIN" = "9" ]] - #~ then - #~ install_cupp - #~ elif [[ "$REIN" = "10" ]] - #~ then - #~ install_dracnmap - #~ elif [[ "$REIN" = "11" ]] - #~ then - #~ install_fern - #~ elif [[ "$REIN" = "12" ]] - #~ then - #~ install_netdiscover - #~ elif [[ "$REIN" = "13" ]] - #~ then - #~ install_kickthemout - #~ elif [[ "$REIN" = "14" ]] - #~ then - #~ install_ghostphisher - #~ elif [[ "$REIN" = "15" ]] - #~ then - #~ install_theeye - #~ elif [[ "$REIN" = "16" ]] - #~ then - #~ install_xerxes - #~ elif [[ "$REIN" = "17" ]] - #~ then - #~ install_mdk3 - #~ elif [[ "$REIN" = "18" ]] - #~ then - #~ install_katana - #~ elif [[ "$REIN" = "19" ]] - #~ then - #~ install_airgeddon - #~ elif [[ "$REIN" = "20" ]] - #~ then - #~ install_websploit - #~ elif [[ "$REIN" = "21" ]] - #~ then - #~ install_4nonimizer - #~ elif [[ "$REIN" = "22" ]] - #~ then - #~ install_openvas - #~ elif [[ "$REIN" = "23" ]] - #~ then - #~ install_beelogger - #~ elif [[ "$REIN" = "24" ]] - #~ then - #~ install_ezsploit - #~ elif [[ "$REIN" = "25" ]] - #~ then - #~ install_pupy - #~ elif [[ "$REIN" = "26" ]] - #~ then - #~ install_zirikatu - #~ elif [[ "$REIN" = "27" ]] - #~ then - #~ install_wifiautopwner - #~ elif [[ "$REIN" = "28" ]] - #~ then - #~ install_bully - #~ elif [[ "$REIN" = "29" ]] - #~ then - #~ install_anonsurf - #~ elif [[ "$REIN" = "30" ]] - #~ then - #~ install_anonym8 - #~ elif [[ "$REIN" = "31" ]] - #~ then - #~ install_thefatrat - #~ elif [[ "$REIN" = "32" ]] - #~ then - #~ install_angryip - #~ elif [[ "$REIN" = "33" ]] - #~ then - #~ install_sniper - #~ elif [[ "$REIN" = "34" ]] - #~ then - #~ install_recondog - #~ elif [[ "$REIN" = "35" ]] - #~ then - #~ install_redhawk - #~ elif [[ "$REIN" = "36" ]] - #~ then - #~ install_winpayloads - #~ elif [[ "$REIN" = "37" ]] - #~ then - #~ install_shellter - #~ elif [[ "$REIN" = "38" ]] - #~ then - #~ install_chaos - #~ elif [[ "$REIN" = "39" ]] - #~ then - #~ install_routersploit - #~ elif [[ "$REIN" = "40" ]] - #~ then - #~ install_geany - #~ elif [[ "$REIN" = "41" ]] - #~ then - #~ install_infoga - #~ elif [[ "$REIN" = "42" ]] - #~ then - #~ install_nwatch - #~ elif [[ "$REIN" = "43" ]] - #~ then - #~ install_eternalscanner - #~ elif [[ "$REIN" = "44" ]] - #~ then - #~ install_eaphammer - #~ elif [[ "$REIN" = "45" ]] - #~ then - #~ install_dagon - #~ elif [[ "$REIN" = "46" ]] - #~ then - #~ install_lalin - #~ elif [[ "$REIN" = "47" ]] - #~ then - #~ install_knockmail - #~ elif [[ "$REIN" = "48" ]] - #~ then - #~ install_kwetza - #~ elif [[ "$REIN" = "49" ]] - #~ then - #~ install_ngrok - #~ elif [[ "$REIN" = "50" ]] - #~ then - #~ install_bleachbit - #~ elif [[ "$REIN" = "51" ]] - #~ then - #~ install_vmr - #~ elif [[ "$REIN" = "52" ]] - #~ then - #~ install_hashbuster - #~ elif [[ "$REIN" = "53" ]] - #~ then - #~ install_findsploit - #~ elif [[ "$REIN" = "54" ]] - #~ then - #~ install_howdoi - #~ elif [[ "$REIN" = "55" ]] - #~ then - #~ install_operative - #~ elif [[ "$REIN" = "56" ]] - #~ then - #~ install_netattack2 - #~ elif [[ "$REIN" = "57" ]] - #~ then - #~ install_koadic - #~ elif [[ "$REIN" = "58" ]] - #~ then - #~ install_empire - #~ elif [[ "$REIN" = "59" ]] - #~ then - #~ install_meterpreter_paranoid_mode - #~ elif [[ "$REIN" = "60" ]] - #~ then - #~ install_dropit_frmw - #~ elif [[ "$REIN" = "61" ]] - #~ then - #~ install_wifi_pumpkin - #~ elif [[ "$REIN" = "62" ]] - #~ then - #~ install_veil - #~ elif [[ "$REIN" = "63" ]] - #~ then - #~ install_leviathan - #~ elif [[ "$REIN" = "64" ]] - #~ then - #~ install_fake_image - #~ elif [[ "$REIN" = "65" ]] - #~ then - #~ install_avet - #~ elif [[ "$REIN" = "66" ]] - #~ then - #~ install_gloom - #~ elif [[ "$REIN" = "67" ]] - #~ then - #~ install_arcanus - #~ elif [[ "$REIN" = "68" ]] - #~ then - #~ install_msfpc - #~ elif [[ "$REIN" = "69" ]] - #~ then - #~ install_morphhta - #~ elif [[ "$REIN" = "70" ]] - #~ then - #~ install_lfi - #~ elif [[ "$REIN" = "71" ]] - #~ then - #~ install_unibyav - #~ elif [[ "$REIN" = "72" ]] - #~ then - #~ install_demiguise - #~ elif [[ "$REIN" = "73" ]] - #~ then - #~ install_dkmc - #~ elif [[ "$REIN" = "74" ]] - #~ then - #~ install_mitmf - #~ elif [[ "$REIN" = "75" ]] - #~ then - #~ install_netool - #~ elif [[ "$REIN" = "76" ]] - #~ then - #~ install_patator - #~ elif [[ "$REIN" = "77" ]] - #~ then - #~ install_evil_droid - #~ elif [[ "$REIN" = "78" ]] - #~ then - #~ install_nosqlmap - #~ elif [[ "$REIN" = "back" || "$REIN" = "b" ]] - #~ then - #~ clear - #~ break - #~ elif [[ "$REIN" = "00" ]] - #~ then - #~ exec bash "$0" - #~ elif [[ "$REIN" = "0" ]] - #~ then - #~ clear - #~ exit - #~ fi - #~ done } + + + function errors_menu { while true @@ -3136,11 +2204,11 @@ function wifi_tools else echo -e ""$RS" 1"$CE") "$RS"Fluxion"$CE" The future of MITM WPA attacks" fi - if [[ -f /usr/bin/wifite ]] + if [[ -f /usr/sbin/wifite ]] then - echo -e ""$YS" 2"$CE") Wifite Automated wireless attack tool" + echo -e ""$YS" 2"$CE") Wifite2 Automated wireless attack tool" else - echo -e ""$RS" 2"$CE") "$RS"Wifite"$CE" Automated wireless attack tool" + echo -e ""$RS" 2"$CE") "$RS"Wifite2"$CE" Automated wireless attack tool" fi if [[ -d /root/wifiphisher ]] then @@ -3220,7 +2288,7 @@ function wifi_tools else echo -e ""$RS"14"$CE") "$RS"The Eye"$CE" Detects ARP poisoning DNS spoofing etc..." fi - if [[ -d /root/xerxes ]] + if [[ -d /root/Xerxes ]] then echo -e ""$YS"15"$CE") Xerxes The most powerful DoS tool(CAUTION)" else @@ -3347,7 +2415,7 @@ function wifi_tools fi elif [[ "$APPP" = "2" ]] then - if [[ -f /usr/bin/wifite ]] + if [[ -f /usr/sbin/wifite ]] then wifite else @@ -3386,7 +2454,7 @@ function wifi_tools ./ZT.sh cd else - echo -e "You have to install it manually since its not on github.Sorry." + echo -e "You have to install it manually since its not on github. Sorry." sleep 4 exec bash "$0" fi @@ -3579,7 +2647,7 @@ function wifi_tools fi elif [[ "$APPP" = "15" ]] then - if [[ -d "/root/xerxes" ]] + if [[ -d "/root/Xerxes" ]] then echo -e "Do you own the site you want to DoS?"$YNONLY"" read DOSTERM @@ -3595,7 +2663,7 @@ function wifi_tools sleep 4 gio open http://www.isitdownrightnow.com/"$SITEDOS".html clear - cd /root/xerxes + cd /root/Xerxes SITEDOSX=www.$SITEDOS echo -e "Press "$YS"any key"$CE" to start DoS on $SITEDOSX" $READAK @@ -4106,55 +3174,55 @@ function remote_access then echo -e ""$YS"23"$CE") Demiguise HTA encryption tool for RedTeams" else - echo -e ""$RS"23"$CE") "$RS"Demiguise"$CE" HTA encryption tool for RedTeams" + echo -e ""$RS"23"$CE") "$RS"Demiguise"$CE" HTA encryption tool for RedTeams" fi if [[ -d /root/DKMC ]] then echo -e ""$YS"24"$CE") DKMC Malicious payload evasion tool into image" else - echo -e ""$RS"24"$CE") "$RS"DKMC"$CE" Malicious payload evasion tool into image" + echo -e ""$RS"24"$CE") "$RS"DKMC"$CE" Malicious payload evasion tool into image" fi if [[ -d /usr/share/beef-xss ]] then echo -e ""$YS"25"$CE") Beef The browser exploitation framework" else - echo -e ""$RS"25"$CE") "$RS"Beef"$CE" The browser exploitation framework" + echo -e ""$RS"25"$CE") "$RS"Beef"$CE" The browser exploitation framework" fi if [[ -d /root/Evil-Droid ]] then echo -e ""$YS"26"$CE") Evil-Droid Penetrate android platforms" else - echo -e ""$RS"26"$CE") "$RS"Evil-Droid"$CE" Penetrate android platforms" + echo -e ""$RS"26"$CE") "$RS"Evil-Droid"$CE" Penetrate android platforms" fi if [[ -d /root/EggShell ]] then echo -e ""$YS"27"$CE") EggShell Penetrate android platforms" else - echo -e ""$RS"27"$CE") "$RS"EggShell"$CE" Penetrate android platforms" + echo -e ""$RS"27"$CE") "$RS"EggShell"$CE" Penetrate android platforms" fi if [[ -d /root/Zerodoor ]] then echo -e ""$YS"28"$CE") Zerodoor Penetrate android platforms" else - echo -e ""$RS"28"$CE") "$RS"Zerodoor"$CE" Penetrate android platforms" + echo -e ""$RS"28"$CE") "$RS"Zerodoor"$CE" Penetrate android platforms" fi if [[ -d /root/cromos ]] then echo -e ""$YS"29"$CE") Cromos Download and Inject code into Google Chrome extensions" else - echo -e ""$RS"29"$CE") "$RS"Cromos"$CE" Download and Inject code into Google Chrome extensions" + echo -e ""$RS"29"$CE") "$RS"Cromos"$CE" Download and Inject code into Google Chrome extensions" fi if [[ -d /root/AutoSploit ]] then echo -e ""$YS"30"$CE") AutoSploit Automated Mass Exploiter" else - echo -e ""$RS"30"$CE") "$RS"AutoSploit"$CE" Automated Mass Exploiter" + echo -e ""$RS"30"$CE") "$RS"AutoSploit"$CE" Automated Mass Exploiter" fi if [[ -d /root/Enigma ]] then echo -e ""$YS"31"$CE") Enigma Multiplatform payload dropper" else - echo -e ""$RS"31"$CE") "$RS"Enigma"$CE" Multiplatform payload dropper" + echo -e ""$RS"31"$CE") "$RS"Enigma"$CE" Multiplatform payload dropper" fi echo -e ""$YS" b"$CE") Go back" echo -e ""$YS"00"$CE") Main menu" @@ -5550,7 +4618,7 @@ function website_tools then echo -e ""$YS" 8"$CE") InstaBurst A faster way to brute force Instagram" else - echo -e ""$RS" 8"$CE") "$RS"InstaBurst"$CE" A faster way to brute force Instagram" + echo -e ""$RS" 8"$CE") "$RS"InstaBurst"$CE" A faster way to brute force Instagram" fi if [[ -f /usr/local/bin/instagram-py ]] then @@ -6455,35 +5523,15 @@ function tools_menu TERMINALTITLE="TOOLS" dash_calc printf '\033]2;TOOLS\a' - echo -e ""$YS" 1"$CE") Wifi tools" - echo -e ""$YS" 2"$CE") Remote access" - echo -e ""$YS" 3"$CE") Information gathering" - echo -e ""$YS" 4"$CE") Webside tools" - echo -e ""$YS" 5"$CE") Others" echo -e ""$YS" 6"$CE") Install/reinstall a tool" - echo -e ""$YS" i"$CE") Info" + echo "" echo -e ""$YS" b"$CE") Go back" #~ echo -e ""$YS"00"$CE") Main menu" echo -e ""$YS" 0"$CE") EXIT" echo "Choose: " read -e CATEG clear - if [[ "$CATEG" = "1" ]] - then - wifi_tools - elif [[ "$CATEG" = "2" ]] - then - remote_access - elif [[ "$CATEG" = "3" ]] - then - information_gathering - elif [[ "$CATEG" = "4" ]] - then - website_tools - elif [[ "$CATEG" = "5" ]] - then - other_tools - elif [[ "$CATEG" = "6" ]] + if [[ "$CATEG" = "6" ]] then NOCONFIRM=0 reinstall_tools @@ -7753,7 +6801,7 @@ function mitmf_hook cd fi else - echo -e ""$RS"Mitmf is not installed.type '"$CE""$YS"install"$CE""$RS"' to install it." + echo -e ""$RS"Mitmf is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it." read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -8379,7 +7427,7 @@ function ngrok_option fi fi else - echo -e ""$RS"Ngrok is not installed.type '"$CE""$YS"install"$CE""$RS"' to install it." + echo -e ""$RS"Ngrok is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it." read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -8892,7 +7940,7 @@ function browser_exploiting $READAK fi else - echo -e ""$RS"Mitmf is not installed.Type '"$CE""$YS"install"$CE""$RS"' to install it." + echo -e ""$RS"Mitmf is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it." read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9333,7 +8381,7 @@ function main_options then if [[ ! -f "/usr/local/bin/howdoi" ]] then - echo -e ""$RS"Howdoi is not installed.type '"$CE""$YS"install"$CE""$RS"' to install it." + echo -e ""$RS"Howdoi is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it." read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9503,7 +8551,7 @@ function main_options then if [[ ! -f "/etc/init.d/anonym8.sh" ]] then - echo -e ""$RS"Anonym8 is not installed.type '"$CE""$YS"install"$CE""$RS"' to install it." + echo -e ""$RS"Anonym8 is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it.$CE" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9518,7 +8566,7 @@ function main_options then if [[ ! -f "/etc/init.d/anonym8.sh" ]] then - echo -e ""$RS"Anonym8 is not installed.type '"$CE""$YS"install"$CE""$RS"' to install it." + echo -e ""$RS"Anonym8 is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it.$CE" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9533,7 +8581,7 @@ function main_options then if [[ ! -f "/usr/bin/anonsurf" ]] then - echo -e ""$RS"Anonsurf is not installed.type '"$CE""$YS"install"$CE""$RS"' to install it." + echo -e ""$RS"Anonsurf is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it.$CE" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9548,7 +8596,7 @@ function main_options then if [[ ! -f "/usr/bin/anonsurf" ]] then - echo -e ""$RS"Anonsurf is not installed.type '"$CE""$YS"install"$CE""$RS"' to install it." + echo -e ""$RS"Anonsurf is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it.$CE" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9563,7 +8611,7 @@ function main_options then if [[ ! -f "/usr/bin/anonsurf" ]] then - echo -e ""$RS"Anonsurf is not installed.type '"$CE""$YS"install"$CE""$RS"' to install it." + echo -e ""$RS"Anonsurf is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it.$CE" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9578,7 +8626,7 @@ function main_options then if [[ ! -f "/usr/bin/anonsurf" ]] then - echo -e ""$RS"Anonsurf is not installed.type '"$CE""$YS"install"$CE""$RS"' to install it." + echo -e ""$RS"Anonsurf is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it.$CE" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9593,7 +8641,7 @@ function main_options then if [[ ! -f "/usr/bin/anonsurf" ]] then - echo -e ""$RS"Anonsurf is not installed.type '"$CE""$YS"install"$CE""$RS"' to install it." + echo -e ""$RS"Anonsurf is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it.$CE" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9641,7 +8689,7 @@ function main_options then clear BACKL=1 - cat "$LPATH"/Changelog | head -n 20 + cat "$LPATH"/Changelog | head -n $LATESTCHANGELOGLINES echo -e "$PAKTC" $READAK clear @@ -9658,7 +8706,7 @@ function main_options then eternalblue_check else - echo -e ""$RS"Wifiphisher is not installed.Type '"$CE""$YS"install"$CE""$RS"' to install it."$CE"" + echo -e ""$RS"Wifiphisher is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it."$CE"" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9671,7 +8719,7 @@ function main_options then eternalblue else - echo -e ""$RS"Wifiphisher is not installed.Type '"$CE""$YS"install"$CE""$RS"' to install it."$CE"" + echo -e ""$RS"Wifiphisher is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it."$CE"" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9684,7 +8732,7 @@ function main_options then wififb_attack else - echo -e ""$RS"Wifiphisher is not installed.Type '"$CE""$YS"install"$CE""$RS"' to install it."$CE"" + echo -e ""$RS"Wifiphisher is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it."$CE"" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9765,6 +8813,11 @@ check_if_ks foldname="fluxion" gitlink="--recursive https://github.com/FluxionNetwork/fluxion.git" install_default + cloned=$? + if [[ "$cloned" == 1 ]] + then + apt-get install -y aircrack-ng bc curl cowpatty isc-dhcp-server hostapd lighttpd macchanger mdk3 nmap openssl php-cgi pyrit xterm rfkill unzip + fi #~ wget https://fluxion.tk/fluxion-unstable.zip #~ apt-get install -y unzip #~ clear @@ -9775,7 +8828,7 @@ check_if_ks } function install_wifite { - apt-get install -y wifite + apt-get install -y wifite hcxdumptool hcxtools } function install_wifiphisher { @@ -9785,6 +8838,7 @@ check_if_ks cloned=$? if [[ "$cloned" == 1 ]] then + apt-get install -y libnl-3-dev libnl-genl-3-dev sudo python setup.py install fi } @@ -9824,12 +8878,15 @@ check_if_ks function install_trity { foldname="Trity" - gitlink="https://github.com/toxic-ig/Trity.git" + gitlink="https://github.com/samyoyo/Trity-1.git" install_default cloned=$? if [[ "$cloned" == 1 ]] then - sudo python install.py + cd ~ + mv ~/Trity-1/ ~/Trity/ + cd "$foldname" + sudo python install.py fi } function install_cupp @@ -9907,13 +8964,13 @@ check_if_ks } function install_xerxes { - foldname="xerxes" - gitlink="https://github.com/zanyarjamal/xerxes.git" + foldname="Xerxes" + gitlink="https://github.com/sepehrdaddev/Xerxes.git" install_default cloned=$? if [[ "$cloned" == 1 ]] then - gcc xerxes.c -o xerxes + mv bash-completion/Xerxes . fi } function install_mdk3 @@ -10131,7 +9188,7 @@ check_if_ks } function install_chaos { - apt install golang upx-ucl -y + apt-get install -y golang upx-ucl -y cd foldname="CHAOS" gitlink="https://github.com/tiagorlampert/CHAOS.git" @@ -10145,7 +9202,7 @@ check_if_ks cloned=$? if [[ "$cloned" == 1 ]] then - apt-get install python3-pip + apt-get install -y python3-pip python3 -m pip install -r requirements.txt python setup.py install fi @@ -10164,7 +9221,7 @@ check_if_ks function install_nwatch { foldname="nWatch" - gitlink="https://github.com/suraj-root/nWatch.git" + gitlink="https://github.com/Cyber-Forensic/nWatch.git" install_default cloned=$? if [[ "$cloned" == 1 ]] @@ -10418,7 +9475,7 @@ check_if_ks cloned=$? if [[ "$cloned" == 1 ]] then - ./installer.sh --install + chmod +x installer.sh && ./installer.sh --install fi } function install_veil @@ -10532,7 +9589,7 @@ check_if_ks } function install_beef { - apt-get install beef-xss + apt-get install -y beef-xss } function install_mitmf { @@ -10556,17 +9613,18 @@ check_if_ks function install_netool { foldname="opensource" - gitlink="https://github.com/r00t-3xp10it/netool-toolkit" + gitlink="https://github.com/r00t-3xp10it/netool-toolkit opensource" install_default cloned=$? if [[ "$cloned" == 1 ]] then + apt-get install -y curl libcurl4 libcurl4-openssl-dev php7.3 php7.3-curl php7.3-cli evolution-data-server-common gnome-desktop3-data gnome-panel-data libecal-2.0-1 libedataserver-1.2-24 libgnome-desktop-3-18 libgweather-3-16 libical3 chmod +x INSTALL.sh && ./INSTALL.sh fi } function install_sqlmap { - apt-get install sqlmap + apt-get install -y sqlmap } function install_patator { @@ -10662,7 +9720,7 @@ check_if_ks ./install.sh fi } - function install_yuki-chan + function install_yuki { foldname="Yuki-Chan-The-Auto-Pentest" gitlink="https://github.com/Yukinoshita47/Yuki-Chan-The-Auto-Pentest.git" @@ -10802,43 +9860,10 @@ then one_time_per_launch_ks fi #################################### -if [[ -f ""$LPATH"/IAGREE.txt" ]] -then - if [[ ! -f ""$LPATH"/wlan.txt" ]] - then - set_interface_number - fi - if [[ ! -f ""$LPATH"/wlanmon.txt" ]] - then - set_interface_number - fi - if [[ ! -f ""$LPATH"/eth.txt" ]] - then - set_interface_number - fi clear - WLANNM=$(cat "$LPATH"/wlanmon.txt) - WLANN=$(cat "$LPATH"/wlan.txt) - ETH=$(cat "$LPATH"/eth.txt) -#setting iftop's interface - if [[ -f "$LPATH"/settings/iftopint.txt ]] - then - read iftopint < "$LPATH"/settings/iftopint.txt - else - iftopint="$WLANN" - fi - export iftopint - export WLANNM - export WLANN - export ETH managed_spaces monitor_spaces - if [[ ! -f "$LPATH"/latestchangelog.txt ]] - then - echo -e "1" > "$LPATH"/latestchangelog.txt - latest_changelog - fi banner main_options if [[ "$BACKL" = "1" ]] @@ -10850,6 +9875,3 @@ then $READAK exec bash "$0" fi -else - terms_of_use -fi diff --git a/latestchangelog.txt b/latestchangelog.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/latestchangelog.txt @@ -0,0 +1 @@ +1 diff --git a/wlan.txt b/wlan.txt new file mode 100644 index 0000000..c66f762 --- /dev/null +++ b/wlan.txt @@ -0,0 +1 @@ +wlan0 diff --git a/wlanmon.txt b/wlanmon.txt new file mode 100644 index 0000000..f962231 --- /dev/null +++ b/wlanmon.txt @@ -0,0 +1 @@ +wlan0mon