mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-04 10:43:53 +00:00
27 lines
800 B
Python
27 lines
800 B
Python
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|