HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

nxc rdp — Pentest and exploit RDP servers. More information: <https://www.netexec.wiki/rdp-protocol/password-s

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandandserversnxc rdpexploitclipentestrdp

Problem

How to use the nxc rdp command: Pentest and exploit RDP servers. More information: <https://www.netexec.wiki/rdp-protocol/password-spraying>.

Solution

nxc rdp — Pentest and exploit RDP servers. More information: <https://www.netexec.wiki/rdp-protocol/password-spraying>.

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

Code Snippets

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

Context

tldr-pages: common/nxc rdp

Revisions (0)

No revisions yet.