From 474e00e32c7a40a128529b4a4120b9cbc5a887b7 Mon Sep 17 00:00:00 2001 From: Dewalt <> Date: Thu, 12 Nov 2020 03:12:50 -0600 Subject: [PATCH] Update Thu Nov 12 03:12:50 AM CST 2020 --- README.md | 6 ++++++ pimpmykali.sh | 21 ++++++++++++++------- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index aeab09b..a0b0f07 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,12 @@ - cd pimpmykali - sudo ./pimpmykali.sh +# Revision 1.0.3 - Metasploit 6 to Metasploit 5 Downgrade + - Menu option D has been added to preform the downgrade + - will not be called by any other function, only D will execute the downgrade + - metasploit will complain about 2 versions of reline being installed but do not belive it is an issue + - mileage may vary + # Revision 1.0.2 - Apt Upgrade Commented Out - Due to Metasploit being upgraded from msf5 -> MSF6 apt upgrade has been commented out and will NOT be run diff --git a/pimpmykali.sh b/pimpmykali.sh index 98f69d4..f7faa3d 100755 --- a/pimpmykali.sh +++ b/pimpmykali.sh @@ -9,7 +9,7 @@ # Standard Disclaimer: Author assumes no liability for any damage # revision var - revision="1.0.2" + revision="1.0.3" # unicorn puke: red=$'\e[1;31m' @@ -191,12 +191,6 @@ fix_flameshot () { fix_section $section $check $force } -#fix_gedit () { -# section="gedit" -# check=$(whereis gedit | grep -i -c "gedit: /usr/bin/gedit") -# fix_section $section $check $force -# } - fix_golang () { section="golang" check=$(whereis go | grep -i -c "/usr/bin/go") @@ -472,6 +466,17 @@ bpt () { exit_screen } +downgrade_msf () { + eval apt -y remove metasploit-framework + wget https://archive.kali.org/kali/pool/main/m/metasploit-framework/metasploit-framework_5.0.101-0kali1%2Bb1_amd64.deb -O /tmp/metasploit-framework_5.deb + eval dpkg -i /tmp/metasploit-framework_5.deb + eval gem cleanup reline + eval msfdb init + rm -f /tmp/metasploit-framework_5.deb + echo -e "\n $greenplus metasploit downgraded \n" + exit_screen +} + pimpmywifi_main () { # Nothing to see here Netizen move along... # ---Under Construction--- @@ -590,6 +595,7 @@ pimpmykali_menu () { echo -e " 9 - Pimpmyupgrade (apt upgrade with vbox/vmware detection)" # fix_upgrade echo -e " (sources.list, linux-headers, vm-video)" # - empty line - echo -e " ! - Nuke Impacket (Type ! character for this menu item)\n" # fix_sead_warning + echo -e " D - Downgrade Metasploit (Downgrade from MSF6 to MSF5)\n" # downgrade_msf echo -e " B - BlindPentesters 'The Essentials' tools & utilies collection\n" # bpt echo -e " 0 - Fix ALL (runs only 1 thru 9) \n" # fix_all echo -e " Now with Pimpmyupgrade\n - when prompted select Yes to auto restart services \n" @@ -607,6 +613,7 @@ pimpmykali_menu () { 9) fix_upgrade ;; 0) fix_all ;; !) forced=1; fix_sead_warning;; + d|D) downgrade_msf ;; b|B) bpt ;; x|X) echo -e "\n\n Exiting pimpmykali.sh - Happy Hacking! \n" ;; *) pimpmykali_menu ;;