mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-05 13:44:22 +00:00
26 lines
883 B
Plaintext
26 lines
883 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# nxc rdp
|
|
|
|
> Pentest and exploit RDP servers.
|
|
> More information: <https://www.netexec.wiki/rdp-protocol>.
|
|
|
|
- Search for valid credentials by trying out every combination in the specified lists of [u]sernames and [p]asswords:
|
|
|
|
`nxc rdp {{192.168.178.2}} -u {{path/to/usernames.txt}} -p {{path/to/passwords.txt}}`
|
|
|
|
- Take a screenshot after waiting the for specified number of seconds:
|
|
|
|
`nxc rdp {{192.168.178.2}} -u {{username}} -p {{password}} --screenshot --screentime {{10}}`
|
|
|
|
- Take a screenshot in the specified resolution:
|
|
|
|
`nxc rdp {{192.168.178.2}} -u {{username}} -p {{password}} --screenshot --res {{1024x768}}`
|
|
|
|
- Take a screenshot of the RDP login prompt if Network Level Authentication is disabled:
|
|
|
|
`nxc rdp {{192.168.178.2}} -u {{username}} -p {{password}} --nla-screenshot`
|