1.7.4 - winpeas 20230419-b6aac9cb static pull

This commit is contained in:
Dewalt 2023-07-14 03:59:46 -05:00
parent 6d5b6d9cca
commit cc8076d4e6
2 changed files with 10 additions and 2 deletions

View File

@ -42,6 +42,10 @@
# Revision 1.7.3a - update to start-peh-labs.sh
- included function in script to reset databases on startup
# Revision 1.7.4 - Winpeas update
- script will now pull winpeas from the 20230419-b6aac9cb release, April 2023
- workaround for current issue of winpeas not being self contained
# Revision 1.7.3 - PEH Web Lab update
- Major Milestone! 2000+ Lines of code!
- added installation for Practical Ethical Hacker WebApp Labs

View File

@ -9,7 +9,7 @@
# Standard Disclaimer: Author assumes no liability for any damage
# revision var
revision="1.7.3a"
revision="1.7.4"
# unicorn puke:
red=$'\e[1;31m'
@ -361,7 +361,11 @@ fix_linwinpeas() {
winpeas_arr=('winPEAS.bat' 'winPEASany.exe' 'winPEASany_ofs.exe' 'winPEASx64_ofs.exe' 'winPEASx86.exe' 'winPEASx86_ofs.exe')
for winpeas_file in ${winpeas_arr[@]}; do
echo -e " $greenplus Downloading $winpeas_file to $dest_winpeas/$winpeas_file"
wget -q $releases_url/$winpeas_file -O $dest_winpeas/$winpeas_file
# revision 1.7.4 static wget of the April 2023 release of Winpeas
# due to github issue https://github.com/carlospolop/PEASS-ng/issues/359
wget -q https://github.com/carlospolop/PEASS-ng/releases/tag/20230419-b6aac9cb/$winpeas_file -O $dest_winpeas/$winpeas_file
# original code to be re-enabled once the winpeas group releases a fixed self-contained version
# wget -q $releases_url/$winpeas_file -O $dest_winpeas/$winpeas_file
chmod +x $dest_winpeas/$winpeas_file
done
}