mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-15 01:59:58 +00:00
Update cheatsheets
This commit is contained in:
@@ -11,19 +11,19 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Connect to a host:
|
||||
|
||||
`evil-winrm --ip {{ip}} --user {{user}} --password {{password}}`
|
||||
`evil-winrm {{[-i|--ip]}} {{ip}} {{[-u|--user]}} {{user}} {{[-p|--password]}} {{password}}`
|
||||
|
||||
- Connect to a host, passing the password hash:
|
||||
- Connect to a host using pass-the-hash authentication instead of a password:
|
||||
|
||||
`evil-winrm --ip {{ip}} --user {{user}} --hash {{nt_hash}}`
|
||||
`evil-winrm {{[-i|--ip]}} {{ip}} {{[-u|--user]}} {{user}} {{[-H|--hash]}} {{nt_hash}}`
|
||||
|
||||
- Connect to a host, specifying directories for scripts and executables:
|
||||
- Connect to a host, specifying directories for PowerShell scripts and executables:
|
||||
|
||||
`evil-winrm --ip {{ip}} --user {{user}} --password {{password}} --scripts {{path/to/scripts}} --executables {{path/to/executables}}`
|
||||
`evil-winrm {{[-i|--ip]}} {{ip}} {{[-u|--user]}} {{user}} {{[-p|--password]}} {{password}} {{[-s|--scripts]}} {{path/to/scripts}} {{[-e|--executables]}} {{path/to/executables}}`
|
||||
|
||||
- Connect to a host, using SSL:
|
||||
|
||||
`evil-winrm --ip {{ip}} --user {{user}} --password {{password}} --ssl --pub-key {{path/to/pubkey}} --priv-key {{path/to/privkey}}`
|
||||
`evil-winrm {{[-i|--ip]}} {{ip}} {{[-u|--user]}} {{user}} {{[-p|--password]}} {{password}} {{[-S|--ssl]}} {{[-c|--pub-key]}} {{path/to/pubkey}} {{[-k|--priv-key]}} {{path/to/privkey}}`
|
||||
|
||||
- Upload a file to the host:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user