Update Thu Dec 24 01:20:40 AM CST 2020

This commit is contained in:
Dewalt 2020-12-24 01:20:40 -06:00
parent f72ff971c7
commit 7b815d8aa8
2 changed files with 15 additions and 5 deletions

View File

@ -16,6 +16,9 @@
(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.5 - Gedit returns!
- gedit has been added to fix_all and fix_missing functions
# Revision 1.0.4 - fix theHarvester # Revision 1.0.4 - fix theHarvester
- This is only to be used in the following case : - This is only to be used in the following case :
- Menu option H and will only be called via menu option H - Menu option H and will only be called via menu option H

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.4" revision="1.0.5"
# unicorn puke: # unicorn puke:
red=$'\e[1;31m' red=$'\e[1;31m'
@ -96,18 +96,19 @@ fix_missing () {
eval apt -y install dkms build-essential $silent eval apt -y install dkms build-essential $silent
python-pip-curl python-pip-curl
python3_pip $force python3_pip $force
fix_gedit $force # restored to its former glory
fix_htop $force fix_htop $force
fix_golang $force fix_golang $force
fix_nmap fix_nmap
fix_rockyou fix_rockyou
fix_python_requests fix_python_requests
#fix_pipxlrd # this about this one a bit #fix_pipxlrd # think about this one a bit
} }
fix_all () { fix_all () {
fix_missing $force fix_missing $force
seclists $force seclists $force
#fix_gedit $force fix_gedit $force
install_atom install_atom
fix_flameshot $force fix_flameshot $force
fix_grub fix_grub
@ -116,7 +117,7 @@ fix_all () {
make_rootgreatagain $force make_rootgreatagain $force
fix_upgrade fix_upgrade
# ID10T REMINDER: DONT CALL THESE HERE THEY ARE IN FIX_MISSING! # ID10T REMINDER: DONT CALL THESE HERE THEY ARE IN FIX_MISSING!
# python-pip-cul python3_pip fix_golang fix_nmap # python-pip-curl python3_pip fix_golang fix_nmap
# fix_upgrade is not a part of fix_missing and only # fix_upgrade is not a part of fix_missing and only
# called as sub-function call of fix_all or fix_upgrade itself # called as sub-function call of fix_all or fix_upgrade itself
} }
@ -148,6 +149,12 @@ python-pip-curl () {
# force= to override force / set force var # force= to override force / set force var
# fix_section $section $check $force # 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_rockyou () { fix_rockyou () {
cd /usr/share/wordlists cd /usr/share/wordlists
gzip -dq /usr/share/wordlists/rockyou.txt.gz gzip -dq /usr/share/wordlists/rockyou.txt.gz
@ -643,7 +650,7 @@ pimpmykali_menu () {
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 and BPT :" # function call list echo -e "\n Options are 0 thru 9 and BPT :" # function call list
echo -e "\n 1 - Fix Missing (pip pip3 golang nmapfix xlrd 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