Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ettercap

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install ettercap

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

Linux

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

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

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

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

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

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

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

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

Debian apt已验证 · 92%
sudo apt install ettercap-common

Debian stable package indexes · ettercap-common · 来源: deb.debian.org

概览

软件包摘要

Multipurpose sniffer/interceptor/logger for switched LAN

命令和别名

  • ettercap
  • ettercap-pkexec
  • etterfilter
  • etterlog

历史

项目历史与用法

Ettercap is a long-running open-source network security suite for man-in-the-middle work on local networks. Its command-line package provides sniffing, interception, packet filtering, logging, protocol dissection, and host/network analysis tools for switched LAN environments.

项目历史

Ettercap dates to the early 2000s; the current GitHub README identifies the project copyright as 2001-current by the Ettercap development team. Early package descriptions framed it as a multipurpose sniffer, interceptor, and logger for switched LANs, a niche that mattered when Ethernet switching made simple hub-style packet sniffing less effective.

The Ettercap-NG generation in the mid-2000s broadened the tool with a modernized interface, plugins, multiple simultaneous MITM attacks, and a more structured core. The official download history shows NG releases in 2004 and 2005, the Lazarus line in 2011 and 2012, the 0.8 series beginning in 2013, and later Garofalo releases continuing maintenance into 2026.

采用历史

Ettercap became a standard security-lab and penetration-testing package because it combined active and passive protocol dissection with practical MITM mechanisms such as ARP poisoning, bridged sniffing, filtering, and connection logging. Its package metadata across Unix-like systems reflects that role: it is distributed in Homebrew, Debian and Ubuntu, Fedora, Arch, Alpine, MacPorts, Nix, and other security-oriented environments.

The project has remained recognizable because it occupies the space between packet analyzers and attack simulators. Users can capture and analyze traffic like a sniffer, but can also alter or redirect traffic in ways useful for authorized testing of LAN trust assumptions.

使用方式

The main `ettercap` program is used in text, curses, or graphical modes to discover hosts, select targets, run MITM modules, sniff traffic, and apply filters. Companion commands such as `etterfilter` and `etterlog` support compiling packet filters and inspecting saved logs.

The manual documents practical workflows such as ARP poisoning, bridge-mode interception with two interfaces, pcap-filtered capture, offline analysis from pcap files, and writing captured packets for later inspection with tools such as tcpdump or Wireshark.

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

Ettercap is package-nerd significant because it is a classic security tool whose build and runtime surface spans libpcap, libnet, OpenSSL, plugin support, terminal UI, optional GTK UI, GeoIP/MaxMind data, and privileged network access. Packaging it correctly means preserving both the text-mode toolchain and the surrounding data/config layout.

It also shows why security packages age differently from ordinary CLIs: release history is full of protocol-support updates, build fixes, memory-safety fixes, and CVE-related maintenance, while the core LAN-testing workflow remains recognizable decades after the first releases.

时间线

  • 2001: Ettercap project lineage begins, according to the current project README copyright range.
  • 2004: Ettercap-NG 0.7.2 release appears in the official download history.
  • 2005: Ettercap-NG 0.7.3 release adds filter-engine operators and plugin/security fixes.
  • 2013: Ettercap 0.8.0 begins the 0.8 release series.
  • 2020: Ettercap 0.8.3.1 ships further TLS, build, and runtime fixes.
  • 2026: Ettercap 0.8.4.1-Garofalo fixes a heap out-of-bounds read in etterfilter.

Related projects

  • Wireshark and tcpdump are commonly adjacent analysis tools; Ettercap can write captured packets for later use in packet analyzers.
  • Ettercap's own companion tools include etterfilter for filters and etterlog for log inspection.

安全态势

风险级别:red

escape, surveillance, or offensive capability signal.

风险分类器

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

原因

  • escape, surveillance, or offensive capability signal

信号

  • text:sniffer

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 12 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

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/etter.conf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ettercapcli全局可执行文件
ettercap-pkexeccli全局可执行文件
etterfiltercli全局可执行文件
etterlogcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本0.8.4.1
管理器更新时间2026-06-25
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/Ettercap/ettercap

安装元数据

软件包元数据

