From d3fe8793fb074b3e9712e3855d812fa3beae9642 Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Wed, 16 Aug 2017 23:59:38 +0200 Subject: [PATCH] smb: add parenthesis to avoid default precedence. --- hydra-smb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra-smb.c b/hydra-smb.c index 031b8ff..255bd44 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; }