ERROR编译时没有LIBSSH v0.4.x支持,模块不可用

use*_*548 5 macos hydra libssh

我想在我的OSX上玩hydra,但我无法弄清楚问题是什么.

brew info hydra
Run Code Online (Sandbox Code Playgroud)

输出:

hydra: stable 8.3 (bottled), HEAD Network logon cracker which supports
many services https://www.thc.org/thc-hydra/
/usr/local/Cellar/hydra/8.3 (14 files, 1.2M) *   Poured from bottle on
2016-08-20 at 15:28:25 From:
https://github.com/Homebrew/homebrew-core/blob/master/Formula/hydra.rb
==> Dependencies Build: pkg-config ? Required: openssl ? Optional: subversion ?, libidn ?, libssh ?, pcre ?, gtk+ ?
==> Options
--with-gtk+     Build with gtk+ support
--with-libidn   Build with libidn support
--with-libssh   Build with libssh support
--with-pcre     Build with pcre support
--with-subversion   Build with subversion support
--HEAD  Install HEAD version
Run Code Online (Sandbox Code Playgroud)

当我尝试启动时:

hydra -l user -P /Users/alex/Downloads/list_pwd.txt 192.168.1.3 ssh
Run Code Online (Sandbox Code Playgroud)

我明白了:

[ERROR] Compiled without LIBSSH v0.4.x support, module is not
available!
Run Code Online (Sandbox Code Playgroud)

小智 15

刚刚遇到这个错误,似乎他们实际上并没有因为某种原因用hydra编译它,但它应该很容易手动完成.这就是我为使它工作所做的事情:

brew uninstall hydra 
brew install -v --with-libssh hydra
Run Code Online (Sandbox Code Playgroud)

这应该使用适当的ssh模块编译hydra,并且应该-v选择刚刚确认编译时libssh没有实际错误的选项.