mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-19 13:01:00 -07:00
verbose output for rdp to identify an issue
This commit is contained in:
parent
a1f3f00f86
commit
efbc35eb50
1 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,8 @@ int32_t start_rdp(char *ip, int32_t port, unsigned char options, char *miscptr,
|
||||||
case 0x0002000c:
|
case 0x0002000c:
|
||||||
case 0x0002000d:
|
case 0x0002000d:
|
||||||
// cannot establish rdp connection, either the port is not opened or it's not rdp
|
// cannot establish rdp connection, either the port is not opened or it's not rdp
|
||||||
|
if (verbose)
|
||||||
|
hydra_report(stderr, "[ERROR] freerdp: %s (0x%.8x)\n", freerdp_get_last_error_string(login_result), login_result);
|
||||||
return 3;
|
return 3;
|
||||||
default:
|
default:
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue