From f649661cc8460aa7137d4089d7921996c5236cb7 Mon Sep 17 00:00:00 2001 From: CloudGuy Date: Sun, 10 Nov 2019 12:07:17 -0600 Subject: [PATCH 01/39] Update README.md Updated version and screenshot to 2.1.6. Changed WifiTe -> Wifite2 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8049795..b2213b5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## 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** From 15800fea4b0804cc3138658d529e40fdbb1896ac Mon Sep 17 00:00:00 2001 From: CloudGuy Date: Sun, 10 Nov 2019 12:14:35 -0600 Subject: [PATCH 02/39] Update README.md Updated main menu screenshot to show version 2.1.6 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b2213b5..1dde9c7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## Welcome to the LAZY script v2.1.6

- + From b40b61876b38d7136f73bc724ab0f226e443f384 Mon Sep 17 00:00:00 2001 From: CloudGuy Date: Sun, 10 Nov 2019 12:18:44 -0600 Subject: [PATCH 03/39] Update README.md Updated main menu screenshot size. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1dde9c7..5ff2118 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## Welcome to the LAZY script v2.1.6

- + From f383bc4276f44198c9da6db280639cb278b34ac9 Mon Sep 17 00:00:00 2001 From: CloudGuy Date: Sun, 10 Nov 2019 12:21:20 -0600 Subject: [PATCH 04/39] Update README.md Replaced resized main menu screenshot to remove background artifacts. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ff2118..9ab1fd8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## Welcome to the LAZY script v2.1.6

