2005.12.07 08:03 problems with THc's hydra

Today I was trying to compile THC's hydra - http://www.thc.org/releases.php?q=hydra&x=0&y=0 . I had problems, make was giving such errors:
hydra-sip.c: In function 'md5_crypt':
hydra-sip.c:24: error: 'MD5_DIGEST_LENGTH' undeclared (first use in this function)
hydra-sip.c:24: error: (Each undeclared identifier is reported only once
hydra-sip.c:24: error: for each function it appears in.)
hydra-sip.c:26: error: 'MD5_CTX' undeclared (first use in this function)
hydra-sip.c:26: error: syntax error before 'c'
hydra-sip.c:31: warning: implicit declaration of function 'MD5_Init'
hydra-sip.c:31: error: 'c' undeclared (first use in this function)
hydra-sip.c:32: warning: implicit declaration of function 'MD5_Update'
hydra-sip.c:33: warning: implicit declaration of function 'MD5_Final'
hydra-sip.c:24: warning: unused variable 'md5_raw'
hydra-sip.c: In function 'sip_register':
hydra-sip.c:60: error: 'MD5_DIGEST_LENGTH' undeclared (first use in this function)
hydra-sip.c:61: warning: unused variable 'resp'
hydra-sip.c:61: warning: unused variable 'mu'
hydra-sip.c:60: warning: unused variable 'urp'
make: *** [hydra-sip.o] Error 1
Finally I found the soultion. I added line #include <openssl/md5.h> to the file hydra-sip.c. Then it worked. Maybe it will be useful to somebody.

komentarze:

ksywa:

tu wpisz cyfrę cztery: (to takie zabezpieczenie antyspamowe)

komentarze wulgarne albo co mi się nie spodobają będę kasował


powrot na strone glowna

RSS