1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-06 19:15:23 +02:00
tldr/pages/common/nxc-rdp.md
2025-05-04 20:03:26 +03:00

922 B

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 usernames and passwords:

nxc rdp {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}}

  • Take a screenshot after waiting the for specified number of seconds:

nxc rdp {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --screenshot --screentime {{10}}

  • Take a screenshot in the specified resolution:

nxc rdp {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{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]}} {{username}} {{[-p|--password]}} {{password}} --nla-screenshot