Update Tue Jan 26 03:49:40 AM CST 2021

This commit is contained in:
Dewalt 2021-01-26 03:49:40 -06:00
parent ad89a55724
commit 0f2efe503c
2 changed files with 33 additions and 20 deletions

View File

@ -16,6 +16,20 @@
- sudo ./pimpmykali.sh
- For a new kali vm, run menu option N
# Revision 1.1.5 - Fix SPIKE
- current version of spike2.9-1kali7 throws undefined symbol error
- removes spike2.9-1kali7
- installs spike_2.9-1kali6
- reverts spike to prior version
- apt adds hold to spike to prevent accidental future upgrades
- apt hold will be removed at a future date once 2.9-1kali7 issues are resolved
- fix_spike can be accessed thru the following menu options
- 1 - Fix Missing
- 0 - Fix All (Runs only options 1 thru 8)
- N - New VM Setup
- Seperate menu option of S to only run spike fix by itself is available
# Revision 1.1.4 - Fix Broken XFCE Icons
- menu function F to apply this fix only
- Menu N and 9 will apply fix automatically as a part of their function

View File

@ -9,7 +9,7 @@
# Standard Disclaimer: Author assumes no liability for any damage
# revision var
revision="1.1.4"
revision="1.1.5"
# unicorn puke:
red=$'\e[1;31m'
@ -103,6 +103,7 @@ fix_missing () {
fix_rockyou
fix_python_requests
fix_pipxlrd # xlrd added 12.29.2020
fix_spike
}
fix_all () {
@ -121,23 +122,6 @@ fix_all () {
# called as sub-function call of fix_all or fix_upgrade itself
}
# 01.04.21 - Busted Terminal Icon Fix (USER ONLY!) - Move along Netizen - Not ready for prime time
# fix_busted_terminal_icon() {
# finduser=$(logname)
# if [ $finduser == "root" ]
# then
# cat /root/.config/xfce4/panel/launcher-6/16056225211.desktop | sed 's/Exec\=exo\-open \-\-launch TerminalEmulator/Exec\=qterminal''/' > /tmp/iconfix.tmp
# cp -f /tmp/iconfix.tmp /root/.config/xfce4/panel/launcher-6/16056225211.desktop
# rm -f /tmp/iconfix.tmp
# else
# [ -d "/home/$finduser/.config/xfce4/panel/launcher-6/16056225211.desktop" ] && echo file is here || echo file is not here
# cat /home/$finduser/.config/xfce4/panel/launcher-6/16056225211.desktop | sed 's/Exec\=exo\-open \-\-launch TerminalEmulator/Exec\=qterminal''/' > /tmp/iconfix.tmp
# cp -f /tmp/iconfix.tmp /home/$finduser/.config/xfce4/panel/launcher-6/16056225211.desktop
# rm -f /tmp/iconfix.tmp
# fi
# echo -e "\n $greenplus Terminal Icon has been fixed! \n"
# }
fix_pipxlrd () {
eval pip install xlrd==1.2.0 --upgrade
# eval pip3 install xlrd --upgrade
@ -165,6 +149,19 @@ python-pip-curl () {
# force= to override force / set force var
# fix_section $section $check $force
fix_spike () {
# Added 01-26-2021 Current version of spike throws error, revert to old version
echo -e "\n $greenplus removing SPIKE...\n"
eval apt -y remove spike
wget http://old.kali.org/kali/pool/main/s/spike/spike_2.9-1kali6_amd64.deb -O /tmp/spike_2.9-1kali6_amd64.deb
echo -e "\n $greenplus installing spike 2.9... \n"
eval dpkg -i /tmp/spike_2.9-1kali6_amd64.deb
echo -e "\n $greenplus spike 2.9 installed \n"
echo -e "\n $greenplus setting apt hold on spike package"
eval apt-mark hold spike
echo -e "\n $greenplus apt hold placed on spike package"
}
fix_gedit () {
section="gedit"
check=$(whereis gedit | grep -i -c "gedit: /usr/bin/gedit")
@ -784,6 +781,7 @@ pimpmykali_menu () {
echo -e " Additional Functions : " # optional line
echo -e " F - Broken XFCE Icons fix (will be executed in menu N and 9 automatically)" # fix_broken_xfce
echo -e " (fixes broken xfce icons TerminalEmulator Not Found)" #
echo -e " S - Fix Spike (remove spike and install spike v2.9)" # fix_spike
echo -e " ! - Nuke Impacket (Type the ! character for this menu item)" # fix_sead_warning
echo -e " D - Downgrade Metasploit (Downgrade from MSF6 to MSF5)" # downgrade_msf
echo -e " B - BlindPentesters 'The Essentials' tools & utilies collection\n" # bpt
@ -802,6 +800,7 @@ pimpmykali_menu () {
0) fix_all ;;
!) forced=1; fix_sead_warning;;
f|F) fix_broken_xfce ;;
s|S) fix_spike ;;
n|N) fix_all; downgrade_msf; only_upgrade;;
d|D) downgrade_msf ;;
b|B) bpt ;;