Update Fri May 14 12:13:03 PM CDT 2021
This commit is contained in:
parent
0c26d850ff
commit
77b43f9362
|
|
@ -16,6 +16,11 @@
|
||||||
- sudo ./pimpmykali.sh
|
- sudo ./pimpmykali.sh
|
||||||
- For a new kali vm, run menu option N
|
- For a new kali vm, run menu option N
|
||||||
|
|
||||||
|
# Revision 1.2.6 - GoWitness Precompiled Binary - Installed
|
||||||
|
- Gowitness Precompiled binary is downloaded and installed to /usr/bin/gowitness
|
||||||
|
- checks for google-chrome installation, if not installed, install it
|
||||||
|
- installs gowitness precompiled binary to /usr/bin/gowitness
|
||||||
|
|
||||||
# Revision 1.2.5 - Downgrade MSF to 5 re-enabled
|
# Revision 1.2.5 - Downgrade MSF to 5 re-enabled
|
||||||
- Downgrade from MSF 6 to 5 has been re-enabled
|
- Downgrade from MSF 6 to 5 has been re-enabled
|
||||||
- due to a recent (somewhat odd) demand to re-enable the downgrade
|
- due to a recent (somewhat odd) demand to re-enable the downgrade
|
||||||
|
|
|
||||||
|
|
@ -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.2.5"
|
revision="1.2.6"
|
||||||
|
|
||||||
# unicorn puke:
|
# unicorn puke:
|
||||||
red=$'\e[1;31m'
|
red=$'\e[1;31m'
|
||||||
|
|
@ -172,7 +172,7 @@ fix_missing () {
|
||||||
fix_spike
|
fix_spike
|
||||||
fix_set
|
fix_set
|
||||||
check_chrome
|
check_chrome
|
||||||
# fix_gowitness # 01.27.2021 added due to 404 errors with go get -u github.com/sensepost/gowitness
|
fix_gowitness # 01.27.2021 added due to 404 errors with go get -u github.com/sensepost/gowitness
|
||||||
# fix_assetfinder # 02.01.21 Hold
|
# fix_assetfinder # 02.01.21 Hold
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -279,21 +279,21 @@ fix_spike () {
|
||||||
echo -e "\n $greenplus apt hold placed on spike package"
|
echo -e "\n $greenplus apt hold placed on spike package"
|
||||||
}
|
}
|
||||||
|
|
||||||
# fix_gowitness () {
|
# Think about this, prevents updating to the latest and greatest version should a newer one be avialable
|
||||||
# # 01.27.2021 - added due to 404 errors with go get -u github.com/sensepost/gowitness
|
# check_gowitness () {
|
||||||
# # multiple different archs need an if statement to detect arch type and grab right binary.
|
# [[ -f "/usr/bin/gowitness" ]] && echo -e "\n $greenminus gowitness already installed - skipping \n" || fix_gowitness;
|
||||||
# echo -e "\n $greenplus Installing gowitness prebuilt binary...\n"
|
# }
|
||||||
# wget https://github.com/sensepost/gowitness/releases/download/2.3.0/gowitness-2.3.0-linux-amd64 -O /usr/bin/gowitness
|
|
||||||
# chmod +x /usr/bin/gowitness
|
fix_gowitness () {
|
||||||
# echo -e "\n $greenplus gowitness installed \n"
|
echo -e "\n $greenplus Installing gowitness prebuilt binary...\n"
|
||||||
#
|
rm -f /tmp/releases.gowitness > /dev/null
|
||||||
# this will only work after golang is installed and gopath has been added to .bashrc and .zshrc
|
check_chrome
|
||||||
# isgoinstalled=$(go --version | grep -i -c "go version go") check that its installed
|
wget https://github.com/sensepost/gowitness/releases -O /tmp/releases.gowitness
|
||||||
# export | grep GOPATH check that GOPATH is set and active
|
current_build=$(cat /tmp/releases.gowitness | grep -i "<a href=\"/sensepost/gowitness/releases/download/" | grep -i -m1 linux | cut -d "\"" -f2)
|
||||||
# if both conditions are met install :
|
wget https://github.com$current_build -O /usr/bin/gowitness
|
||||||
# go get -u gorm.io/gorm
|
chmod +x /usr/bin/gowitness
|
||||||
# go get -u github.com/sensepost/gowitness
|
rm -f /tmp/releases.gowitness > /dev/null
|
||||||
# }
|
}
|
||||||
|
|
||||||
fix_root_connectionrefused () {
|
fix_root_connectionrefused () {
|
||||||
# fix root gedit connection refused
|
# fix root gedit connection refused
|
||||||
|
|
@ -901,7 +901,8 @@ pimpmykali_menu () {
|
||||||
echo -e " N - NEW VM SETUP - Run this option if this is the first time running pimpmykali" # menu item only no function
|
echo -e " N - NEW VM SETUP - Run this option if this is the first time running pimpmykali" # menu item only no function
|
||||||
echo -e " This will run Fix All (0) and Pimpmyupgrade (9)\n" #
|
echo -e " This will run Fix All (0) and Pimpmyupgrade (9)\n" #
|
||||||
echo -e " Stand alone functions (only apply the single selection)" # optional line
|
echo -e " Stand alone functions (only apply the single selection)" # optional line
|
||||||
echo -e " F - Broken XFCE Icons fix (stand-alone function: only applies broken xfce fix)" # fix_broken_xfce
|
echo -e " F - Broken XFCE Icons fix (stand-alone function: only applies broken xfce fix)" # fix_broken_xfce
|
||||||
|
echo -e " W - Gowitness Precomiled (download and install gowitness)" # fix_gowitness
|
||||||
echo -e " G - Fix Gedit Conn Refused (fixes gedit as root connection refused)" # fix_root_connectionrefused
|
echo -e " G - Fix Gedit Conn Refused (fixes gedit as root connection refused)" # fix_root_connectionrefused
|
||||||
echo -e " C - Missing Google-Chrome (install google-chrome only)" # check_chrome / fix_chrome
|
echo -e " C - Missing Google-Chrome (install google-chrome only)" # check_chrome / fix_chrome
|
||||||
echo -e " V - Install MS-Vscode (install microsoft vscode only)" # install_vscode
|
echo -e " V - Install MS-Vscode (install microsoft vscode only)" # install_vscode
|
||||||
|
|
@ -928,7 +929,7 @@ pimpmykali_menu () {
|
||||||
g|G) fix_root_connectionrefused ;;
|
g|G) fix_root_connectionrefused ;;
|
||||||
c|C) check_chrome;;
|
c|C) check_chrome;;
|
||||||
v|V) install_vscode;;
|
v|V) install_vscode;;
|
||||||
# g|g) fix_gowitness ;;
|
w|W) fix_gowitness ;;
|
||||||
n|N) fix_all; only_upgrade;;
|
n|N) fix_all; only_upgrade;;
|
||||||
d|D) downgrade_msf ;; # commented out 04.06.2021
|
d|D) downgrade_msf ;; # commented out 04.06.2021
|
||||||
b|B) bpt ;;
|
b|B) bpt ;;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue