Update Sun Dec 27 01:28:50 AM CST 2020
This commit is contained in:
parent
2d8569bd0b
commit
e63e689bc1
10
README.md
10
README.md
|
|
@ -12,9 +12,13 @@
|
||||||
- git clone https://github.com/Dewalt-arch/pimpmykali
|
- git clone https://github.com/Dewalt-arch/pimpmykali
|
||||||
- cd pimpmykali
|
- cd pimpmykali
|
||||||
- sudo ./pimpmykali.sh
|
- sudo ./pimpmykali.sh
|
||||||
- For a new kali vm, run menu option 0, then run D, then 9
|
- For a new kali vm, run menu option N
|
||||||
(youll need to run pimpmykali.sh 3 times)
|
|
||||||
- currently working on a function to script 0, D and 9 together!
|
# Revision 1.0.8 - New Menu Item n or N - Intended for new vm's
|
||||||
|
- function will run fix_all, fix_missing, downgrade metasploit and
|
||||||
|
- will run pimpmyupgrade (menu options 0, D and 9) from a single menu item.
|
||||||
|
- Menu on screen display has been reworked and cleaned up a bit
|
||||||
|
- This saves the user from running menu 0, then running D then running 9 individually.
|
||||||
|
|
||||||
# Revision 1.0.7 - GOPATH statements added to .zshrc and .bashrc
|
# Revision 1.0.7 - GOPATH statements added to .zshrc and .bashrc
|
||||||
- function will check for GOPATH in .zshrc and .bashrc
|
- function will check for GOPATH in .zshrc and .bashrc
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
# Standard Disclaimer: Author assumes no liability for any damage
|
# Standard Disclaimer: Author assumes no liability for any damage
|
||||||
|
|
||||||
# revision var
|
# revision var
|
||||||
revision="1.0.7"
|
revision="1.0.8"
|
||||||
|
|
||||||
# unicorn puke:
|
# unicorn puke:
|
||||||
red=$'\e[1;31m'
|
red=$'\e[1;31m'
|
||||||
|
|
@ -517,7 +517,6 @@ only_upgrade () {
|
||||||
check_vm
|
check_vm
|
||||||
echo -e "\n $greenplus releasing hold on package: metasploit-framework"
|
echo -e "\n $greenplus releasing hold on package: metasploit-framework"
|
||||||
eval apt-mark unhold metasploit-framework
|
eval apt-mark unhold metasploit-framework
|
||||||
exit_screen
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fix_upgrade () {
|
fix_upgrade () {
|
||||||
|
|
@ -588,8 +587,7 @@ downgrade_msf () {
|
||||||
apt-mark hold metasploit-framework
|
apt-mark hold metasploit-framework
|
||||||
echo -e "\n $greenplus metasploit downgraded \n"
|
echo -e "\n $greenplus metasploit downgraded \n"
|
||||||
echo -e "\n $greenplus hold placed on metasploit-framework \n"
|
echo -e "\n $greenplus hold placed on metasploit-framework \n"
|
||||||
exit_screen
|
}
|
||||||
}
|
|
||||||
|
|
||||||
pimpmywifi_main () {
|
pimpmywifi_main () {
|
||||||
# Nothing to see here Netizen move along...
|
# Nothing to see here Netizen move along...
|
||||||
|
|
@ -697,24 +695,26 @@ pimpmykali_menu () {
|
||||||
echo -e "$asciiart"
|
echo -e "$asciiart"
|
||||||
echo -e "\n Select a option from menu: Rev:$revision"
|
echo -e "\n Select a option from menu: Rev:$revision"
|
||||||
echo -e "\n *** APT UPGRADE WILL ONLY BE CALLED FROM MENU OPTION 9 ***"
|
echo -e "\n *** APT UPGRADE WILL ONLY BE CALLED FROM MENU OPTION 9 ***"
|
||||||
echo -e "\n Options are 0 thru 9, !, D or B :" # function call list
|
echo -e "\n Menu Options:" # function call list
|
||||||
echo -e "\n 1 - Fix Missing (pip pip3 golang gedit nmapfix build-essential)" # fix_missing
|
echo -e "\n 1 - Fix Missing (pip pip3 golang gedit nmapfix build-essential)" # fix_missing
|
||||||
echo -e " 2 - Fix /etc/samba/smb.conf (adds the 2 missing lines)" # fix_smbconf
|
echo -e " 2 - Fix /etc/samba/smb.conf (adds the 2 missing lines)" # fix_smbconf
|
||||||
echo -e " 3 - Fix Golang (installs golang)" # fix_golang
|
echo -e " 3 - Fix Golang (installs golang)" # fix_golang
|
||||||
echo -e " 4 - Fix Grub (adds mitigations=off)" # fix_grub
|
echo -e " 4 - Fix Grub (adds mitigations=off)" # fix_grub
|
||||||
echo -e " 5 - Fix Impacket (installs impacket)" # fix_impacket
|
echo -e " 5 - Fix Impacket (installs impacket)" # fix_impacket
|
||||||
echo -e " 6 - Enable Root Login (installs kali-root-login)" # make_rootgreatagain
|
echo -e " 6 - Enable Root Login (installs kali-root-login)" # make_rootgreatagain
|
||||||
echo -e " 7 - Install Atom (installs atom)" # install_atom
|
echo -e " 7 - Install Atom (installs atom)" # install_atom
|
||||||
echo -e " 8 - Fix nmap scripts (clamav-exec.nse and http-shellshock.nse)" # fix_nmap
|
echo -e " 8 - Fix nmap scripts (clamav-exec.nse and http-shellshock.nse)" # fix_nmap
|
||||||
echo -e " 9 - Pimpmyupgrade (apt upgrade with vbox/vmware detection)" # only_upgrade
|
echo -e " 9 - Pimpmyupgrade (apt upgrade with vbox/vmware detection)" # only_upgrade
|
||||||
echo -e " (sources.list, linux-headers, vm-video)" # - empty line -
|
echo -e " (sources.list, linux-headers, vm-video )" # -
|
||||||
echo -e " (holds metasploit-framework will not upgrade)\n" # - empty line -
|
echo -e " (will not upgrade: metasploit-framework)" # -
|
||||||
# echo -e " H - Fix theHarvester (fixes theHarvester)\n" # fix_theharvester
|
echo -e " 0 - Fix ALL (runs only 1 thru 8) \n" # fix_all
|
||||||
echo -e " ! - Nuke Impacket (Type ! character for this menu item)\n" # fix_sead_warning
|
echo -e " N - NEW VM SETUP - Run this option if this is the first time running pimpmykali" # menu item only no function
|
||||||
echo -e " D - Downgrade Metasploit (Downgrade from MSF6 to MSF5)\n" # downgrade_msf
|
echo -e " This will run Fix All (0), Metasploit Downgrade (D) and Pimpmyupgrade (9)\n" #
|
||||||
echo -e " B - BlindPentesters 'The Essentials' tools & utilies collection\n" # bpt
|
echo -e " Additional Functions : " # optional line
|
||||||
echo -e " 0 - Fix ALL (runs only 1 thru 8) \n" # fix_all
|
echo -e " ! - Nuke Impacket (Type the ! character for this menu item)" # fix_sead_warning
|
||||||
read -n1 -p " Enter 0 thru 9, B, D, or ! press X to exit: " menuinput
|
echo -e " D - Downgrade Metasploit (Downgrade from MSF6 to MSF5)" # downgrade_msf
|
||||||
|
echo -e " B - BlindPentesters 'The Essentials' tools & utilies collection\n" # bpt
|
||||||
|
read -n1 -p " Enter 0 thru 9, N, B, D, or ! press X to exit: " menuinput
|
||||||
|
|
||||||
case $menuinput in
|
case $menuinput in
|
||||||
1) fix_missing ;;
|
1) fix_missing ;;
|
||||||
|
|
@ -728,6 +728,7 @@ pimpmykali_menu () {
|
||||||
9) only_upgrade ;;
|
9) only_upgrade ;;
|
||||||
0) fix_all ;;
|
0) fix_all ;;
|
||||||
!) forced=1; fix_sead_warning;;
|
!) forced=1; fix_sead_warning;;
|
||||||
|
n|N) fix_all; downgrade_msf; only_upgrade;;
|
||||||
d|D) downgrade_msf ;;
|
d|D) downgrade_msf ;;
|
||||||
b|B) bpt ;;
|
b|B) bpt ;;
|
||||||
# h|H) fix_theharvester ;;
|
# h|H) fix_theharvester ;;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue