compilation of `hydra' failed
Joerg van den Hoff
j.van_den_hoff at fzd.de
Tue Jun 3 06:10:08 PDT 2008
hi,
wanted to check strengths of my password(s) against brute force attacks
with `hydra' (hope this is the tool to do it?) but
sudo port install hydra
yielded
#============================CUT================================================
---> Fetching libssh
---> Attempting to fetch libssh-0.2.tgz from http://www.0xbadc0de.be/libssh
---> Verifying checksum(s) for libssh
---> Extracting libssh
---> Configuring libssh
---> Building libssh with target all
---> Staging libssh into destroot
---> Packaging tgz archive for libssh 0.2_0
---> Installing libssh 0.2_0
---> Activating libssh 0.2_0
---> Cleaning libssh
---> Fetching hydra
---> Attempting to fetch hydra-5.4-src.tar.gz from http://freeworld.thc.org/releases
---> Verifying checksum(s) for hydra
---> Extracting hydra
---> Configuring hydra
---> Building hydra with target all
Error: Target org.macports.build returned:
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_hydra/work/hydra-5.4-src" &&
make all XLIBPATHS="-L/opt/local/lib" CC=/usr/bin/gcc-4.0 " returned error 2
Command output: /usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-pop3.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-smb.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-icq.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-cisco-enable.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-ldap.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-mysql.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-http-proxy.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-smbnt.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-mssql.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-snmp.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-cvs.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-smtpauth.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-sapr3.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-ssh2.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include -I/opt/local/include
hydra-ssh2.c:10:2: warning: #warning "If compilation of hydra-ssh2 fails, you are not using v0.11. Download from http://www.0xbadc0de.be/"
hydra-ssh2.c: In function 'start_ssh2':
hydra-ssh2.c:34: warning: implicit declaration of function 'options_new'
hydra-ssh2.c:34: warning: assignment makes pointer from integer without a cast
hydra-ssh2.c:44: warning: implicit declaration of function 'options_set_wanted_method'
hydra-ssh2.c:44: error: 'KEX_COMP_C_S' undeclared (first use in this function)
hydra-ssh2.c:44: error: (Each undeclared identifier is reported only once
hydra-ssh2.c:44: error: for each function it appears in.) hydra-ssh2.c:45: error: 'KEX_COMP_S_C' undeclared (first use in this function)
hydra-ssh2.c:46: warning: implicit declaration of function 'options_set_port'
hydra-ssh2.c:47: warning: implicit declaration of function 'options_set_host'
hydra-ssh2.c:48: warning: implicit declaration of function 'options_set_username'
hydra-ssh2.c:50: warning: passing argument 1 of 'ssh_connect' from incompatible pointer type
hydra-ssh2.c:50: warning: assignment makes pointer from integer without a cast
hydra-ssh2.c:82: warning: implicit declaration of function
'ssh_error_code'
make: *** [hydra-ssh2.o] Error 1
#============================CUT================================================
the problem seems that libssh-0.2.tgz is fetched from www.0xbadc0de.be but `hydra' expects
v0.11???
this is with 10.4.11 and PPC (and current `macports').
any hope of a fix (no maintainer, apparently...)?
regards
joerg
More information about the macports-users
mailing list