Commit graph

21 commits

Author SHA1 Message Date
sanmacorz
c81f0b97e7 Changed index() to strchr() 2021-05-12 12:22:48 -05:00
Ruslan Makhmatkhanov
2ec0b164ca fix typo: comparison -> assignment 2021-03-17 13:04:24 +03:00
vanhauser-thc
cedbd0ddb2 indent 2021-03-11 14:00:40 +01:00
van Hauser
1ed6909836 more buffer 2020-05-28 22:38:52 +02:00
Karim Kanso
a40bfb1e54 add 404 to http-proxy as a success condition 2020-05-14 10:58:14 +01:00
Karim Kanso
99d8ef8f3c fix -Wformat-overflow= warnings in sprintf 2020-05-14 10:18:20 +01:00
Karim Kanso
dac0c18f75 fix http-proxy to handle multiline buffer data 2020-05-14 09:56:57 +01:00
van Hauser
5b6fc88428 fixed crash in rtsp module 2020-02-17 10:39:17 +01:00
van Hauser
720bdb3f96 code indent 2020-02-01 11:47:13 +01:00
David Maciejak
edc01ed049
Fix compilation warning
See below full log:

hydra-http-proxy.c: In function ‘start_http_proxy’:
hydra-http-proxy.c:26:26: warning: ‘%.200s’ directive writing up to 200 bytes into a region of size 24 [-Wformat-overflow=]
     sprintf(host, "Host: %.200s", ptr + 3);
                          ^~~~~~
In file included from /usr/include/stdio.h:862:0,
                 from hydra.h:3,
                 from hydra-mod.h:4,
                 from hydra-http-proxy.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 7 and 207 bytes into a destination of size 30
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __bos (__s), __fmt, __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-03-05 12:45:41 +08:00
van Hauser
ea3fd5285c more spelling fixes 2017-07-26 22:29:18 +02:00
van Hauser
f124c26fc6 big int to stdint switch 2017-07-05 08:48:00 +02:00
van Hauser
51d881353b moved help to modules 2017-06-23 19:15:18 +02:00
van Hauser
f42f7626ac sleep -> usleep fix 2016-09-01 17:38:33 +02:00
van Hauser
1579369097 SSL SNI support; important http-*:// fix; also http-post support added 2016-06-15 19:53:36 +02:00
Jack Reacher
554d66c768 Switched usleep to nanosleep for posix complience 2016-02-06 02:16:01 -05:00
vanhauser-thc
32ec439be6 added cidr support 2014-05-03 09:25:31 +02:00
vanhauser-thc
163a499bfe more pre-8.0 fixes 2014-04-28 11:45:11 +02:00
vanhauser-thc
ebbd664e07 pre-8.0 fixes 2014-04-28 11:04:38 +02:00
vanhauser-thc
9f75ddad8b pre-8.0 2014-04-27 13:49:33 +02:00
U-marc-win4\marc
6a94f708e8 initial commit 2014-04-24 16:49:18 +02:00