如何让 thc-hydra 从自制安装中运行?

如何让 thc-hydra 从自制安装中运行?

我已经在我的 OS X 机器上安装了 thc-hydra(暴力破解工具),使用方法如下:

brew install hydra

但是当我尝试破解我的服务器上的 ssh 密码时,我收到以下错误消息:

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

我该如何解决这个问题?

答案1

brew info hydra显示:

hydra: stable 8.1 (bottled), HEAD
https://www.thc.org/thc-hydra/
Not installed
From: https://github.com/Homebrew/homebrew/blob/master/Library/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

要允许 ssh 支持,请使用命令安装:

brew install hydra --with-libssh

brew info在跑步前使用总是一个好主意brew install

相关内容