软件包键brew:ettercap
版本0.8.4.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ettercap
主页https://ettercap.github.io/ettercap/
仓库https://github.com/Ettercap/ettercap
上游文档https://ettercap.github.io/ettercap
许可证GPL-2.0-or-later
源码归档https://github.com/Ettercap/ettercap/archive/refs/tags/v0.8.4.1.tar.gz
最后更新2026-06-25T13:37:40+02:00
Pulseupdated
依赖at-spi2-core, cairo, freetype, gdk-pixbuf, glib, gtk+3, libmaxminddb, libnet, ncurses, openssl@3, pango, pcre2
构建依赖cmake
macOS 提供的库curl, libpcap
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameettercap
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%

ettercap-common 1:0.8.3.1-14

Multipurpose sniffer/interceptor/logger for switched LAN

https://ettercap.github.io/ettercap/

sudo apt install ettercap-common
  • Section: net
  • Architecture: amd64
  • Source Package: ettercap
  • 11 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Ettercap
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ettercap-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ettercap-graphical 1:0.8.3.1-14

Ettercap GUI-enabled executable

https://ettercap.github.io/ettercap/

sudo apt install ettercap-graphical
  • Section: net
  • Architecture: amd64
  • Source Package: ettercap
  • 10 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ettercap
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ettercap-graphical from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ettercap-text-only 1:0.8.3.1-14

Ettercap console-mode executable

https://ettercap.github.io/ettercap/

sudo apt install ettercap-text-only
  • Section: net
  • Architecture: amd64
  • Source Package: ettercap
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ettercap
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ettercap-text-only from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ettercap

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

ettercap-common 1:0.8.3.1-13build3

Multipurpose sniffer/interceptor/logger for switched LAN

https://ettercap.github.io/ettercap/

sudo apt install ettercap-common
  • Section: universe/net
  • Architecture: amd64
  • Source Package: ettercap
  • 12 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Ettercap
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ettercap-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

ettercap-graphical 1:0.8.3.1-13build3

Ettercap GUI-enabled executable

https://ettercap.github.io/ettercap/

sudo apt install ettercap-graphical
  • Section: universe/net
  • Architecture: amd64
  • Source Package: ettercap
  • 10 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ettercap
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ettercap-graphical from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

ettercap-text-only 1:0.8.3.1-13build3

Ettercap console-mode executable

https://ettercap.github.io/ettercap/

sudo apt install ettercap-text-only
  • Section: universe/net
  • Architecture: amd64
  • Source Package: ettercap
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ettercap
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ettercap-text-only from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

ettercap 0.8.4.1-r0

Multipurpose sniffer/interceptor/logger for switched LAN

https://www.ettercap-project.org/

sudo apk add ettercap
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: ettercap
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ettercap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ettercap from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

ettercap-doc 0.8.4.1-r0

Multipurpose sniffer/interceptor/logger for switched LAN (documentation)

https://www.ettercap-project.org/

sudo apk add ettercap-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: ettercap
  • normalized package name match
  • 匹配方式:Ettercap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ettercap-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

libettercap 0.8.4.1-r0

Multipurpose sniffer/interceptor/logger for switched LAN (libraries)

https://www.ettercap-project.org/

sudo apk add libettercap
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: ettercap
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ettercap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libettercap from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

ettercap 0.8.4.1-1.fc45

Network traffic sniffer/analyser, NCURSES interface version

http://ettercap.sourceforge.net

sudo dnf install ettercap
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: ettercap
  • 23 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Ettercap
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ettercap from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

ettercap 0.8.4.1-1

Network sniffer/interceptor/logger for ethernet LANs - console

https://www.ettercap-project.org/

sudo pacman -S ettercap
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • 15 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ettercap
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ettercap from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
pacman95%

ettercap-gtk 0.8.4.1-1

Network sniffer/interceptor/logger for ethernet LANs - GTK frontend

https://www.ettercap-project.org/

sudo pacman -S ettercap-gtk
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • 19 依赖
  • 2 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Ettercap
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ettercap-gtk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

ettercap

sudo port install ettercap
  • normalized package name match
  • 匹配方式:Ettercap
MacPorts ports tree · api.github.com · MacPorts ports tree: net/ettercap/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