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

时间:2016-08-21 10:25:03

标签: macos libssh hydra

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

brew info hydra

输出:

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

当我尝试启动时:

hydra -l user -P /Users/alex/Downloads/list_pwd.txt 192.168.1.3 ssh

我明白了:

[ERROR] Compiled without LIBSSH v0.4.x support, module is not
available!

1 个答案:

答案 0 :(得分:15)

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

brew uninstall hydra 
brew install -v --with-libssh hydra

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