Hey everyone. I'm trying to test out hydra's http-post-form module. Now after a trial and error I found out hydra has a patch to fix a problem with it freeing incorrect pieces of memory. The patch from :

hXXp : // packetstorm.linuxsecurity.com/groups/thc/hydra-http-form.patch

contains :

--- hydra-http-form.old 2008-02-06 09:42:49.000000000 +0000
+++ hydra-http-form.c 2008-02-06 09:43:45.000000000 +0000
@@ -149,7 +149,6 @@
}

if (hydra_send(s, buffer, strlen(buffer), 0) < 0) {
- free(updvariables);
free(upd2variables);
return 1;
}
@@ -183,7 +182,6 @@
*/

free(buf);
- free(updvariables);
free(upd2variables);

if (memcmp(hydra_get_next_pair(), &HYDRA_EXIT, sizeof(HYDRA_EXIT)) == 0)


Now, when I check out http-post-form.c in nano, I can find those exact lines. However, they are exactly the same, except for the '-' sign in front of the two lines above. My question is how do I patch this, because the only difference is the minus sign, and adding that and compiling doesn't exactly work out?

Thanks, any help is really appreciated.