macOS
brew install netcatlocal Homebrew formula metadata
安装
brew install netcatlocal Homebrew formula metadata
sudo dnf install netcatFedora Rawhide package metadata · netcat · 来源: dl.fedoraproject.org
nix profile install nixpkgs#netcatnixpkgs package indexes · netcat · 来源: raw.githubusercontent.com
sudo apt install netcat-traditionalDebian stable package indexes · netcat-traditional · 来源: deb.debian.org
sudo pacman -S openbsd-netcatArch Linux sync databases · openbsd-netcat · 来源: geo.mirror.pkgbuild.com
sudo zypper install netcat-openbsdopenSUSE Tumbleweed package metadata · netcat-openbsd · 来源: download.opensuse.org
scoop install main/netcatScoop official bucket manifest trees · bucket/netcat.json · 来源: api.github.com
概览
Utility for managing network connections
历史
Homebrew's netcat formula packages GNU Netcat 0.7.1, a GPL implementation of the classic nc-style tool for reading and writing TCP/UDP connections. Its own homepage frames it as both a scriptable back-end and a network debugging/exploration utility, with outbound and inbound connections, tunneling, and port-scanning features.
GNU Netcat is separate from the original Hobbit netcat lineage. The GNU project page records active development milestones in 2002, including a beta label starting with version 0.4 on May 15, 2002, and a core rewrite beginning around version 0.3 on May 2, 2002. The downloads page lists 0.7.1 as the current version and gives its release date as January 11, 2004; that long-stable release is what Homebrew distributes.
The package's adoption is mostly legacy and compatibility-driven rather than fast-moving. On July 1, 2026, the Homebrew formula page showed 12,774 installs over 365 days and 790 installs over 30 days, evidence that people still install this GNU variant even though many systems also ship OpenBSD nc, Nmap ncat, or other netcat-compatible tools.
Package nerds use it for quick socket plumbing: listen on a port, connect to a host and port, test TCP/UDP reachability, move bytes between shell pipelines and sockets, or build small ad hoc tunnels. The important packaging detail is that behavior and flags vary across netcat implementations, so installing brew:netcat is often a way to get the old GNU semantics intentionally instead of relying on the platform-provided nc.
This is a small but historically important compatibility package: not glamorous, not actively evolving, but useful when scripts expect GNU Netcat's option set. Its significance is mostly in being one of the archetypal Unix network Swiss-army-knife tools and a source of recurring packaging confusion because nc/netcat names are shared by several implementations.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nc | cli | 全局可执行文件 | |
netcat | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://netcat.sourceforge.net/
安装元数据
| 软件包键 | brew:netcat |
|---|---|
| 版本 | 0.7.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/netcat |
| 主页 | https://netcat.sourceforge.net/ |
| 仓库 | https://sourceforge.net/p/netcat/code/HEAD/tree |
| 上游文档 | https://netcat.sourceforge.net/ |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://downloads.sourceforge.net/project/netcat/netcat/0.7.1/netcat-0.7.1.tar.bz2 |
| 构建依赖 | autoconf, automake |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | netcat |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
netcat-traditional 1.10-50
TCP/IP swiss army knife
sudo apt install netcat-traditionalnetcat
nix profile install nixpkgs#netcatnetcat-traditional 1.10-48
TCP/IP swiss army knife
sudo apt install netcat-traditionalnetcat 1.238-1.fc45
OpenBSD netcat to read and write data across connections using TCP or UDP
sudo dnf install netcatopenbsd-netcat 1.238_1-1
TCP/IP swiss army knife. OpenBSD variant.
https://salsa.debian.org/debian/netcat-openbsd
sudo pacman -S openbsd-netcatnetcat-openbsd 1.229-1.3
TCP/IP swiss army knife
https://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/
sudo zypper install netcat-openbsdmain/netcat
scoop install main/netcatnmap-ncat 7.92-9.fc45
Nmap's Netcat replacement
sudo dnf install nmap-ncat来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.