Beatnut Skrevet 9. juni 2009 Del Skrevet 9. juni 2009 (endret) Jeg prøver å installere brute force-programmet Hydra i Ubuntu Jaunty Jantalope 9.04. Under ser dere hva jeg har prøvd på så langt. Klikk for å se/fjerne innholdet nedenfor {-i | -s | <command>} usage: sudo -e [-S] [-p prompt] [-u username|#uid] file ... kristian@kristian-laptop:~$ dir Bilder examples.desktop Musikk Skrivebord Dokumenter Maler Offentlig Videoer kristian@kristian-laptop:~$ cd Skrivebord kristian@kristian-laptop:~/Skrivebord$ dir hydra-5.4-src hydra-5.4-src.tar.gz kristian@kristian-laptop:~/Skrivebord$ cd hydra-5.4-src kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ sudo make [sudo] password for kristian: gcc -I. -Wall -O2 -o pw-inspector pw-inspector.c gcc -I. -Wall -O2 -c hydra-vnc.c gcc -I. -Wall -O2 -c hydra-pcnfs.c gcc -I. -Wall -O2 -c hydra-rexec.c gcc -I. -Wall -O2 -c hydra-nntp.c gcc -I. -Wall -O2 -c hydra-socks5.c gcc -I. -Wall -O2 -c hydra-telnet.c hydra-telnet.c: In function ‘service_telnet’: hydra-telnet.c:177: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result hydra-telnet.c:191: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result hydra-telnet.c:198: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result gcc -I. -Wall -O2 -c hydra-cisco.c gcc -I. -Wall -O2 -c hydra-http.c gcc -I. -Wall -O2 -c hydra-ftp.c gcc -I. -Wall -O2 -c hydra-imap.c gcc -I. -Wall -O2 -c hydra-pop3.c gcc -I. -Wall -O2 -c hydra-smb.c gcc -I. -Wall -O2 -c hydra-icq.c gcc -I. -Wall -O2 -c hydra-cisco-enable.c gcc -I. -Wall -O2 -c hydra-ldap.c gcc -I. -Wall -O2 -c hydra-mysql.c gcc -I. -Wall -O2 -c hydra-http-proxy.c gcc -I. -Wall -O2 -c hydra-smbnt.c gcc -I. -Wall -O2 -c hydra-mssql.c gcc -I. -Wall -O2 -c hydra-snmp.c gcc -I. -Wall -O2 -c hydra-cvs.c gcc -I. -Wall -O2 -c hydra-smtpauth.c gcc -I. -Wall -O2 -c hydra-sapr3.c gcc -I. -Wall -O2 -c hydra-ssh2.c gcc -I. -Wall -O2 -c hydra-teamspeak.c gcc -I. -Wall -O2 -c hydra-postgres.c gcc -I. -Wall -O2 -c hydra-rsh.c gcc -I. -Wall -O2 -c hydra-rlogin.c gcc -I. -Wall -O2 -c hydra-oracle-listener.c hydra-oracle-listener.c:10:2: warning: #warning "The Oracle Listener module does not work yet" gcc -I. -Wall -O2 -c hydra-svn.c gcc -I. -Wall -O2 -c hydra-pcanywhere.c gcc -I. -Wall -O2 -c hydra-sip.c hydra-sip.c:4:25: error: openssl/ssl.h: No such file or directory hydra-sip.c:5:25: error: openssl/err.h: No such file or directory hydra-sip.c:6:25: error: openssl/md5.h: No such file or directory 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: expected ‘;’ 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 kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ sudo make install gcc -I. -Wall -O2 -c hydra-sip.c hydra-sip.c:4:25: error: openssl/ssl.h: No such file or directory hydra-sip.c:5:25: error: openssl/err.h: No such file or directory hydra-sip.c:6:25: error: openssl/md5.h: No such file or directory 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: expected ‘;’ 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 kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ hydra bash: hydra: command not found kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ sudo apt-get install libssl-dev libgtk2.0-dev E: Får ikke låst /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ sudo apt-get install libssl-dev libgtk2.0-dev Leser pakkelister ... Ferdig Skaper oversikt over avhengighetsforhold Leser tilstandsinformasjon ... Ferdig E: Klarte ikke å finne pakken libssl-dev kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ wget -c http://freeworld.thc.org/releases/hydra-5.4-src.tar.gz --2009-06-09 20:41:04-- http://freeworld.thc.org/releases/hydra-5.4-src.tar.gz Resolving freeworld.thc.org... 76.74.9.21 Connecting to freeworld.thc.org|76.74.9.21|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 208272 (203K) [application/x-gzip] Saving to: `hydra-5.4-src.tar.gz' 100%[======================================>] 208 272 26,8K/s in 7,6s 2009-06-09 20:41:15 (26,8 KB/s) - `hydra-5.4-src.tar.gz' saved [208272/208272] kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ ./configure Starting hydra auto configuration ... Checking for openssl (libssl/ssl.h) ... ... NOT found, SSL support disabled Get it from http://www.openssl.org Checking for Postgres (libpq) ... ... NOT found, module postgres disabled Checking for SVN (ibsvn_client-1 libapr-0.so libaprutil-0.so) ... ... NOT found, module svn 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://0xbadc0de.be/ - use v0.11! Hydra will be installed into .../bin of: /usr/local (change this by running ./configure --prefix=path) Writing Makefile.in ... NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES ======================================================================= ARM/PalmPilot users: please run ./configure-arm or ./configure-palm respectivly now type "make" kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ male bash: male: command not found kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ make gcc -I. -Wall -O2 -c hydra-sip.c hydra-sip.c:4:25: error: openssl/ssl.h: No such file or directory hydra-sip.c:5:25: error: openssl/err.h: No such file or directory hydra-sip.c:6:25: error: openssl/md5.h: No such file or directory 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: expected ‘;’ 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 kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ make install gcc -I. -Wall -O2 -c hydra-sip.c hydra-sip.c:4:25: error: openssl/ssl.h: No such file or directory hydra-sip.c:5:25: error: openssl/err.h: No such file or directory hydra-sip.c:6:25: error: openssl/md5.h: No such file or directory 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: expected ‘;’ 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 kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ sudo apt-get install libssl-dev libssh-dev libpq-dev [sudo] password for kristian: Leser pakkelister ... Ferdig Skaper oversikt over avhengighetsforhold Leser tilstandsinformasjon ... Ferdig Merk, velger libssh-2-dev istedenfor libssh-dev Følgende ekstra pakker vil bli installert. comerr-dev libgcrypt11-dev libgpg-error-dev libkadm55 libkrb5-dev libpq5 libssh-2 libssh-2-dev zlib1g-dev Foreslåtte pakker: libgcrypt11-doc krb5-doc postgresql-doc-8.3 libssh-2-doc Følgende NYE pakker vil bli installert: comerr-dev libgcrypt11-dev libgpg-error-dev libkadm55 libkrb5-dev libpq-dev libpq5 libssh-2 libssh-2-dev libssl-dev zlib1g-dev 0 oppgraderte, 11 nylig installerte, 0 å fjerne og 149 ikke oppgradert. Må hente 3544kB med arkiver. Etter denne operasjonen vil 12,6MB ekstra diskplass bli brukt. Vil du fortsette [Y/n]? y Hent:1 http://no.archive.ubuntu.com jaunty/main libgpg-error-dev 1.4-2ubuntu7 [36,0kB] Hent:2 http://no.archive.ubuntu.com jaunty/main libgcrypt11-dev 1.4.1-2ubuntu1 [287kB] Hent:3 http://no.archive.ubuntu.com jaunty/main libkadm55 1.6.dfsg.4~beta1-5ubuntu2 [166kB] Hent:4 http://no.archive.ubuntu.com jaunty/main libpq5 8.3.7-1 [301kB] Hent:5 http://no.archive.ubuntu.com jaunty/main zlib1g-dev 1:1.2.3.3.dfsg-12ubuntu2 [166kB] Hent:6 http://no.archive.ubuntu.com jaunty/main libssl-dev 0.9.8g-15ubuntu3 [2101kB] Hent:7 http://no.archive.ubuntu.com jaunty/main comerr-dev 2.1-1.41.4-1ubuntu1 [42,4kB] Hent:8 http://no.archive.ubuntu.com jaunty/main libkrb5-dev 1.6.dfsg.4~beta1-5ubuntu2 [92,9kB] Hent:9 http://no.archive.ubuntu.com jaunty/main libpq-dev 8.3.7-1 [192kB] Hent:10 http://no.archive.ubuntu.com jaunty/universe libssh-2 0.2+svn20070321-4 [66,9kB] Hent:11 http://no.archive.ubuntu.com jaunty/universe libssh-2-dev 0.2+svn20070321-4 [93,3kB] Hentet 3544kB på 10min 37s (5563B/s) Velger den tidligere fravalgte pakken libgpg-error-dev. (Leser database ... 101349 filer og kataloger er installerte.) Pakker ut libgpg-error-dev (fra .../libgpg-error-dev_1.4-2ubuntu7_amd64.deb) ... Velger den tidligere fravalgte pakken libgcrypt11-dev. Pakker ut libgcrypt11-dev (fra .../libgcrypt11-dev_1.4.1-2ubuntu1_amd64.deb) ... Velger den tidligere fravalgte pakken libkadm55. Pakker ut libkadm55 (fra .../libkadm55_1.6.dfsg.4~beta1-5ubuntu2_amd64.deb) ... Velger den tidligere fravalgte pakken libpq5. Pakker ut libpq5 (fra .../libpq5_8.3.7-1_amd64.deb) ... Velger den tidligere fravalgte pakken zlib1g-dev. Pakker ut zlib1g-dev (fra .../zlib1g-dev_1%3a1.2.3.3.dfsg-12ubuntu2_amd64.deb) ... Velger den tidligere fravalgte pakken libssl-dev. Pakker ut libssl-dev (fra .../libssl-dev_0.9.8g-15ubuntu3_amd64.deb) ... Velger den tidligere fravalgte pakken comerr-dev. Pakker ut comerr-dev (fra .../comerr-dev_2.1-1.41.4-1ubuntu1_amd64.deb) ... Velger den tidligere fravalgte pakken libkrb5-dev. Pakker ut libkrb5-dev (fra .../libkrb5-dev_1.6.dfsg.4~beta1-5ubuntu2_amd64.deb) ... Velger den tidligere fravalgte pakken libpq-dev. Pakker ut libpq-dev (fra .../libpq-dev_8.3.7-1_amd64.deb) ... Velger den tidligere fravalgte pakken libssh-2. Pakker ut libssh-2 (fra .../libssh-2_0.2+svn20070321-4_amd64.deb) ... Velger den tidligere fravalgte pakken libssh-2-dev. Pakker ut libssh-2-dev (fra .../libssh-2-dev_0.2+svn20070321-4_amd64.deb) ... Behandler utløsere for man-db ... Behandler utløsere for doc-base ... Processing 23 changed, 1 added doc-base file(s)... Registering documents with scrollkeeper... Setter opp libgpg-error-dev (1.4-2ubuntu7) ... Setter opp libgcrypt11-dev (1.4.1-2ubuntu1) ... Setter opp libkadm55 (1.6.dfsg.4~beta1-5ubuntu2) ... Setter opp libpq5 (8.3.7-1) ... Setter opp zlib1g-dev (1:1.2.3.3.dfsg-12ubuntu2) ... Setter opp libssl-dev (0.9.8g-15ubuntu3) ... Setter opp comerr-dev (2.1-1.41.4-1ubuntu1) ... Setter opp libkrb5-dev (1.6.dfsg.4~beta1-5ubuntu2) ... Setter opp libpq-dev (8.3.7-1) ... Setter opp libssh-2 (0.2+svn20070321-4) ... Setter opp libssh-2-dev (0.2+svn20070321-4) ... Behandler utløsere for libc6 ... ldconfig deferred processing now taking place kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ clean ./configure bash: clean: command not found kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ ./configure Starting hydra auto configuration ... Checking for openssl (libssl/ssl.h) ... ... found Checking for Postgres (libpq) ... ... found Checking for SVN (ibsvn_client-1 libapr-0.so libaprutil-0.so) ... ... NOT found, module svn 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) ... ... found NOTE: ensure that you have libssh v0.11 installed!! Get it from http://0xbadc0de.be ! Hydra will be installed into .../bin of: /usr/local (change this by running ./configure --prefix=path) Writing Makefile.in ... NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES ======================================================================= ARM/PalmPilot users: please run ./configure-arm or ./configure-palm respectivly now type "make" kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ make gcc -I. -Wall -O2 -c hydra-sip.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH gcc -I. -Wall -O2 -c hydra-vmauthd.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH gcc -I. -Wall -O2 -c hydra-http-proxy-auth-ntlm.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH gcc -I. -Wall -O2 -c hydra-imap-ntlm.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH gcc -I. -Wall -O2 -c hydra-pop3-ntlm.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH gcc -I. -Wall -O2 -c hydra-smtpauth-ntlm.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH gcc -I. -Wall -O2 -c hydra-http-form.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH 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 -DLIBSSH gcc -I. -Wall -O2 -c d3des.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH gcc -I. -Wall -O2 -c md4.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH gcc -I. -Wall -O2 -c hydra-mod.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH hydra-mod.c: In function ‘hydra_child_exit’: hydra-mod.c:279: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result hydra-mod.c:281: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result hydra-mod.c:283: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result hydra-mod.c: In function ‘hydra_get_next_pair’: hydra-mod.c:297: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result hydra-mod.c: In function ‘hydra_completed_pair’: hydra-mod.c:330: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result hydra-mod.c: In function ‘hydra_completed_pair_found’: hydra-mod.c:339: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result hydra-mod.c:341: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result hydra-mod.c: In function ‘hydra_completed_pair_skip’: hydra-mod.c:350: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result hydra-mod.c:352: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result gcc -I. -Wall -O2 -c ntlm.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH ntlm.c: In function ‘buildAuthResponse’: ntlm.c:1278: warning: the address of ‘lmRespData’ will always evaluate as ‘true’ ntlm.c:1279: warning: the address of ‘ntRespData’ will always evaluate as ‘true’ gcc -I. -Wall -O2 -c hydra.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH hydra.c: In function ‘hydra_restore_write’: hydra.c:328: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’ hydra.c:328: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long int’ hydra.c: In function ‘hydra_restore_read’: hydra.c:356: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result hydra.c:364: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result hydra.c:366: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result hydra.c:372: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result hydra.c:380: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result hydra.c:385: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result hydra.c:392: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result hydra.c:395: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result hydra.c:402: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result hydra.c:403: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result hydra.c:408: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result hydra.c:410: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result hydra.c:417: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result hydra.c: In function ‘hydra_spawn_arm’: hydra.c:689: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result hydra.c: In function ‘hydra_main’: hydra.c:1766: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result hydra.c:1895: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result 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-http-proxy-auth-ntlm.o hydra-imap-ntlm.o hydra-pop3-ntlm.o hydra-smtpauth-ntlm.o hydra-http-form.o crc32.o d3des.o md4.o hydra-mod.o ntlm.o hydra.o -lm -lssl -lpq -lssh -lcrypto -L/usr/lib -L/usr/local/lib -L/lib -L/lib -L/usr/lib || echo -e "\nIF YOU RECEIVED THE ERROR MESSAGE \"cannot find -lpq\" DO THE FOLLOWING:\n make clean; ./configure\n vi Makefile <- and remove the \"-lpq\" and \"-DLIBPOSTGRES\" statements\n make\n" hydra.o: In function `hydra_spawn_arm': hydra.c:(.text+0x116f): undefined reference to `service_ssh2' hydra.c:(.text+0x11b9): undefined reference to `service_smbnt' hydra.c:(.text+0x1297): undefined reference to `service_postgres' collect2: ld returned 1 exit status -e IF YOU RECEIVED THE ERROR MESSAGE "cannot find -lpq" DO THE FOLLOWING: make clean; ./configure vi Makefile <- and remove the "-lpq" and "-DLIBPOSTGRES" statements make 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 ... Error: configure wasnt happy. Analyse this: configure: error: Library requirements (gtk+-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. make: [xhydra] Error 1 (ignored) Now type make install kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ make installgcc -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-http-proxy-auth-ntlm.o hydra-imap-ntlm.o hydra-pop3-ntlm.o hydra-smtpauth-ntlm.o hydra-http-form.o crc32.o d3des.o md4.o hydra-mod.o ntlm.o hydra.o -lm -lssl -lpq -lssh -lcrypto -L/usr/lib -L/usr/local/lib -L/lib -L/lib -L/usr/lib || echo -e "\nIF YOU RECEIVED THE ERROR MESSAGE \"cannot find -lpq\" DO THE FOLLOWING:\n make clean; ./configure\n vi Makefile <- and remove the \"-lpq\" and \"-DLIBPOSTGRES\" statements\n make\n" hydra.o: In function `hydra_spawn_arm': hydra.c:(.text+0x116f): undefined reference to `service_ssh2' hydra.c:(.text+0x11b9): undefined reference to `service_smbnt' hydra.c:(.text+0x1297): undefined reference to `service_postgres' collect2: ld returned 1 exit status -e IF YOU RECEIVED THE ERROR MESSAGE "cannot find -lpq" DO THE FOLLOWING: make clean; ./configure vi Makefile <- and remove the "-lpq" and "-DLIBPOSTGRES" statements make If men could get pregnant, abortion would be a sacrament test -e hydra.exe && touch Makefile || strip hydra pw-inspector strip: 'hydra': No such file make: [strip] Error 1 (ignored) 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 cp: cannot create regular file `/usr/local/bin/hydra': Permission denied cp: cannot create regular file `/usr/local/bin/pw-inspector': Permission denied make: [install] Error 1 (ignored) 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 make: [install] Error 1 (ignored) kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ sudo make [sudo] password for kristian: cd hydra-gtk && ./make_xhydra.sh Trying to compile xhydra now (hydra gtk gui) - dont worry if this fails, this is really optional ... Error: configure wasnt happy. Analyse this: configure: error: Library requirements (gtk+-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. make: [xhydra] Error 1 (ignored) Now type make install kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ sudo make install test -e hydra.exe && touch Makefile || strip hydra pw-inspector make: [strip] Error 1 (ignored) 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 make: [install] Error 1 (ignored) kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ hydra kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ kristian@kristian-laptop:~/Skrivebord/hydra-5.4-src$ Endret 10. juni 2009 av Skagen La deler av innlegget i skjul-tag. Lenke til kommentar
Kadmium Skrevet 10. juni 2009 Del Skrevet 10. juni 2009 (endret) Hydra er å finne i diverse pakkebrønner, der Offensive Security sin nok er den som er mest aktuell for de fleste. Om du ikke absolutt må installere fra kildekode, tror jeg det er bedre om du installerer fra repos. Endret 10. juni 2009 av Kadmium Lenke til kommentar
Beatnut Skrevet 13. juni 2009 Forfatter Del Skrevet 13. juni 2009 Hydra er å finne i diverse pakkebrønner, der Offensive Security sin nok er den som er mest aktuell for de fleste. Om du ikke absolutt må installere fra kildekode, tror jeg det er bedre om du installerer fra repos. Takk. Jeg må ikke installere fra kildekode. helst ikke for å være ærlig. Jeg har nå søkt litt rundt, men finner det vanskelig å finne lenken til Offensive Security sine repository. Det jeg tror er riktig er Backtracker4 sine pakkebrønner, men når den er lagt til Synaptic og jeg søker på hydra finner den ingenting. Noen tips/lenker til pakkebrønnen Lenke til kommentar
Anbefalte innlegg
Opprett en konto eller logg inn for å kommentere
Du må være et medlem for å kunne skrive en kommentar
Opprett konto
Det er enkelt å melde seg inn for å starte en ny konto!
Start en kontoLogg inn
Har du allerede en konto? Logg inn her.
Logg inn nå