2024-10-28 06:40:59 +01:00
|
|
|
# nxc rdp
|
|
|
|
|
|
|
|
> Pentest and exploit RDP servers.
|
|
|
|
> More information: <https://www.netexec.wiki/rdp-protocol>.
|
|
|
|
|
2025-05-04 20:03:26 +03:00
|
|
|
- Search for valid credentials by trying out every combination in the specified lists of usernames and passwords:
|
2024-10-28 06:40:59 +01:00
|
|
|
|
2025-05-04 20:03:26 +03:00
|
|
|
`nxc rdp {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}}`
|
2024-10-28 06:40:59 +01:00
|
|
|
|
|
|
|
- Take a screenshot after waiting the for specified number of seconds:
|
|
|
|
|
2025-05-04 20:03:26 +03:00
|
|
|
`nxc rdp {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --screenshot --screentime {{10}}`
|
2024-10-28 06:40:59 +01:00
|
|
|
|
|
|
|
- Take a screenshot in the specified resolution:
|
|
|
|
|
2025-05-04 20:03:26 +03:00
|
|
|
`nxc rdp {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --screenshot --res {{1024x768}}`
|
2024-10-28 06:40:59 +01:00
|
|
|
|
|
|
|
- Take a screenshot of the RDP login prompt if Network Level Authentication is disabled:
|
|
|
|
|
2025-05-04 20:03:26 +03:00
|
|
|
`nxc rdp {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --nla-screenshot`
|