# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 0.7
- **来源摘要:** Network authentication cracking tool
- **主页:** <https://nmap.org/ncrack/>
- **仓库:** <https://github.com/nmap/ncrack>
- **最后更新:** 2026-06-22T14:05:35-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ncrack (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
