mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 17:33:38 +02:00
evil-winrm: add long/short options (#16865)
* evil-winrm: add long options * PtH
This commit is contained in:
parent
3f84daaead
commit
6470b35f82
2 changed files with 10 additions and 10 deletions
|
@ -6,19 +6,19 @@
|
|||
|
||||
- 호스트에 연결:
|
||||
|
||||
`evil-winrm --ip {{아이피}} --user {{사용자}} --password {{비밀번호}}`
|
||||
`evil-winrm {{[-i|--ip]}} {{아이피}} {{[-u|--user]}} {{사용자}} {{[-p|--password]}} {{비밀번호}}`
|
||||
|
||||
- 비밀번호 해시를 전달하여 호스트에 연결:
|
||||
|
||||
`evil-winrm --ip {{아이피}} --user {{사용자}} --hash {{nt_hash}}`
|
||||
`evil-winrm {{[-i|--ip]}} {{아이피}} {{[-u|--user]}} {{사용자}} {{[-H|--hash]}} {{nt_hash}}`
|
||||
|
||||
- 스크립트 및 실행 파일에 대한 디렉터리를 지정하여 호스트에 연결:
|
||||
|
||||
`evil-winrm --ip {{아이피}} --user {{사용자}} --password {{비밀번호}} --scripts {{경로/대상/스크립트}} --executables {{경로/대상/실행파일}}`
|
||||
`evil-winrm {{[-i|--ip]}} {{아이피}} {{[-u|--user]}} {{사용자}} {{[-p|--password]}} {{비밀번호}} {{[-s|--scripts]}} {{경로/대상/스크립트}} {{[-e|--executables]}} {{경로/대상/실행파일}}`
|
||||
|
||||
- SSL을 사용하여 호스트에 연결:
|
||||
|
||||
`evil-winrm --ip {{아이피}} --user {{사용자}} --password {{비밀번호}} --ssl --pub-key {{경로/대상/공개키}} --priv-key {{경로/대상/개인키}}`
|
||||
`evil-winrm {{[-i|--ip]}} {{아이피}} {{[-u|--user]}} {{사용자}} {{[-p|--password]}} {{비밀번호}} {{[-S|--ssl]}} {{[-c|--pub-key]}} {{경로/대상/공개키}} {{[-k|--priv-key]}} {{경로/대상/개인키}}`
|
||||
|
||||
- 호스트에 파일 업로드:
|
||||
|
||||
|
|
|
@ -6,19 +6,19 @@
|
|||
|
||||
- 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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue