more pre-8.0 fixes

This commit is contained in:
vanhauser-thc 2014-04-28 13:05:35 +02:00
parent 163a499bfe
commit 94893bd698
26 changed files with 4079 additions and 5 deletions

View file

@ -80,6 +80,7 @@ int start_http_proxy_urlenum(int s, char *ip, int port, unsigned char options, c
hydra_report(stderr, "C:%s\n", buffer);
if (hydra_send(s, buffer, strlen(buffer), 0) < 0)
return 1;
free(buf);
buf = hydra_receive_line(s);
while (buf != NULL && strstr(buf, "HTTP/1.") == NULL) {
free(buf);