Skip to content

Commit

Permalink
verbose output for rdp to identify an issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vanhauser-thc committed Nov 5, 2019
1 parent a1f3f00 commit efbc35e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hydra-rdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ int32_t start_rdp(char *ip, int32_t port, unsigned char options, char *miscptr,
case 0x0002000c:
case 0x0002000d:
// 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;
default:
if (verbose) {
Expand Down

0 comments on commit efbc35e

Please sign in to comment.