mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-22 06:13:55 -07:00
Merge branch 'master' of github.com:vanhauser-thc/thc-hydra
This commit is contained in:
commit
dcda041f93
3 changed files with 5 additions and 1 deletions
|
@ -15,6 +15,7 @@ void dummy_sip() {
|
|||
}
|
||||
#else
|
||||
|
||||
#include <stdint.h>
|
||||
#include "sasl.h"
|
||||
|
||||
extern int32_t hydra_data_ready_timed(int32_t socket, long sec, long usec);
|
||||
|
|
|
@ -208,7 +208,7 @@ int32_t service_ssh_init(char *ip, int32_t sp, unsigned char options, char *misc
|
|||
return 0;
|
||||
}
|
||||
|
||||
fprintf(stderr, "[ERROR] target ssh://%s:%d/ does not support password authentication.\n", hydra_address2string_beautiful(ip), port);
|
||||
fprintf(stderr, "[ERROR] target ssh://%s:%d/ does not support password authentication (method reply %d).\n", hydra_address2string_beautiful(ip), port, method);
|
||||
return 1;
|
||||
#else
|
||||
return 0;
|
||||
|
|
3
hydra.c
3
hydra.c
|
@ -3290,6 +3290,9 @@ int main(int argc, char *argv[]) {
|
|||
tmpptr++;
|
||||
tmpptr++;
|
||||
}
|
||||
} else if (hydra_options.server == NULL) {
|
||||
fprintf(stderr, "Error: no target server given, nor -M option used\n");
|
||||
exit(-1);
|
||||
} else if (index(hydra_options.server, '/') != NULL) {
|
||||
if (cmdtarget == NULL)
|
||||
bail("You seem to mix up \"service://target:port/options\" syntax with \"target service options\" syntax. Read the README on how to use hydra correctly!");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue