warning fixes by crondaemon

This commit is contained in:
van Hauser 2017-08-18 11:30:42 +02:00
parent b9465a4c8c
commit fdf9b5f588
3 changed files with 2 additions and 3 deletions

View file

@ -1,2 +1 @@
CC=gcc
STRIP=strip

View file

@ -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");
}

View file

@ -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;
}