Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman 安装 masscan

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install masscan

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install masscan

MacPorts ports tree · net/masscan/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

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

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

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

概览

软件包摘要

TCP port scanner, scans entire Internet in under 5 minutes

命令和别名

  • masscan

历史

项目历史与用法

MASSCAN is an Internet-scale TCP port scanner designed to transmit probes asynchronously at very high packet rates. It is packaged as a security and networking CLI because it gives users an `nmap`-like command surface for wide-range scanning rather than deep per-host enumeration.

项目历史

The public GitHub repository was created in July 2013, and early releases appeared in September and October 2013. The README describes the tool as able to scan the entire Internet in under five minutes from a single machine at up to 10 million packets per second, using its own TCP/IP stack and asynchronous transmit and receive threads.

MASSCAN's 1.0 release arrived in October 2013, and a Kali-tagged prerelease was already published in September 2013. Later releases added practical improvements such as dynamic libpcap loading, memcached support, and IPv6 support in the 1.3.0 line, followed by fixes for the IPv6 transition.

The design section of the README explicitly positions MASSCAN relative to earlier high-speed scanners such as scanrand, unicornscan, and ZMap, while making the command-line and output style familiar to `nmap` users.

采用历史

MASSCAN is widely adopted for a command-line security tool: the repository has tens of thousands of GitHub stars and thousands of forks, and the supplied package metadata lists packages across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, MacPorts, and Nix.

Its package-manager footprint reflects its role in security labs, reconnaissance workflows, and network inventory jobs where users want a readily installable binary rather than building research code by hand.

使用方式

Users provide ports and target ranges, for example `masscan -p80,8000-8100 10.0.0.0/8`, and can emit or reuse configuration with `--echo` and `-c`. The README documents XML, binary, grepable, JSON, and list output formats.

MASSCAN is tuned for breadth. The README contrasts it with `nmap`: it uses randomized host order, raw packet sending, no default ports, no DNS resolution, and an asynchronous model suited to large address ranges. It also warns that banner grabbing and other TCP interactions can conflict with the host network stack unless source IPs, source ports, and firewall rules are configured carefully.

The default configuration file is `/etc/masscan/masscan.conf`, and command-line settings override that default. The README recommends using exclude files for Internet-scale scans and includes prominent cautions about scanning responsibly.

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

MASSCAN is package-nerd significant because it is one of the canonical examples of a single-purpose C security tool that package managers make safe to acquire, update, and remove across many Unix-like systems.

It also shows why packaging security tools matters: users get reproducible builds and OS integration for software that otherwise encourages copying binaries or building from source before running high-impact network scans.

时间线

  • 2013: GitHub repository created.
  • 2013: Early v1 and Kali prereleases published.
  • 2013: 1.0 release published.
  • 2020: 1.3.0 release adds IPv6 support.
  • 2026: Repository remains active with recent commits.

Related projects

  • MASSCAN is related to `nmap`, but optimized for broad asynchronous scanning rather than detailed host inspection.
  • The README also compares its asynchronous approach with scanrand, unicornscan, and ZMap.

安全态势

风险级别:red

large-scale network scanning tool.

风险分类器

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

原因

  • large-scale network scanning tool

信号

  • override:masscan

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/masscan/masscan.conf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
masscancli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/robertdavidgraham/masscan

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:masscan
版本1.3.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/masscan
主页https://github.com/robertdavidgraham/masscan/
仓库https://github.com/robertdavidgraham/masscan
上游文档https://github.com/robertdavidgraham/masscan#readme
许可证AGPL-3.0-only
源码归档https://github.com/robertdavidgraham/masscan/archive/refs/tags/1.3.2.tar.gz
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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namemasscan
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

masscan 2:1.3.2+ds1-2

TCP port scanner

https://github.com/robertdavidgraham/masscan

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

masscan

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

masscan 2:1.3.2+ds1-1

TCP port scanner

https://github.com/robertdavidgraham/masscan

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

masscan 1.3.2-r2

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes

https://github.com/robertdavidgraham/masscan

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

masscan-doc 1.3.2-r2

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes (documentation)

https://github.com/robertdavidgraham/masscan

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

masscan 1.3.2-15.fc44

This is an Internet-scale port scanner

https://github.com/robertdavidgraham/masscan

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

masscan 1.3.2-2

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes

https://github.com/robertdavidgraham/masscan

sudo pacman -S masscan
  • License: AGPL3
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Masscan
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: masscan from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

masscan

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

来源线索

由仓库数据生成

此页面由 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment