Enumeration
Last updated
Last updated
Get OS version:
Get service pack version:
Great Windows privesc enumeration script.
If you transfer the results from running the script to linux, then you can view colourized output with the cat command. Vim doesn't colourize it properly.
To view it with other tools, you have to convert it to UTF-8 first.
After that, you can view it with less (ansi coloured output).
Caveats:
When I tested this script, it wasn't able to find autologon credentials, even though PowerUp was able to find them with Get-RegistryAutoLogon
(WinPEAS checks for them but said it didn't find any in the "Bart" box on HTB)
This may catch some stuff that WinPEAS might not find, like autologon credentials.
Serve the script over HTTP:
(From Powershell) load the module into memory:
Invoke all checks:
Caveats:
If you're running the script on a 64-bit machine, then make sure you're using 64-bit Powershell.