mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 00:50:01 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,11 +14,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display SMB shares and permissions on a [H]ost, prompting for user's password or NTLM hash:
|
||||
|
||||
`smbmap {{[-u|--username]}} {{username}} --prompt -H {{ip}}`
|
||||
`smbmap {{[-u|--username]}} {{username}} --prompt -H {{ip_address}}`
|
||||
|
||||
- Execute a shell command on a remote system:
|
||||
|
||||
`smbmap {{[-u|--username]}} {{username}} --prompt -H {{ip}} -x {{command}}`
|
||||
`smbmap {{[-u|--username]}} {{username}} --prompt -H {{ip_address}} -x {{command}}`
|
||||
|
||||
- Enumerate hosts and check SMB file permissions:
|
||||
|
||||
@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display SMB shares and recursively list directories and files, searching for file content matching a `regex`:
|
||||
|
||||
`smbmap {{[-u|--username]}} {{username}} --prompt -H {{ip}} -R -F {{pattern}}`
|
||||
`smbmap {{[-u|--username]}} {{username}} --prompt -H {{ip_address}} -R -F {{pattern}}`
|
||||
|
||||
Reference in New Issue
Block a user