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

rdp_check.py — Test whether an account is valid on the target host using the RDP protocol (no full login, just auth

Submitted by: @import:tldr-pages··
0
Viewed 0 times
therdp_check.pycommandwhetheraccountclitestvalid

Problem

How to use the rdp_check.py command: Test whether an account is valid on the target host using the RDP protocol (no full login, just authentication check). Part of the Impacket suite. More information: <https://github.com/fortra/impacket>.

Solution

rdp_check.py — Test whether an account is valid on the target host using the RDP protocol (no full login, just authentication check). Part of the Impacket suite. More information: <https://github.com/fortra/impacket>.

Check if credentials are valid on a target (password prompted if omitted):
rdp_check.py {{domain}}/{{username}}@{{target}}


Check credentials using NTLM hashes:
rdp_check.py -hashes {{LM_Hash}}:{{NT_Hash}} {{domain}}/{{username}}@{{target}}


Check credentials with explicit password:
rdp_check.py {{domain}}/{{username}}:{{password}}@{{target}}


Check credentials for a local account on the target (no domain):
rdp_check.py {{username}}:{{password}}@{{target}}

Code Snippets

Check if credentials are valid on a target (password prompted if omitted)

rdp_check.py {{domain}}/{{username}}@{{target}}

Check credentials using NTLM hashes

rdp_check.py -hashes {{LM_Hash}}:{{NT_Hash}} {{domain}}/{{username}}@{{target}}

Check credentials with explicit password

rdp_check.py {{domain}}/{{username}}:{{password}}@{{target}}

Check credentials for a local account on the target (no domain)

rdp_check.py {{username}}:{{password}}@{{target}}

Context

tldr-pages: common/rdp_check.py

Revisions (0)

No revisions yet.