diff --git a/Makefile.unix b/Makefile.unix index d58d678..6519b52 100644 --- a/Makefile.unix +++ b/Makefile.unix @@ -1,2 +1 @@ -CC=gcc STRIP=strip diff --git a/hydra-mod.c b/hydra-mod.c index 42b9c3b..e58d102 100644 --- a/hydra-mod.c +++ b/hydra-mod.c @@ -954,7 +954,7 @@ char *hydra_receive_line(int32_t socket) { if (got < 0) { if (debug) { sprintf(text, "[DEBUG] RECV [pid:%d]", getpid()); - hydra_dump_data("", -1, text); + hydra_dump_data((unsigned char*)"", -1, text); //hydra_report_debug(stderr, "DEBUG_RECV_BEGIN||END [pid:%d %d]", getpid(), i); perror("recv"); } diff --git a/hydra-smb.c b/hydra-smb.c index 3be4170..0337ffd 100644 --- a/hydra-smb.c +++ b/hydra-smb.c @@ -1499,7 +1499,7 @@ int32_t service_smb_init(char *ip, int32_t sp, unsigned char options, char *misc return -1; } - if (buf[15] & 16 == 16) { + if ((buf[15] & 16) == 16) { fprintf(stderr, "[ERROR] target smb://%s:%d/ requires signing which we do not support\n", hostname, port); return -1; }