- + From 4eb8a8a797e8e7998a64d3044860ea33081bfa06 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 12:38:32 -0600 Subject: [PATCH 05/39] Updated names and links --- l | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/l b/l index e204636..49dafb1 100644 --- a/l +++ b/l @@ -3136,11 +3136,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 @@ -3347,7 +3347,7 @@ function wifi_tools fi elif [[ "$APPP" = "2" ]] then - if [[ -f /usr/bin/wifite ]] + if [[ -f /usr/sbin/wifite ]] then wifite else @@ -9775,7 +9775,7 @@ check_if_ks } function install_wifite { - apt-get install -y wifite + apt-get install -y wifite hcxdumptool hcxtools } function install_wifiphisher { @@ -9824,12 +9824,13 @@ 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 + sudo python install.py + mv ~/Trity-1/ ~/Trity/ fi } function install_cupp From 3a2ca0ce4330e188d0ce50659ef8205390f72f2d Mon Sep 17 00:00:00 2001 From: CloudGuy Date: Sun, 10 Nov 2019 12:42:40 -0600 Subject: [PATCH 06/39] Updated version variable to 2.1.6 --- l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l b/l index 49dafb1..c39b0c4 100644 --- a/l +++ b/l @@ -1,7 +1,7 @@ #! /bin/bash # set -x -VERSION=2.1.5 +VERSION=2.1.6 #Number of tools with keyboard shortcut support HOWMANYTOOLS=53 BACKL="0" From c5315640d69064903e605969595215128279b973 Mon Sep 17 00:00:00 2001 From: CloudGuy Date: Sun, 10 Nov 2019 12:46:48 -0600 Subject: [PATCH 07/39] Updated menu spacing --- l | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/l b/l index c39b0c4..29c219e 100644 --- a/l +++ b/l @@ -3138,9 +3138,9 @@ function wifi_tools fi if [[ -f /usr/sbin/wifite ]] then - echo -e ""$YS" 2"$CE") Wifite2 Automated wireless attack tool" + echo -e ""$YS" 2"$CE") Wifite2 Automated wireless attack tool" else - echo -e ""$RS" 2"$CE") "$RS"Wifite2"$CE" Automated wireless attack tool" + echo -e ""$RS" 2"$CE") "$RS"Wifite2"$CE" Automated wireless attack tool" fi if [[ -d /root/wifiphisher ]] then From e0bb6a5df45c1cf12ee90afa4defa2db73ccb5b3 Mon Sep 17 00:00:00 2001 From: CloudGuy Date: Sun, 10 Nov 2019 12:47:58 -0600 Subject: [PATCH 08/39] Updated output Changed "Fixing permissions" to "Setting permissions" --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 2fd4db5..e34da88 100644 --- a/install.sh +++ b/install.sh @@ -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 From 6806372fc85715cf0a910b301999219f7163f66d Mon Sep 17 00:00:00 2001 From: CloudGuy Date: Sun, 10 Nov 2019 12:49:35 -0600 Subject: [PATCH 09/39] Removed legacy menu code Removed legacy commented code --- l | 280 -------------------------------------------------------------- 1 file changed, 280 deletions(-) diff --git a/l b/l index 29c219e..e2062f5 100644 --- a/l +++ b/l @@ -1005,286 +1005,6 @@ 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 { From da5a2b07fc651d39c4d9e9b740cbe98e06b839a5 Mon Sep 17 00:00:00 2001 From: CloudGuy Date: Sun, 10 Nov 2019 12:51:12 -0600 Subject: [PATCH 10/39] Grammar Changed line 81 to read ..."in this version" instead of "on this version" --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e34da88..ea616d9 100644 --- a/install.sh +++ b/install.sh @@ -78,7 +78,7 @@ 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" ]] From 6937cda3851b518dde51a04401caf3ffddd1fa72 Mon Sep 17 00:00:00 2001 From: CloudGuy Date: Sun, 10 Nov 2019 12:53:14 -0600 Subject: [PATCH 11/39] Updated menu spacing --- l | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/l b/l index e2062f5..356c710 100644 --- a/l +++ b/l @@ -2858,9 +2858,9 @@ function wifi_tools fi if [[ -f /usr/sbin/wifite ]] then - echo -e ""$YS" 2"$CE") Wifite2 Automated wireless attack tool" + echo -e ""$YS" 2"$CE") Wifite2 Automated wireless attack tool" else - echo -e ""$RS" 2"$CE") "$RS"Wifite2"$CE" Automated wireless attack tool" + echo -e ""$RS" 2"$CE") "$RS"Wifite2"$CE" Automated wireless attack tool" fi if [[ -d /root/wifiphisher ]] then From 31999cfd0e3b3b2af63442a5234444a3be6c65bb Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 13:01:33 -0600 Subject: [PATCH 12/39] Updated dependencies for Wifiphisher --- l | 1 + 1 file changed, 1 insertion(+) diff --git a/l b/l index 356c710..e62e941 100644 --- a/l +++ b/l @@ -9505,6 +9505,7 @@ check_if_ks cloned=$? if [[ "$cloned" == 1 ]] then + apt install -y libnl-3-dev libnl-genl-3-dev sudo python setup.py install fi } From b090d1c26e7c831b1a37dfc9e8ae47edfd3dc09d Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 13:33:09 -0600 Subject: [PATCH 13/39] Corrected foldname variable for netool-toolkit --- l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l b/l index e62e941..e6f81ad 100644 --- a/l +++ b/l @@ -10277,7 +10277,7 @@ check_if_ks } function install_netool { - foldname="opensource" + foldname="netool-toolkit" gitlink="https://github.com/r00t-3xp10it/netool-toolkit" install_default cloned=$? From c4020306e40184c415faa1a249c569ef8f1b1636 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 13:41:53 -0600 Subject: [PATCH 14/39] Fixed installation steps for Trity --- l | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/l b/l index e6f81ad..cb1a6cd 100644 --- a/l +++ b/l @@ -2886,7 +2886,7 @@ function wifi_tools #~ else #~ echo -e ""$RS" 6"$CE") "$RS"Osrfconsole"$CE" Checks usernames-phones to platforms etc.." #~ fi - if [[ -d /root/opensource ]] + if [[ -d /root/netool-toolkit ]] then echo -e ""$YS" 6"$CE") Netool-toolkit MitM pentesting opensource toolkit" else @@ -3139,9 +3139,9 @@ function wifi_tools fi elif [[ "$APPP" = "6" ]] then - if [[ -d "/root/opensource" ]] + if [[ -d "/root/netool-toolkit" ]] then - cd /root/opensource + cd /root/netool-toolkit ./netool.sh else echo -e "$TNI" @@ -9550,8 +9550,10 @@ check_if_ks cloned=$? if [[ "$cloned" == 1 ]] then - sudo python install.py + cd ~ mv ~/Trity-1/ ~/Trity/ + cd "$foldname" + sudo python install.py fi } function install_cupp From 190a7c3aeb32435928f7140054882aabc6260b71 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 13:56:20 -0600 Subject: [PATCH 15/39] Updated url for Xerxes --- l | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/l b/l index cb1a6cd..fdc4047 100644 --- a/l +++ b/l @@ -9632,11 +9632,14 @@ check_if_ks function install_xerxes { foldname="xerxes" - gitlink="https://github.com/zanyarjamal/xerxes.git" + gitlink="https://github.com/sepehrdaddev/Xerxes.git" install_default cloned=$? if [[ "$cloned" == 1 ]] then + cd ~ + mv ~/Xerxes/ ~/xerxes + cd ~/xerxes gcc xerxes.c -o xerxes fi } From 266f9c0adb2ba320d3245b60d389ce8e843da704 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 14:01:59 -0600 Subject: [PATCH 16/39] Updated installation steps for Xerxes --- l | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/l b/l index fdc4047..384f8c5 100644 --- a/l +++ b/l @@ -9632,14 +9632,11 @@ check_if_ks function install_xerxes { foldname="xerxes" - gitlink="https://github.com/sepehrdaddev/Xerxes.git" + gitlink="https://github.com/sepehrdaddev/Xerxes.git xerxes" install_default cloned=$? if [[ "$cloned" == 1 ]] then - cd ~ - mv ~/Xerxes/ ~/xerxes - cd ~/xerxes gcc xerxes.c -o xerxes fi } From 2bcb4a90861d5814dd8f8bd342d2d337fc489453 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 14:10:04 -0600 Subject: [PATCH 17/39] Updated xerxes paths to use Xerxes --- l | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/l b/l index 384f8c5..41e6b79 100644 --- a/l +++ b/l @@ -651,8 +651,8 @@ function listshortcuts elif [[ "$nn" = "14" ]] then TITLE="Xerxes" - NAMECD="cd /root/xerxes" - KSSET="./xerxes" + NAMECD="cd /root/Xerxes" + KSSET="./Xerxes" elif [[ "$nn" = "15" ]] then TITLE="Katana" @@ -2940,7 +2940,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 @@ -3299,7 +3299,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 @@ -3315,7 +3315,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 @@ -9631,13 +9631,13 @@ check_if_ks } function install_xerxes { - foldname="xerxes" - gitlink="https://github.com/sepehrdaddev/Xerxes.git xerxes" + foldname="Xerxes" + gitlink="https://github.com/sepehrdaddev/Xerxes.git" install_default cloned=$? if [[ "$cloned" == 1 ]] then - gcc xerxes.c -o xerxes + mv bash-completion/Xeres . fi } function install_mdk3 From 2a83e60f391f5746a1d23fb806c1403af225d862 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 14:12:18 -0600 Subject: [PATCH 18/39] Corrected typo in Xerxes path --- l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l b/l index 41e6b79..91da844 100644 --- a/l +++ b/l @@ -9637,7 +9637,7 @@ check_if_ks cloned=$? if [[ "$cloned" == 1 ]] then - mv bash-completion/Xeres . + mv bash-completion/Xerxes . fi } function install_mdk3 From bfdfb404cfc51994c6dbe56676ae79a459b5b135 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 14:33:50 -0600 Subject: [PATCH 19/39] Updated URL for nWatch --- l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l b/l index 91da844..04e0f01 100644 --- a/l +++ b/l @@ -9888,7 +9888,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 ]] From 746a19c1c54a5d7ba7fb4b1d36c0f892cb6f6dea Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 14:52:36 -0600 Subject: [PATCH 20/39] Wifi-Pumpkin: Added +x perms before launching. --- l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l b/l index 04e0f01..f92e52b 100644 --- a/l +++ b/l @@ -10142,7 +10142,7 @@ check_if_ks cloned=$? if [[ "$cloned" == 1 ]] then - ./installer.sh --install + chmod +x installer.sh && ./installer.sh --install fi } function install_veil From 58b39aa8a7d5c2c956a4ff95b7b3dc96f945a06b Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 15:13:22 -0600 Subject: [PATCH 21/39] secHub: Updated github URL --- l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l b/l index f92e52b..20a7e09 100644 --- a/l +++ b/l @@ -6,7 +6,7 @@ VERSION=2.1.6 HOWMANYTOOLS=53 BACKL="0" DONATIONS=13 -LATESTCHANGELOGLINES=26 +LATESTCHANGELOGLINES=11 cd #############DEFAULTS############### function defaults_l From 955fe7f58027e618b1a525fd195196241d639129 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 16:09:55 -0600 Subject: [PATCH 22/39] Changed Yuki Chan function name to match call --- l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l b/l index 20a7e09..017764a 100644 --- a/l +++ b/l @@ -10386,7 +10386,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" From aad8d46749f343f27997e1fa1301a064ac0dd72d Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 16:19:27 -0600 Subject: [PATCH 23/39] Updated changelog --- Changelog | 14 ++++++++++++++ l | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index e921ccc..d14d023 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,17 @@ +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 + + 2.1.5 Remade installation menu, now you can select multiple tools at once. Fixed no output when handshake scanning. diff --git a/l b/l index 017764a..fc0900b 100644 --- a/l +++ b/l @@ -6,7 +6,7 @@ VERSION=2.1.6 HOWMANYTOOLS=53 BACKL="0" DONATIONS=13 -LATESTCHANGELOGLINES=11 +LATESTCHANGELOGLINES=12 cd #############DEFAULTS############### function defaults_l From 90d9333407a2f622b7890f469e88571c3063b466 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 16:22:36 -0600 Subject: [PATCH 24/39] Updated changelog command to use variable --- l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l b/l index fc0900b..0b1dc00 100644 --- a/l +++ b/l @@ -9361,7 +9361,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 From 24216c645a884dd0c1116149e6a3b34246d0149d Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 16:26:17 -0600 Subject: [PATCH 25/39] Fixed missing color change at end of some prompts --- l | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/l b/l index 0b1dc00..b98724f 100644 --- a/l +++ b/l @@ -9223,7 +9223,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 @@ -9238,7 +9238,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 @@ -9253,7 +9253,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 @@ -9268,7 +9268,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 @@ -9283,7 +9283,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 @@ -9298,7 +9298,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 @@ -9313,7 +9313,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 From 5cf176d56395729e3de0303bdff6dce64bdf9fd3 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 16:28:00 -0600 Subject: [PATCH 26/39] Updated changelog --- Changelog | 1 + l | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index d14d023..16533f9 100644 --- a/Changelog +++ b/Changelog @@ -10,6 +10,7 @@ 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 diff --git a/l b/l index b98724f..0080f70 100644 --- a/l +++ b/l @@ -6,7 +6,7 @@ VERSION=2.1.6 HOWMANYTOOLS=53 BACKL="0" DONATIONS=13 -LATESTCHANGELOGLINES=12 +LATESTCHANGELOGLINES=14 cd #############DEFAULTS############### function defaults_l From f94c1fca7bd35ea4e5cdd0913ce40cf22747f6c3 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 10 Nov 2019 22:40:48 -0600 Subject: [PATCH 27/39] Fixed typo in menu --- l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l b/l index 0080f70..fdc92e0 100644 --- a/l +++ b/l @@ -6178,7 +6178,7 @@ function tools_menu 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" 4"$CE") Website tools" echo -e ""$YS" 5"$CE") Others" echo -e ""$YS" 6"$CE") Install/reinstall a tool" echo -e ""$YS" i"$CE") Info" From 6b88d0c66e838b5c6493da7b9a6693813aed61a9 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sat, 16 Nov 2019 13:37:13 -0600 Subject: [PATCH 28/39] Corrected spacing in output and menus. --- install.sh | 8 ++++---- l | 22 +++++++++++----------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/install.sh b/install.sh index ea616d9..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 @@ -60,20 +60,20 @@ 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 diff --git a/l b/l index fdc92e0..4fbb5fa 100644 --- a/l +++ b/l @@ -3106,7 +3106,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 @@ -3826,55 +3826,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" @@ -5270,7 +5270,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 From a521b55872da7d025ff8244d516d63f000e6c2d1 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sat, 16 Nov 2019 13:42:32 -0600 Subject: [PATCH 29/39] Updated installation path for netool --- l | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/l b/l index 4fbb5fa..f574a29 100644 --- a/l +++ b/l @@ -2886,7 +2886,7 @@ function wifi_tools #~ else #~ echo -e ""$RS" 6"$CE") "$RS"Osrfconsole"$CE" Checks usernames-phones to platforms etc.." #~ fi - if [[ -d /root/netool-toolkit ]] + if [[ -d /root/opensource ]] then echo -e ""$YS" 6"$CE") Netool-toolkit MitM pentesting opensource toolkit" else @@ -3139,9 +3139,9 @@ function wifi_tools fi elif [[ "$APPP" = "6" ]] then - if [[ -d "/root/netool-toolkit" ]] + if [[ -d "/root/opensource" ]] then - cd /root/netool-toolkit + cd /root/opensource ./netool.sh else echo -e "$TNI" @@ -10279,8 +10279,8 @@ check_if_ks } function install_netool { - foldname="netool-toolkit" - gitlink="https://github.com/r00t-3xp10it/netool-toolkit" + foldname="opensource" + gitlink="https://github.com/r00t-3xp10it/netool-toolkit opensource" install_default cloned=$? if [[ "$cloned" == 1 ]] From 5f5454f14556703628bb1ffcfa1570e6915d0444 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sat, 16 Nov 2019 13:47:34 -0600 Subject: [PATCH 30/39] Added dependency installer for netool --- l | 1 + 1 file changed, 1 insertion(+) diff --git a/l b/l index f574a29..48c788e 100644 --- a/l +++ b/l @@ -10285,6 +10285,7 @@ check_if_ks cloned=$? if [[ "$cloned" == 1 ]] then + apt install -y curl libcurl3 libcurl3-dev php5 php5-curl php5-cli chmod +x INSTALL.sh && ./INSTALL.sh fi } From 0be66103e56806d2f0bf45b780a59b6560ad845c Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sat, 16 Nov 2019 13:56:13 -0600 Subject: [PATCH 31/39] Standardized apt-get install -y --- l | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/l b/l index 48c788e..28b1122 100644 --- a/l +++ b/l @@ -9505,7 +9505,7 @@ check_if_ks cloned=$? if [[ "$cloned" == 1 ]] then - apt install -y libnl-3-dev libnl-genl-3-dev + apt-get install -y libnl-3-dev libnl-genl-3-dev sudo python setup.py install fi } @@ -9855,7 +9855,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" @@ -9869,7 +9869,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 @@ -10256,7 +10256,7 @@ check_if_ks } function install_beef { - apt-get install beef-xss + apt-get install -y beef-xss } function install_mitmf { @@ -10285,13 +10285,13 @@ check_if_ks cloned=$? if [[ "$cloned" == 1 ]] then - apt install -y curl libcurl3 libcurl3-dev php5 php5-curl php5-cli + apt-get install -y curl libcurl3 libcurl3-dev php5 php5-curl php5-cli gnome-desktop-item-edit chmod +x INSTALL.sh && ./INSTALL.sh fi } function install_sqlmap { - apt-get install sqlmap + apt-get install -y sqlmap } function install_patator { From e9901268660fc83ba2075d5c562599d1257f7c2e Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sat, 16 Nov 2019 14:25:37 -0600 Subject: [PATCH 32/39] Updated wifite menu spacing --- l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l b/l index 28b1122..485173f 100644 --- a/l +++ b/l @@ -595,7 +595,7 @@ function listshortcuts KSSET="./zirikatu.sh" elif [[ "$nn" = "3" ]] then - TITLE="Wifite" + TITLE="Wifite2" NAMECD="" KSSET="wifite" elif [[ "$nn" = "4" ]] From 5b3a9004934c1cdae9664bb7fd7663c09e52d4b0 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sat, 16 Nov 2019 14:35:48 -0600 Subject: [PATCH 33/39] Updated spacing --- l | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/l b/l index 485173f..6e86606 100644 --- a/l +++ b/l @@ -7473,7 +7473,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 @@ -8099,7 +8099,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 @@ -8612,7 +8612,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 @@ -9053,7 +9053,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 @@ -9223,7 +9223,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.$CE" + echo -e ""$RS"Anonym8 is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it.$CE" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9238,7 +9238,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.$CE" + echo -e ""$RS"Anonym8 is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it.$CE" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9253,7 +9253,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.$CE" + echo -e ""$RS"Anonsurf is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it.$CE" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9268,7 +9268,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.$CE" + echo -e ""$RS"Anonsurf is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it.$CE" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9283,7 +9283,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.$CE" + echo -e ""$RS"Anonsurf is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it.$CE" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9298,7 +9298,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.$CE" + echo -e ""$RS"Anonsurf is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it.$CE" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9313,7 +9313,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.$CE" + echo -e ""$RS"Anonsurf is not installed. Type '"$CE""$YS"install"$CE""$RS"' to install it.$CE" read INSTALL if [[ "$INSTALL" = "install" ]] then @@ -9378,7 +9378,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 @@ -9391,7 +9391,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 @@ -9404,7 +9404,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 From ac0c336bb14054c8b1a88d3f4e9ae534173c9513 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sat, 16 Nov 2019 15:10:57 -0600 Subject: [PATCH 34/39] Corrected casing on Ifconfig --- l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l b/l index 6e86606..91b7865 100644 --- a/l +++ b/l @@ -283,7 +283,7 @@ 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" + 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" From b6caa0b5936ca7802e0799c098eb774a45f4bc3a Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 17 Nov 2019 21:43:26 -0600 Subject: [PATCH 35/39] Update dependencies for fluxion --- l | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/l b/l index 91b7865..863a9e6 100644 --- a/l +++ b/l @@ -9485,6 +9485,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 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 From fe6f9173697ec4ef22b3387dd4d84473d5741d06 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 17 Nov 2019 21:51:09 -0600 Subject: [PATCH 36/39] Added dhcpd to fluxion dependencies --- l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l b/l index 863a9e6..29731a9 100644 --- a/l +++ b/l @@ -9488,7 +9488,7 @@ check_if_ks cloned=$? if [[ "$cloned" == 1 ]] then - apt-get install -y aircrack-ng bc curl cowpatty hostapd lighttpd macchanger mdk3 nmap openssl php-cgi pyrit xterm rfkill unzip + apt-get install -y aircrack-ng bc curl cowpatty dhcpd 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 From 2e9fe255cf0013f9af368ceb3c5d4af29194bd00 Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 17 Nov 2019 22:18:44 -0600 Subject: [PATCH 37/39] Updated fluxion dependencies --- l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l b/l index 29731a9..1ba2207 100644 --- a/l +++ b/l @@ -9488,7 +9488,7 @@ check_if_ks cloned=$? if [[ "$cloned" == 1 ]] then - apt-get install -y aircrack-ng bc curl cowpatty dhcpd hostapd lighttpd macchanger mdk3 nmap openssl php-cgi pyrit xterm rfkill unzip + 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 From 98b13d2ee3aaaefaa677d54926b1e94984ed85ec Mon Sep 17 00:00:00 2001 From: Joe Griffith Date: Sun, 17 Nov 2019 23:05:41 -0600 Subject: [PATCH 38/39] Updated dependencies for netool --- l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l b/l index 1ba2207..7d565ea 100644 --- a/l +++ b/l @@ -10290,7 +10290,7 @@ check_if_ks cloned=$? if [[ "$cloned" == 1 ]] then - apt-get install -y curl libcurl3 libcurl3-dev php5 php5-curl php5-cli gnome-desktop-item-edit + 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 } From 941680592b7dbf343338ad6617934775c5405d96 Mon Sep 17 00:00:00 2001 From: KloudGeek Date: Mon, 7 Jun 2021 21:43:56 -0500 Subject: [PATCH 39/39] Merge of offline changes from OneDrive --- IAGREE.txt | 1 + eth.txt | 1 + l | 804 +++----------------------------------------- latestchangelog.txt | 1 + wlan.txt | 1 + wlanmon.txt | 1 + 6 files changed, 53 insertions(+), 756 deletions(-) create mode 100644 IAGREE.txt create mode 100644 eth.txt create mode 100644 latestchangelog.txt create mode 100644 wlan.txt create mode 100644 wlanmon.txt 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/eth.txt b/eth.txt new file mode 100644 index 0000000..614e8de --- /dev/null +++ b/eth.txt @@ -0,0 +1 @@ +eth0 diff --git a/l b/l index 7d565ea..4750627 100644 --- a/l +++ b/l @@ -1,9 +1,9 @@ #! /bin/bash # set -x -VERSION=2.1.6 +VERSION=2.1.6.0.0 #Number of tools with keyboard shortcut support -HOWMANYTOOLS=53 +HOWMANYTOOLS=98 BACKL="0" DONATIONS=13 LATESTCHANGELOGLINES=14 @@ -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="Wifite2" - 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: " @@ -1006,6 +351,9 @@ do fi done } + + + function errors_menu { while true @@ -6175,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") Website 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 @@ -10532,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" ]] @@ -10580,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