Título: Problema al instalar Hashkill
Publicado por: P-Joe en 29 Agosto 2011, 14:29 pm
Hashkill es un crackeador de contraseñas multihilo para Linux, que permite utilizar tanto la CPU como la GPU, para lanzar ataques de fuerza bruta, de diccionario, híbridos o de markov. Nuchísima más información en este (http://"http://omniumpotentior.wordpress.com/2011/03/20/hashkill-cracking-multihilo-para-linux/") post del blog de Deathmaster. El problema en cuestión que tengo es que únicamente me carga las hashes md5 y no las demás que hay. Entonces solo puedo crackear hashes md5. Los pasos que he hecho para la instalación son: wget http://ignum.dl.sourceforge.net/project/hashkill/hashkill-0.2.3b.tar.gz tar xvfz hashkill-0.2.3b.tar.gz apt-get install build-essential checkinstall pkg-config libssl-dev zlib1g-dev zlib1g libcompfaceg1-dev automake1.9 ./configure make make install Los problemas empiezan a aparecer en la instalación del make: root@Urfakingmoder:~/Descargas/hashkill-0.2.3b# make Making all in src make[1]: se ingresa al directorio `/root/Descargas/hashkill-0.2.3b/src' Making all in plugins make[2]: se ingresa al directorio `/root/Descargas/hashkill-0.2.3b/src/plugins' gcc plugin.c md5.c -o md5.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c md5md5.c -o md5md5.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c md5-passsalt.c -o md5-passsalt.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c sha1.c -o sha1.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c smf.c -o smf.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c md4.c -o md4.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c ntlm.c -o ntlm.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c desunix.c -o desunix.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c md5-saltpass.c -o md5-saltpass.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c mysql5.c -o mysql5.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c ipb2.c -o ipb2.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c vbulletin.c -o vbulletin.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c mssql-2000.c -o mssql-2000.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c mssql-2005.c -o mssql-2005.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c phpbb3.c phpass.c -o phpbb3.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c wordpress.c phpass.c -o wordpress.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c sha256.c -o sha256.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c sha512.c -o sha512.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c apr1.c apr1-crypt.c -o apr1.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c hashunix.c sha256-crypt.c sha512-crypt.c md5-crypt.c -o hashunix.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall -w -funroll-all-loops gcc plugin.c mysql-old.c password-mysql.c -o mysql-old.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c privkey.c -o privkey.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c oracle11g.c -o oracle11g.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c cisco-pix.c -o cisco-pix.so -w -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c zip.c -o zip.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall -lz zip.c: In function ‘hash_plugin_check_hash’: zip.c:244:10: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c: In function ‘hash_plugin_parse_hash’: zip.c:111:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c:119:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c:122:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c:125:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c:131:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c:132:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c:136:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c:140:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c:144:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c:148:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c:152:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c:155:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c:160:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c:193:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c:194:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result zip.c:199:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result gcc plugin.c ripemd160.c -o ripemd160.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c sha1sha1.c -o sha1sha1.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c lm.c -o lm.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c oracle-old.c -o oracle-old.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall gcc plugin.c ldap-sha.c base64.c -o ldap-sha.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall -g gcc plugin.c ldap-ssha.c base64.c -o ldap-ssha.so -Wall -I../ -shared -O2 -fpic -fomit-frame-pointer -minline-all-stringops -Wall -g make[2]: se sale del directorio `/root/Descargas/hashkill-0.2.3b/src/plugins' Making all in markov make[2]: se ingresa al directorio `/root/Descargas/hashkill-0.2.3b/src/markov' make[2]: No se hace nada para `all'. make[2]: se sale del directorio `/root/Descargas/hashkill-0.2.3b/src/markov' make[2]: se ingresa al directorio `/root/Descargas/hashkill-0.2.3b/src' make[2]: No se hace nada para `all-am'. make[2]: se sale del directorio `/root/Descargas/hashkill-0.2.3b/src' make[1]: se sale del directorio `/root/Descargas/hashkill-0.2.3b/src' Making all in man make[1]: se ingresa al directorio `/root/Descargas/hashkill-0.2.3b/man' make[1]: No se hace nada para `all'. make[1]: se sale del directorio `/root/Descargas/hashkill-0.2.3b/man' make[1]: se ingresa al directorio `/root/Descargas/hashkill-0.2.3b' make[1]: No se hace nada para `all-am'. make[1]: se sale del directorio `/root/Descargas/hashkill-0.2.3b'
y luego cuando hago make install: root@Urfakingmoder:~/Descargas/hashkill-0.2.3b# make install Making install in src make[1]: se ingresa al directorio `/root/Descargas/hashkill-0.2.3b/src' Making install in plugins make[2]: se ingresa al directorio `/root/Descargas/hashkill-0.2.3b/src/plugins' mkdir -p /usr/share/hashkill/plugins mkdir -p /usr/share/hashkill/sessions chmod ugo+w /usr/share/hashkill/sessions cp -f *.so /usr/share/hashkill/plugins make[2]: se sale del directorio `/root/Descargas/hashkill-0.2.3b/src/plugins' Making install in markov make[2]: se ingresa al directorio `/root/Descargas/hashkill-0.2.3b/src/markov' mkdir -p /usr/share/hashkill/markov chmod ugo+r /usr/share/hashkill/markov cp -f *.stat /usr/share/hashkill/markov make[2]: se sale del directorio `/root/Descargas/hashkill-0.2.3b/src/markov' make[2]: se ingresa al directorio `/root/Descargas/hashkill-0.2.3b/src' make[3]: se ingresa al directorio `/root/Descargas/hashkill-0.2.3b/src' test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin" /usr/bin/install -c 'hashkill' '/usr/local/bin/hashkill' make[3]: No se hace nada para `install-data-am'. make[3]: se sale del directorio `/root/Descargas/hashkill-0.2.3b/src' make[2]: se sale del directorio `/root/Descargas/hashkill-0.2.3b/src' make[1]: se sale del directorio `/root/Descargas/hashkill-0.2.3b/src' Making install in man make[1]: se ingresa al directorio `/root/Descargas/hashkill-0.2.3b/man' make[2]: se ingresa al directorio `/root/Descargas/hashkill-0.2.3b/man' make[2]: No se hace nada para `install-exec-am'. test -z "/usr/local/share/man/man8" || mkdir -p -- "/usr/local/share/man/man8" /usr/bin/install -c -m 644 './hashkill.8' '/usr/local/share/man/man8/hashkill.8' make[2]: se sale del directorio `/root/Descargas/hashkill-0.2.3b/man' make[1]: se sale del directorio `/root/Descargas/hashkill-0.2.3b/man' make[1]: se ingresa al directorio `/root/Descargas/hashkill-0.2.3b' make[2]: se ingresa al directorio `/root/Descargas/hashkill-0.2.3b' make[2]: No se hace nada para `install-exec-am'. make[2]: No se hace nada para `install-data-am'. make[2]: se sale del directorio `/root/Descargas/hashkill-0.2.3b' make[1]: se sale del directorio `/root/Descargas/hashkill-0.2.3b'
A continuación ya me olía que algo había salido mal... y tipeo en la consola `hashkill` y me sale: root@Urfakingmoder:~/Descargas/hashkill-0.2.3b# hashkill
[hashkill] Version 0.2.3 [hashkill] Plugin 'md5' loaded successfully [error] (main.c:448) No hashes loaded! (try --help)
Entonces hago: root@Urfakingmoder:~/Descargas/hashkill-0.2.3b# hashkill -help
[hashkill] Version 0.2.3
Usage: hashkill [options]
Options: ------------- -P<plugin>, --plugin-info[=..] Show plugins summary or detailed plugin information if <plugin> is provided -p <plugin>, --plugin Use plugin (default plugin is 'md5') -S<session>, --session-info[=..] Display sessions summary/detailed info on <session> -s <session>, --session Load <session> (you may list sessions using -S) -f <hashfile>, --hashfile Load hashes from file 'hashfile' -d <dictionary>, --dictionary Enables dictionary mode (or hybrid if -b set), load dictionary 'dictionary' -b<ruleset>, --brute[=...] Enables bruteforce mode (or hybrid if -d set), load ruleset 'ruleset' (default: '1:8:lalphanum') -t <prefix>, --prefix Bruteforce prefix -o <filename>, --outfile Write cracked hashes to <filename> upon completion -M, --markov-info[=...] Show available Markov stats files summary -m <statfile>, --markov Enable Markov attack, use <statfile> -n <threshold>,--markov-threshold Set Markov attack threshold -N <limit>, --markov-limit Set Markov attack password length limit (<=10, default 8)
Ruleset format: 'start_len:end_len:predefined_set:additional_args'
start_len: generated plaintexts are equal in length or longer than that value end_len: generated plaintexts are equal in length or shorter than that value predefined_set: one of 'alpha', 'ualpha', 'lalpha', 'lalphanum', 'ualphanum', 'alphanum', 'ascii', 'none' additional_args: additional characters, e.g '+()'
Example:
-t hello -b1:2:lalpha:* - try all permutations of length 1-2, comprised of lower alphabetical chars and '*', starting with 'hello' (e.g hellogmark hello* hellojf, etc)
¿Alguien sabe a que se debe este error? Espero impaciente respuestas, saludos.
Título: Re: Problema al instalar Hashkill
Publicado por: APOKLIPTICO en 30 Agosto 2011, 15:02 pm
Tenés que ponerle argumentos al programa, sino, que vas a crackear??? Tenés que ponerle algún hash, alguna opción, definir que algoritmo se está utilizando, fijate leyendo la ayuda o los tutoriales incluidos con el programa.
Título: Re: Problema al instalar Hashkill
Publicado por: P-Joe en 30 Agosto 2011, 17:01 pm
Sí sí, eso lo tenía en cuenta pero por ejemplo cuando pruebo este comando me sale el siguiente error: root@Urfakingmoder:/home/p-joe# hashkill –plugin mysql5 6F3CAE7C3BBB2A5B5D933738682953BC21AEBEE7
[hashkill] Version 0.2.3 [hashkill] Plugin 'md5' loaded successfully [error] (main.c:408) Cannot load hash: –plugin Y es porque hay un problema con la carga de las hashes, ¿alguien sabe solucionarlo? ¿alguna idea?
Título: Re: Problema al instalar Hashkill
Publicado por: APOKLIPTICO en 31 Agosto 2011, 15:26 pm
Tenés que poner dos "-" sería hashkill --plugin mysql5 y el hash.
Título: Re: Problema al instalar Hashkill
Publicado por: P-Joe en 1 Septiembre 2011, 02:56 am
Qué fallo más garrafal... Muchas gracias apokliptico. ¡Saludos!
|