Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, winget 安装 hydra

查看 hydra 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install hydra

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install hydra

MacPorts ports tree · security/hydra/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add hydra

Alpine Linux edge package indexes · hydra · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install hydra

Debian stable package indexes · hydra · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install hydra

Fedora Rawhide package metadata · hydra · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#hydra

nixpkgs package indexes · pkgs/by-name/hy/hydra/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S hydra

Arch Linux sync databases · hydra · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install hydra

openSUSE Tumbleweed package metadata · hydra · 来源: download.opensuse.org

Windows

Windows Package Manager已验证 · 92%
winget install --id HydraLauncher.Hydra -e

Windows Package Manager source index · HydraLauncher.Hydra · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Network logon cracker which supports many services

命令和别名

  • dpl4hydra.sh
  • hydra
  • hydra-wizard.sh
  • pw-inspector

历史

项目历史与用法

THC Hydra is a parallelized network login auditing tool. Its README and manpage describe it as a fast, flexible login cracker for many protocols, intended for legal security research and consulting demonstrations of weak remote authentication.

项目历史

The upstream README carries a 2001-2023 copyright line for van Hauser / THC, credits many modules to David Maciejak, and notes BFG code by Jan Dlabal. It also states that Hydra was created because existing login tools did not support multiple protocols or parallelized connects.

The GitHub repository was created in April 2014, but the README copyright makes clear the project predates that hosting era. The changelog shows a long-running 7.x, 8.x, and 9.x line with continued module work, protocol fixes, output changes, dependency updates, and hardening.

采用历史

Hydra is widely packaged for security-oriented and general-purpose Unix ecosystems. Package metadata lists Homebrew, Debian, Ubuntu, Fedora-family, Alpine, Arch, Nix, MacPorts, openSUSE, and other package channels, while Kali documents it as a password-attack tool with hydra and xhydra packages.

使用方式

Authorized users supply login and password sources, select a protocol module, tune parallel task counts, use SSL or IPv6 options when needed, restore interrupted sessions, and write results in text or JSON formats. The manpage and README emphasize module-specific options and list many supported services, from FTP, SSH, HTTP forms, IMAP, LDAP, SMB, RDP, Redis, MongoDB, and VNC to less common network services.

为什么软件包爱好者会关心

Hydra is package-nerd-significant because it is a classic example of a specialist security CLI whose value depends on optional protocol libraries and distro build choices. The same formula/package name can expose different module coverage depending on linked dependencies such as libssh, FreeRDP, PCRE2, database clients, and SSL libraries.

时间线

  • 2001: Upstream README copyright begins for van Hauser / THC.
  • 2014: GitHub repository created for the public development history on GitHub.
  • 2020: 9.0 changelog added memcached and MongoDB modules and changed JSON output behavior.
  • 2022: 9.4 changelog switched from PCRE/PCRE3 to PCRE2 for Debian compatibility.
  • 2023: 9.5 changelog focused on module behavior and HTTP-form fixes.
  • 2025: 9.6 release notes mention FreeRDP v3, compiler fixes, and protocol/module fixes.
  • 2026: 9.7 and 9.8-dev notes show GTK3 support for xhydra, Mongo v2 support, and security hardening work.

Related projects

  • Hydra is related to xhydra, pw-inspector, THC security tooling, Kali packaging, libssh, FreeRDP, PCRE2, OpenSSL, and the many protocol libraries used to build optional modules.

来源

  • Project README, changelog, manpage, GitHub release page, Kali tool metadata, repository metadata, and Homebrew package metadata were used.

安全态势

风险级别:red

credential attack tooling.

风险分类器

red 风险 · 高 置信度 · escape-surveillance-offensive

原因

  • credential attack tooling

信号

  • override:hydra

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 4 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
dpl4hydra.shcli全局可执行文件
hydracli全局可执行文件
hydra-wizard.shcli全局可执行文件
pw-inspectorcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本9.7
管理器更新时间2026-07-18
本地数据OK
上游当前
检测到的最新版本v9.7

https://github.com/vanhauser-thc/thc-hydra

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:hydra
版本9.7
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/hydra
主页https://github.com/vanhauser-thc/thc-hydra
仓库https://github.com/vanhauser-thc/thc-hydra
上游文档https://github.com/vanhauser-thc/thc-hydra#readme
许可证AGPL-3.0-only
源码归档https://github.com/vanhauser-thc/thc-hydra/archive/refs/tags/v9.7.tar.gz
最后更新2026-07-18T11:01:18Z
Pulseupdated
依赖libssh, mariadb-connector-c, openssl@3, pcre2
构建依赖pkgconf
macOS 提供的库ncurses
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehydra
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • ory-hydra
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

hydra 9.5-3

very fast network logon cracker

https://github.com/vanhauser-thc/thc-hydra

sudo apt install hydra
  • Section: net
  • Architecture: amd64
  • 18 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Hydra
Debian stable package indexes · deb.debian.org · Debian stable package indexes: hydra from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

hydra

nix profile install nixpkgs#hydra
  • normalized package name match
  • 匹配方式:Hydra
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/hy/hydra/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

hydra 9.5-1build3

very fast network logon cracker

https://github.com/vanhauser-thc/thc-hydra

sudo apt install hydra
  • Section: universe/net
  • Architecture: amd64
  • 18 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Hydra
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: hydra from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

hydra-gtk 9.5-1build3

very fast network logon cracker - GTK+ based GUI

https://github.com/vanhauser-thc/thc-hydra

sudo apt install hydra-gtk
  • Section: universe/net
  • Architecture: amd64
  • Source Package: hydra
  • 4 依赖
  • normalized package name match
  • 匹配方式:Hydra
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: hydra-gtk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

hydra 9.6-r1

fast network logon cracker with support for many different services

https://github.com/vanhauser-thc/thc-hydra

sudo apk add hydra
  • License: AGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: hydra
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hydra
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hydra from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hydra-doc 9.6-r1

fast network logon cracker with support for many different services (documentation)

https://github.com/vanhauser-thc/thc-hydra

sudo apk add hydra-doc
  • License: AGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: hydra
  • normalized package name match
  • 匹配方式:Hydra
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hydra-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

hydra 9.7-3.fc45

Very fast network log-on cracker

https://github.com/vanhauser-thc/thc-hydra

sudo dnf install hydra
  • License: AGPL-3.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: hydra
  • 25 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hydra
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: hydra from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

hydra-frontend 9.7-3.fc45

The GTK+ front end for hydra

https://github.com/vanhauser-thc/thc-hydra

sudo dnf install hydra-frontend
  • License: AGPL-3.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: hydra
  • 6 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Hydra
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: hydra-frontend from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

hydra 9.7-1

Very fast network logon cracker which support many different services

https://github.com/vanhauser-thc/thc-hydra

sudo pacman -S hydra
  • License: AGPL-3.0-or-later
  • Architecture: x86_64
  • 24 依赖
  • normalized package name match
  • 匹配方式:Hydra
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: hydra from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

hydra 9.7-1.1

A network logon cracker with support for many different services

https://github.com/vanhauser-thc/thc-hydra

sudo zypper install hydra
  • License: AGPL-3.0-only
  • Category: Productivity/Networking/Diagnostic
  • Architecture: x86_64
  • Source Package: hydra
  • 25 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hydra
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: hydra from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

hydra

sudo port install hydra
  • normalized package name match
  • 匹配方式:Hydra
MacPorts ports tree · api.github.com · MacPorts ports tree: security/hydra/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
winget95%

HydraLauncher.Hydra

winget install --id HydraLauncher.Hydra -e
  • normalized package name match
  • 匹配方式:Hydra
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: HydraLauncher.Hydra from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment