Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-23 00:21:40 +00:00
parent 716a67f83d
commit 4e6886aa1f
57 changed files with 368 additions and 131 deletions

View File

@@ -10,19 +10,19 @@ source: https://github.com/tldr-pages/tldr.git
- Connect to a remote host:
`rpcclient {{[-U|--user]}} {{domain}}\{{username}}%{{password}} {{ip}}`
`rpcclient {{[-U|--user]}} {{domain}}\{{username}}%{{password}} {{ip_address}}`
- Connect to a remote host on a domain without a password:
`rpcclient {{[-U|--user]}} {{username}} {{[-W|--workgroup]}} {{domain}} {{[-N|--no-pass]}} {{ip}}`
`rpcclient {{[-U|--user]}} {{username}} {{[-W|--workgroup]}} {{domain}} {{[-N|--no-pass]}} {{ip_address}}`
- Connect to a remote host, passing the password hash:
`rpcclient {{[-U|--user]}} {{domain}}\{{username}} --pw-nt-hash {{ip}}`
`rpcclient {{[-U|--user]}} {{domain}}\{{username}} --pw-nt-hash {{ip_address}}`
- Execute shell commands on a remote host:
`rpcclient {{[-U|--user]}} {{domain}}\{{username}}%{{password}} {{[-c|--command]}} {{semicolon_separated_commands}} {{ip}}`
`rpcclient {{[-U|--user]}} {{domain}}\{{username}}%{{password}} {{[-c|--command]}} {{semicolon_separated_commands}} {{ip_address}}`
- Display domain users: