Instalando THC-Hydra 5.7

Como ya comentamos anteriormente The Hacker’s Choice a publicado una nueva versión de esta excelente herramienta.

Pues… a INSTALAR!

Descargamos Hydra

rokitoh@redorbita:~/home/rokitoh$ wget http://freeworld.thc.org/releases/hydra-5.7-src.tar.gz

Descomprimimos

rokitoh@redorbita:~/home/rokitoh$ $tar xzvf hydra-5.7-src.tar.gz
Accedemos a la carpeta
rokitoh@redorbita:~/home/rokitoh$ cd hydra-5.7-src/
Compilamos
rokitoh@redorbita:~/home/rokitoh/hydra-5.7-src$ ./configure
Starting hydra auto configuration …
Checking for openssl (libssl/ssl.h) …
… found
Checking for Postgres (libpq.so) …
… found
Checking for SVN (libsvn_client-1 libapr-0.so libaprutil-0.so) …
… found
Checking for firebird (libfbclient.so) …
… NOT found, module firebird disabled
Checking for NCP (libncp.so / nwcalls.h) …
… NOT found, module NCP disabled
Checking for SAP/R3 (librfc/saprfc.h) …
… NOT found, module sapr3 disabled
Get it from http://www.sap.com/solutions/netweaver/linux/eval/index.asp
Checking for libssh (libssh/libssh.h) …
… NOT found, module ssh2 disabled
Get it from http://www.libssh.org
Checking for GUI req’s (pkg-config) …
… found
Hydra will be installed into …/bin of: /usr/local
(change this by running ./configure –prefix=path)
Writing Makefile.in …
now type “make”
rokitoh@redorbita:~/home/rokitoh/hydra-5.7-src$ make
gcc -I. -Wall -O2 -o pw-inspector pw-inspector.c
gcc -I. -Wall -O2 -c hydra-vnc.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-pcnfs.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-rexec.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-nntp.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-socks5.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-telnet.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-cisco.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-http.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-ftp.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-imap.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-pop3.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-smb.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-icq.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-cisco-enable.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-ldap.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-mysql.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-http-proxy.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-smbnt.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-mssql.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-snmp.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-cvs.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-smtpauth.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-sapr3.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-ssh2.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-teamspeak.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-postgres.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-rsh.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-rlogin.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-oracle-listener.c -DLIBOPENSSL -DLIBPOSTGRES
hydra-oracle-listener.c:10:2: warning: #warning “The Oracle Listener module does not work yet”
gcc -I. -Wall -O2 -c hydra-svn.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-pcanywhere.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-sip.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-vmauthd.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-smtpauth-ntlm.c -DLIBOPENSSL -DLIBPOSTGRES
hydra-smtpauth-ntlm.c: In function ‘start_smtpauth_ntlm’:
hydra-smtpauth-ntlm.c:33: warning: dereferencing type-punned pointer will break strict-aliasing rules
hydra-smtpauth-ntlm.c:33: warning: dereferencing type-punned pointer will break strict-aliasing rules
hydra-smtpauth-ntlm.c:51: warning: dereferencing type-punned pointer will break strict-aliasing rules
hydra-smtpauth-ntlm.c:51: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -I. -Wall -O2 -c hydra-firebird.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-ncp.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-http-proxy-auth-ntlm.c -DLIBOPENSSL -DLIBPOSTGRES
hydra-http-proxy-auth-ntlm.c: In function ‘start_http_proxy_auth_ntlm’:
hydra-http-proxy-auth-ntlm.c:50: warning: dereferencing type-punned pointer will break strict-aliasing rules
hydra-http-proxy-auth-ntlm.c:50: warning: dereferencing type-punned pointer will break strict-aliasing rules
hydra-http-proxy-auth-ntlm.c:68: warning: dereferencing type-punned pointer will break strict-aliasing rules
hydra-http-proxy-auth-ntlm.c:68: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -I. -Wall -O2 -c hydra-imap-ntlm.c -DLIBOPENSSL -DLIBPOSTGRES
hydra-imap-ntlm.c: In function ‘start_imap_ntlm’:
hydra-imap-ntlm.c:41: warning: dereferencing type-punned pointer will break strict-aliasing rules
hydra-imap-ntlm.c:41: warning: dereferencing type-punned pointer will break strict-aliasing rules
hydra-imap-ntlm.c:52: warning: dereferencing type-punned pointer will break strict-aliasing rules
hydra-imap-ntlm.c:52: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -I. -Wall -O2 -c hydra-pop3-ntlm.c -DLIBOPENSSL -DLIBPOSTGRES
hydra-pop3-ntlm.c: In function ‘start_pop3_ntlm’:
hydra-pop3-ntlm.c:40: warning: dereferencing type-punned pointer will break strict-aliasing rules
hydra-pop3-ntlm.c:40: warning: dereferencing type-punned pointer will break strict-aliasing rules
hydra-pop3-ntlm.c:51: warning: dereferencing type-punned pointer will break strict-aliasing rules
hydra-pop3-ntlm.c:51: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -I. -Wall -O2 -c hydra-http-form.c -DLIBOPENSSL -DLIBPOSTGRES
hydra-http-form.c: In function ‘start_http_form’:
hydra-http-form.c:119: warning: format ‘%d’ expects type ‘int’, but argument 9 has type ‘size_t’
hydra-http-form.c:131: warning: format ‘%d’ expects type ‘int’, but argument 8 has type ‘size_t’
hydra-http-form.c:142: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘size_t’
gcc -I. -Wall -O2 -c crc32.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c d3des.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c md4.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-mod.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c ntlm.c -DLIBOPENSSL -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra.c -DLIBOPENSSL -DLIBPOSTGRES
hydra.c: In function ‘hydra_restore_write’:
hydra.c:335: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
hydra.c:335: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long int’
gcc -I. -Wall -O2 -lm -o hydra hydra-vnc.o hydra-pcnfs.o hydra-rexec.o hydra-nntp.o hydra-socks5.o hydra-telnet.o hydra-cisco.o hydra-http.o hydra-ftp.o hydra-imap.o hydra-pop3.o hydra-smb.o hydra-icq.o hydra-cisco-enable.o hydra-ldap.o hydra-mysql.o hydra-http-proxy.o hydra-smbnt.o hydra-mssql.o hydra-snmp.o hydra-cvs.o hydra-smtpauth.o hydra-sapr3.o hydra-ssh2.o hydra-teamspeak.o hydra-postgres.o hydra-rsh.o hydra-rlogin.o hydra-oracle-listener.o hydra-svn.o hydra-pcanywhere.o hydra-sip.o hydra-vmauthd.o hydra-smtpauth-ntlm.o hydra-firebird.o hydra-ncp.o hydra-http-proxy-auth-ntlm.o hydra-imap-ntlm.o hydra-pop3-ntlm.o hydra-http-form.o crc32.o d3des.o md4.o hydra-mod.o ntlm.o hydra.o -lm -lssl -lpq -lcrypto -L/usr/lib -L/usr/local/lib -L/lib -L/usr/lib
If men could get pregnant, abortion would be a sacrament
cd hydra-gtk && ./make_xhydra.sh
Trying to compile xhydra now (hydra gtk gui) – dont worry if this fails, this is really optional …
«src/xhydra» -> «../xhydra»
The GTK GUI is ready, type “./xhydra” to start
Now type make install
Accedemos como root
rokitoh@redorbita:~/home/rokitoh/hydra-5.7-src$ su
Contraseña:
Instalamos Hydra
rokitoh@redorbita:~/home/rokitoh/hydra-5.7-src# make install
test -e hydra.exe && touch Makefile || strip hydra pw-inspector
test -e hydra.exe && strip hydra.exe pw-inspector.exe || touch hydra
test -e xhydra && strip xhydra || touch Makefile
test -e hydra.exe && touch Makefile || cp hydra pw-inspector /usr/local/bin && cd /usr/local/bin && chmod 755 hydra pw-inspector
test -e hydra.exe && cp hydra.exe pw-inspector.exe /usr/local/bin && cd /usr/local/bin && chmod 755 hydra.exe pw-inspector.exe || touch Makefile
test -e xhydra && cp xhydra /usr/local/bin && cd /usr/local/bin && chmod 755 xhydra

