mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 04:26:10 -07:00
warning fixes by crondaemon
This commit is contained in:
parent
b9465a4c8c
commit
fdf9b5f588
3 changed files with 2 additions and 3 deletions
|
@ -1,2 +1 @@
|
|||
CC=gcc
|
||||
STRIP=strip
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue