如何让 thc-hydra 从自制软件安装开始工作?

iha*_*ter 3 ssh brute-force homebrew macos

我已经使用以下方法在我的 OS X 机器上安装了 thc-hydra(蛮力工具):

brew install hydra
Run Code Online (Sandbox Code Playgroud)

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

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

我该如何解决这个问题?

小智 8

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
Run Code Online (Sandbox Code Playgroud)

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

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

brew info在运行之前使用总是一个好主意brew install