# 使用 Homebrew, apt, dnf, Nix, pacman 安装 ncrack

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

## 安装

```sh
sudo av install brew:ncrack
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ncrack
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install ncrack
```

  证据: Debian stable package indexes: ncrack from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ncrack
```

  证据: Fedora Rawhide package metadata: ncrack from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ncrack
```

  证据: nixpkgs package indexes: pkgs/by-name/nc/ncrack/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S ncrack
```

  证据: Arch Linux sync databases: ncrack from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:ncrack
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ncrack>
- **版本:** 0.7
- **来源摘要:** Network authentication cracking tool
- **主页:** <https://nmap.org/ncrack/>
- **仓库:** <https://github.com/nmap/ncrack>
- **上游文档:** <https://nmap.org/ncrack/>
- **许可证:** LicenseRef-Homebrew-cannot-represent
- **源码归档:** <https://github.com/nmap/ncrack/archive/refs/tags/0.7.tar.gz>
- **最后更新:** 2026-06-22T14:05:35-07:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ncrack (cli)
- ncrack (别名)

## 依赖

- openssl@3

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.7
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://github.com/nmap/ncrack
- 检测到的最新版本: 0.7 (当前)
## 项目历史与用法

Ncrack is the Nmap project's standalone network-authentication cracking tool. It was built for high-speed, parallel credential testing across many network services, with Nmap-like command-line syntax, timing controls, runtime interaction, and a modular protocol architecture.

### 项目历史

The official Ncrack page says it began as a Google Summer of Code project in 2009. The man page describes it as a Summer 2009 project and beta-quality software, while a September 10, 2010 nmap-dev announcement calls Ncrack 0.3ALPHA a post-SoC release and highlights new SMB and RDP modules.

### 采用历史

Ncrack's adoption came from the Nmap ecosystem and password-auditing niche: security professionals used it to test large networks for weak or default passwords. The official page later added a deprecation notice saying Ncrack is useful for some purposes but not fully developed or maintained, and that Nmap's focus shifted to brute-force scripts in NSE.

### 使用方式

Package users run ncrack against authorized targets with service-qualified host specs, username and password lists, timing templates, and per-service options. It can consume Nmap target output formats, report discovered credentials, and test modules such as SSH, RDP, FTP, Telnet, HTTP(S), SMB, VNC, databases, and other network protocols.

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

Ncrack is significant less because it became the dominant password-auditing tool and more because it shows how the Nmap community tried to split credential testing into a specialized engine. The later deprecation notice is part of the package story: keeping it available helps reproduce old workflows, but users should notice that active Nmap credential work moved elsewhere.

### 时间线

- Summer 2009: Ncrack starts as a Google Summer of Code project.
- September 10, 2010: Ncrack 0.3ALPHA announced with SMB and RDP modules.
- 2019: Official page identifies 0.7 as the latest release and says main focus shifted to Nmap NSE brute-force scripts.

### Related projects

- Nmap, Nmap Scripting Engine, Nsock, password auditing tools, Hydra-like credential testing workflows

### 来源

- <https://formulae.brew.sh/formula/ncrack>
- <https://nmap.org/ncrack/>
- <https://nmap.org/ncrack/man.html>
- <https://seclists.org/nmap-dev/2010/q3/697>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ncrack
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Debian apt - ncrack - 0.7+debian-6: normalized package name match | Debian stable package indexes: ncrack from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | High-speed network authentication cracking tool | https://nmap.org/ncrack/
- Nix - ncrack: normalized package name match | nixpkgs package indexes: pkgs/by-name/nc/ncrack/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ncrack - 0.7+debian-5ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: ncrack from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | High-speed network authentication cracking tool | https://nmap.org/ncrack/
- dnf - ncrack - 0.7-32.fc45: normalized package name match | Fedora Rawhide package metadata: ncrack from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A high-speed network auth cracking tool | http://nmap.org/ncrack/
- pacman - ncrack - 0.7-3: normalized package name match | Arch Linux sync databases: ncrack from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | High-speed network authentication cracking tool | https://nmap.org/ncrack/


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [krb5](https://pkg.so/zh-hans/brew/krb5/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [cyrus-sasl](https://pkg.so/zh-hans/brew/cyrus-sasl/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [linux-pam](https://pkg.so/zh-hans/brew/linux-pam/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [oath-toolkit](https://pkg.so/zh-hans/brew/oath-toolkit/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [hydra](https://pkg.so/zh-hans/brew/hydra/) - Shares pkgdb curated category or tags: cli, password-auditing, security.
- [stoken](https://pkg.so/zh-hans/brew/stoken/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [crunch](https://pkg.so/zh-hans/brew/crunch/) - Shares pkgdb curated category or tags: cli, password-auditing, security.
- [oauth2_proxy](https://pkg.so/zh-hans/brew/oauth2-proxy/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [hcxtools](https://pkg.so/zh-hans/brew/hcxtools/) - Security-sensitive metadata or terminology overlaps. Shared terms: auditing, cli, openssl, openssl-3, password.

## Combined YAML source

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


## 来源

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