Para iniciar Hydra con interface grafica:

rokitoh@redorbita:~/home/rokitoh/hydra-5.7-src# ./xhydra

Pues ya lo tenemos instalado, ahora solo queda practicar con el.

Información Hydra:

http://freeworld.thc.org/

http://freeworld.thc.org/thc-hydra/

http://freeworld.thc.org/thc-hydra/README

3 thoughts on “Instalando THC-Hydra 5.7

  1. I’ve tried as you said but i keep receiving this error “” C:$$$$$$$$hydra-5.7-src>type “make” C:$$$$$$$$hydra-5.7-src
    The system cannot find the file specified.
    Error occurred while processing: “make”.
    Access is denied.
    Error occurred while processing: C:$$$$$$$$hydra-5.7-src.”” i have to specify that i have windows vista !!! what is that I’m doing wrong ???

  2. I’m not sure, I’ve never installed Windows Hydra, but I don’t know have to specify the version you have. I will watch and upload manual under windows. Sorry for the long wait.

  3. i have installed cygwin, the latest version !!! and this is the version of hydra C:$$$$$$$$$hydra-5.7-src … I’ve managed to install it, but i cant open the “” xhydra”” it show’s me an error “” cygtak 1.0.0 dll is missing”” or something like this… I’m not sure why ,but i think it’s because hydra Gtk is just for linux … thank you in advance.. hope to hear soon from you

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

*