New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ERROR] Compiled without LIBSSH v0.4.x support, module is not available! #344
Comments
I guess you just ran "hydra" without a path prefix so one in /usr/bin or /usr/local/bin was executed, not the one you compiled in the hydra source directory. |
I first tried from ./hydra then when to the /usr/local/bin. Same issue The OS is Debian Stretch (9.5). I recently upgraded from Jessie (8) so I did a make clean, git pull and rebuilt. Here is my output from ./hydra -h root@leonard:/opt/thc-hydra# ./hydra Syntax: hydra [[[-l LOGIN|-L FILE] [-p PASS|-P FILE]] | [-C FILE]] [-e nsr] [-o FILE] [-t TASKS] [-M FILE [-T TASKS]] [-w TIME] [-W TIME] [-f] [-s PORT] [-x MIN:MAX:CHARSET] [-c TIME] [-ISOuvVd46] [service://server[:PORT][/OPT]] Options: Supported services: adam6500 asterisk cisco cisco-enable cvs firebird ftp ftps http[s]-{head|get|post} http[s]-{get|post}-form http-proxy http-proxy-urlenum icq imap[s] irc ldap2[s] ldap3[-{cram|digest}md5][s] mssql mysql nntp oracle-listener oracle-sid pcanywhere pcnfs pop3[s] postgres rdp redis rexec rlogin rpcap rsh rtsp s7-300 sip smb smtp[s] smtp-enum snmp socks5 svn teamspeak telnet[s] vmauthd vnc xmpp Hydra is a tool to guess/crack valid login/password pairs. Licensed under AGPL Example: hydra -l user -P passlist.txt ftp://192.168.0.1 |
Not sure if you're still having the issue, but I ran into this compiling hydra as well. after installing the libssh packages I ran |
Ah just saw you ran |
现在有什么好的解决办法了?遇到了这个问题一直没有解决办法 |
What's a good solution now? There is no solution to this problem |
the solution is to install ibssh ... |
It is also not allowed after installation, |
you recompile it |
thanks for support, it's a big help. |
Hay what i did was just this "apt-get purge hydra" and then it started working after |
That's what I did in order:
|
what did the output of ./configure show you? it tells you if it can find libssh or not |
Thanks, worked fine. |
It's work, thanks man :) |
thanks your solution worked |
sudo apt install libssh-dev cd thc-hydra/ sudo make clean sudo ./configure sudo make install HERE YOU GO Just run hydra command |
Compiled hyrda with SSH support. When I run hydra I get the above error message.
Here are my libssh libraries:
root@leonard:/opt/thc-hydra# dpkg -l | grep libssh
ii libssh-4:amd64 0.6.3-4+deb8u2 amd64 tiny C SSH library (OpenSSL flavor)
ii libssh-dev 0.6.3-4+deb8u2 amd64 tiny C SSH library. Development files (OpenSSL flavor)
ii libssh2-1:amd64 1.4.3-4.1+deb8u1 amd64 SSH2 client-side library
Here is the output of my ./configure --debug (I pulled other modules out for cleaner reading).
root@leonard:/opt/thc-hydra# ./configure --debug
Starting hydra auto configuration ...
Detected 64 Bit Linux OS
Checking for libssh (libssh/libssh.h) ...
DEBUG: SSH_PATH=/usr/lib/x86_64-linux-gnu/libssh
DEBUG: SSH_IPATH=/usr/include/libssh/libssh.h
... found
Hydra will be installed into .../bin of: /usr/local
(change this by running ./configure --prefix=path)
DEBUG: XDEFINES= -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBFIREBIRD -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DLIBSSH -DHAVE_ZLIB -DHAVE_MATH_H
DEBUG: XLIBS= -lz -lcurses -lssl -lfbclient -lidn -lpcre -lmysqlclient -lpq -lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1 -lssh -lcrypto
DEBUG: XLIBPATHS=-L/usr/lib -L/usr/local/lib -L/lib -L/usr/lib/i386-linux-gnu -L/usr/lib/x86_64-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/x86_64-linux-gnu -L/usr/lib/i386-linux-gnu -L/usr/lib/x86_64-linux-gnu
DEBUG: XIPATHS= -I/usr/include/mysql -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/postgresql -I/usr/include -I/usr/include/subversion-1 -I/usr/include/apr-1.0 -I/usr/include/subversion-1
DEBUG: PREFIX=/usr/local
DEBUG: XHYDRA_SUPPORT=xhydra
DEBUG: STRIP=strip
Writing Makefile.in ...
now type "make"
The text was updated successfully, but these errors were encountered: