# legba を Homebrew, Nix, pacman でインストール

legba のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:legba
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install legba
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#legba
```

  証拠: nixpkgs package indexes: pkgs/by-name/le/legba/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S legba
```

  証拠: Arch Linux sync databases: legba from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:legba
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.3.0
- **ソース概要:** Multiprotocol credentials bruteforcer/password sprayer and enumerator
- **ホームページ:** <https://legba.evilsocket.net/>
- **リポジトリ:** <https://github.com/evilsocket/legba>
- **最終更新:** 2026-06-22T14:05:10-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- legba (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.3.0
## プロジェクトの歴史と使われ方

Legba is Simone Margaritelli's Rust credential-testing CLI for authorized security work: a multi-protocol bruteforcer, password sprayer, and enumerator built around Tokio concurrency.

### プロジェクトの歴史

The author presented Legba on 2023-11-02 as a project that began as Rust and Tokio practice and quickly became a replacement candidate for older credential attack tools such as THC-Hydra, Medusa, Patator, and related utilities. The official README and docs kept that framing: Rust, async execution, many protocol plugins, resumable sessions, rate controls, YAML recipes, a REST API, and an MCP server.

### 採用の歴史

Legba's adoption trail is mostly security-tool packaging rather than mainstream application development. Official materials show precompiled releases, Docker distribution, Homebrew installation through the author's tap, and later broader package-manager exposure through Homebrew, Nix, Arch packaging, and similar channels.

### 使われ方

The CLI is used for authorized credential auditing across services such as SMB, SSH, HTTP forms, databases, LDAP, Kerberos, MQTT, and other supported plugins. The docs emphasize rate limiting, delays, jitter, session save/restore, recipes, and legal authorization, which are the practical controls that separate testing workflows from reckless brute forcing.

### パッケージ好きにとっての重要性

Legba is notable to package nerds as an example of security tooling moving from C and Python heritage into single-binary Rust distribution. The interesting packaging angle is not just speed; it is a no-native-dependency binary shipped through releases, Docker, cargo, and OS package managers while carrying a large protocol surface.

### タイムライン

- 2023-11-02: The author published the introductory Legba article.
- 2024-03-20: A Kali packaging request noted Arch package availability for Legba 0.8.0.
- 2025-08-22: The author noted static linking, precompiled binaries, and .deb assets in the Kali packaging thread.
- 2026-05-19: GitHub releases showed Legba 1.3.0.

### Related projects

- Related tools include THC-Hydra, Medusa, Ncrack, Patator, and protocol-specific credential auditing tools. Related distribution surfaces include Docker Hub, crates.io/lib.rs metadata, Homebrew taps, Arch packages, and security distributions such as Kali.

### ソース

- <https://bugs.kali.org/view.php?id=8682>
- <https://github.com/evilsocket/legba>
- <https://github.com/evilsocket/legba/releases>
- <https://legba.evilsocket.net/>
- <https://legba.evilsocket.net/faq/>
- <https://www.evilsocket.net/2023/11/02/Enumerate-Bruteforce-Attack-All-The-Things-Presenting-Legba/>


## セキュリティノート

legba に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


## 他のパッケージマネージャ記録

- Nix - legba: normalized package name match | nixpkgs package indexes: pkgs/by-name/le/legba/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - legba - 1.3.0-1: normalized package name match | Arch Linux sync databases: legba from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A multiprotocol credentials bruteforcer / password sprayer and enumerator | https://github.com/evilsocket/legba


## Combined YAML source

View the package source record on GitHub. [combined/legba.yml](https://github.com/mxcl/pkgdb/blob/main/combined/legba.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
