From 43c9ab09e57f061aa82391954d8c99aeceb7890d Mon Sep 17 00:00:00 2001 From: van Hauser Date: Mon, 26 Jun 2017 13:37:55 +0200 Subject: [PATCH] print test username --- hydra-ssh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra-ssh.c b/hydra-ssh.c index cb3acfe..636237e 100644 --- a/hydra-ssh.c +++ b/hydra-ssh.c @@ -172,7 +172,7 @@ int service_ssh_init(char *ip, int sp, unsigned char options, char *miscptr, FIL ssh_session session = ssh_new(); if (verbose || debug) - printf("[INFO] Testing if password authentication is supported by ssh://%s:%d\n", hydra_address2string(ip), port); + printf("[INFO] Testing if password authentication is supported by ssh://%s@%s:%d\n", miscptr == NULL ? "hydra" : "miscptr", hydra_address2string(ip), port); ssh_options_set(session, SSH_OPTIONS_PORT, &port); ssh_options_set(session, SSH_OPTIONS_HOST, hydra_address2string(ip)); if (miscptr == NULL)