Update Fri Dec 25 12:59:56 AM CST 2020

This commit is contained in:
Dewalt 2020-12-25 00:59:56 -06:00
parent 7b815d8aa8
commit d38df0411c
2 changed files with 53 additions and 44 deletions

View File

@ -16,6 +16,12 @@
(youll need to run pimpmykali 3 times) (youll need to run pimpmykali 3 times)
- if your having problems with theHarvester run menu option H - if your having problems with theHarvester run menu option H
# Revision 1.0.6 - theHarvester fix removed
- Python 3.9.1rc1 has been released fully and is no longer in RC Status
- Python3.9.1 has arrived!
- theHarvester fix is no longer necessary and has been commented as of this Revision
- if no further complications, code will be removed completely
# Revision 1.0.5 - Gedit returns! # Revision 1.0.5 - Gedit returns!
- gedit has been added to fix_all and fix_missing functions - gedit has been added to fix_all and fix_missing functions

View File

@ -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.5" revision="1.0.6"
# unicorn puke: # unicorn puke:
red=$'\e[1;31m' red=$'\e[1;31m'
@ -93,7 +93,7 @@ fix_missing () {
eval apt -y update $silent && eval apt -y autoremove $silent eval apt -y update $silent && eval apt -y autoremove $silent
eval apt -y remove kali-undercover $silent eval apt -y remove kali-undercover $silent
echo -e "\n $greenplus apt updated " echo -e "\n $greenplus apt updated "
eval apt -y install dkms build-essential $silent eval apt -y install dkms build-essential autogen automake python3-setuptools python3-distutils python3.9-dev $silent
python-pip-curl python-pip-curl
python3_pip $force python3_pip $force
fix_gedit $force # restored to its former glory fix_gedit $force # restored to its former glory
@ -108,7 +108,6 @@ fix_missing () {
fix_all () { fix_all () {
fix_missing $force fix_missing $force
seclists $force seclists $force
fix_gedit $force
install_atom install_atom
fix_flameshot $force fix_flameshot $force
fix_grub fix_grub
@ -483,44 +482,48 @@ fix_upgrade () {
check_vm check_vm
} }
fix_theharvester () { # Python 3.9.1rc1 has been released out of RC Status and appears stable Python 3.9.1
# need to put a check in here for /bin/python3.9 # 12.25.2020 theHarvester fix removed from pimpmykali.sh currently only commented out
cd /bin # if no further action is required on theHarvester code will be removed.
ln -sf python3.9 python3 # -----------------------------------------------------------------------------------
eval apt -y install autogen automake libtool libuv1 libuv1-dev python3-setuptools python3-distutils python3.9-dev #fix_theharvester () {
echo -e "\n $greenplus installed: autogen automake libtool libuv1 libuv1-dev python3-setuptools python3-distutils python3.9-dev" # # need to put a check in here for /bin/python3.9
eval pip3 install Cython Sphinx psutil pyOpenSSL flake8 # cd /bin
echo -e "\n $greenplus installed: Cython Sphinx psutil pyOpenSSL flake8" # ln -sf python3.9 python3
cd /opt # eval apt -y install autogen automake libtool libuv1 libuv1-dev python3-setuptools python3-distutils python3.9-dev
eval rm -rf /opt/theHarvester /opt/uvloop # echo -e "\n $greenplus installed: autogen automake libtool libuv1 libuv1-dev python3-setuptools python3-distutils python3.9-dev"
echo -e "\n $greenplus removed: /opt/theHarvester /opt/uvloop" # eval pip3 install Cython Sphinx psutil pyOpenSSL flake8
# echo -e "\n $greenplus installed: Cython Sphinx psutil pyOpenSSL flake8"
## fix_uvloop # cd /opt
eval git clone https://github.com/MagicStack/uvloop /opt/uvloop # eval rm -rf /opt/theHarvester /opt/uvloop
echo -e "\n $greenplus cloned: uvloop" # echo -e "\n $greenplus removed: /opt/theHarvester /opt/uvloop"
cd /opt/uvloop #
eval git submodule init # ## fix_uvloop
eval git submodule update # eval git clone https://github.com/MagicStack/uvloop /opt/uvloop
## make change to the Makefile here change python to python3 # echo -e "\n $greenplus cloned: uvloop"
eval cat /opt/uvloop/Makefile | sed 's/PYTHON ?= python/PYTHON ?= python3/' > /tmp/newMakefile # cd /opt/uvloop
cp -f /tmp/newMakefile Makefile # eval git submodule init
rm -f /tmp/newMakefile # eval git submodule update
eval make # ## make change to the Makefile here change python to python3
eval python3 setup.py install # eval cat /opt/uvloop/Makefile | sed 's/PYTHON ?= python/PYTHON ?= python3/' > /tmp/newMakefile
echo -e "\n $greenplus uvloop compiled and installed" # cp -f /tmp/newMakefile Makefile
# rm -f /tmp/newMakefile
## theHarvester # eval make
eval git clone https://github.com/laramies/theHarvester /opt/theHarvester # eval python3 setup.py install
echo -e "\n $greenplus cloned: theHarvester" # echo -e "\n $greenplus uvloop compiled and installed"
cd /opt/theHarvester #
# remove remove : uvloop==0.14.0; platform_system != "Windows" from base.txt # ## theHarvester
eval head -n 16 /opt/theHarvester/requirements/base.txt > /tmp/newbase.txt # eval git clone https://github.com/laramies/theHarvester /opt/theHarvester
cp -f /tmp/newbase.txt /opt/theHarvester/requirements/base.txt # echo -e "\n $greenplus cloned: theHarvester"
rm -f /tmp/newbase.txt # cd /opt/theHarvester
eval pip3 install . # # remove remove : uvloop==0.14.0; platform_system != "Windows" from base.txt
echo -e "\n $greenplus theHarvester fixes applied and installed" # eval head -n 16 /opt/theHarvester/requirements/base.txt > /tmp/newbase.txt
exit_screen # cp -f /tmp/newbase.txt /opt/theHarvester/requirements/base.txt
} # rm -f /tmp/newbase.txt
# eval pip3 install .
# echo -e "\n $greenplus theHarvester fixes applied and installed"
# exit_screen
# }
bpt () { bpt () {
rm -rf /opt/the-essentials rm -rf /opt/the-essentials
@ -661,13 +664,13 @@ pimpmykali_menu () {
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)" # - empty line -
echo -e " (holds metasploit-framework will not upgrade)\n" # - empty line - echo -e " (holds metasploit-framework will not upgrade)\n" # - empty line -
echo -e " H - Fix theHarvester (fixes theHarvester)\n" # fix_theharvester # echo -e " H - Fix theHarvester (fixes theHarvester)\n" # fix_theharvester
echo -e " ! - Nuke Impacket (Type ! character for this menu item)\n" # fix_sead_warning 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 " D - Downgrade Metasploit (Downgrade from MSF6 to MSF5)\n" # downgrade_msf
echo -e " B - BlindPentesters 'The Essentials' tools & utilies collection\n" # bpt echo -e " B - BlindPentesters 'The Essentials' tools & utilies collection\n" # bpt
echo -e " 0 - Fix ALL (runs only 1 thru 8) \n" # fix_all echo -e " 0 - Fix ALL (runs only 1 thru 8) \n" # fix_all
echo -e " Now with Pimpmyupgrade\n - when prompted select Yes to auto restart services \n" echo -e " Now with Pimpmyupgrade\n - when prompted select Yes to auto restart services \n"
read -n1 -p " Enter 0 thru 9, B, D, H or ! press X to exit: " menuinput read -n1 -p " Enter 0 thru 9, B, D, or ! press X to exit: " menuinput
case $menuinput in case $menuinput in
1) fix_missing ;; 1) fix_missing ;;
@ -683,7 +686,7 @@ pimpmykali_menu () {
!) forced=1; fix_sead_warning;; !) forced=1; fix_sead_warning;;
d|D) downgrade_msf ;; d|D) downgrade_msf ;;
b|B) bpt ;; b|B) bpt ;;
h|H) fix_theharvester ;; # h|H) fix_theharvester ;;
x|X) echo -e "\n\n Exiting pimpmykali.sh - Happy Hacking! \n" ;; x|X) echo -e "\n\n Exiting pimpmykali.sh - Happy Hacking! \n" ;;
*) pimpmykali_menu ;; *) pimpmykali_menu ;;
esac esac