# 使用 Homebrew, apt, Nix, pacman, zypper 安装 mfoc

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

## 安装

```sh
sudo av install brew:mfoc
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mfoc
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install mfoc
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#mfoc
```

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

- pacman (92%):

```sh
sudo pacman -S mfoc
```

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

- zypper (92%):

```sh
sudo zypper install mfoc
```

  证据: openSUSE Tumbleweed package metadata: mfoc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:mfoc
- **软件包管理器:** Homebrew
- **版本:** 0.10.7
- **来源摘要:** Implementation of 'offline nested' attack by Nethemba
- **主页:** <https://github.com/nfc-tools/mfoc>
- **仓库:** <https://github.com/nfc-tools/mfoc>
- **最后更新:** 2026-05-14T17:23:49-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mfoc (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.10.7
## 项目历史与用法

MFOC, the Mifare Classic Offline Cracker, is an open-source implementation of Nethemba's offline nested attack against MIFARE Classic cards. The nfc-tools README states that it recovers authentication keys from MIFARE Classic cards when a default or user-supplied key is known. The AUTHORS file names the Nethemba Core Team, with Norbert Szetei as main coder and Pavol Luptak as project leader, minor coder, tester, and bug reporter.

### 项目历史

The project traces back to Nethemba's 2009 public release of an offline nested attack implementation for Mac OS X and Linux. The nfc-tools changelog records the import of MFOC 0.08 from nethemba.com into the nfc-tools repository on September 13, 2010, followed by maintenance work to track libnfc APIs, add packaging, add a manpage, support newer MIFARE Classic UID cases, and clean up the C code through 2013.

### 使用方式

MFOC's practical role is narrower than broad NFC libraries: it is a command-line recovery and audit tool for MIFARE Classic deployments, generally used with libnfc-supported readers and known-key attack workflows. In package managers it commonly appears beside MFCUK and libnfc as part of the NFC/RFID security-research toolkit, with MFCUK covering the DarkSide-oriented path and MFOC covering the offline nested attack path.

### 来源

- <https://formulae.brew.sh/formula/mfoc>
- <https://github.com/nfc-tools/mfoc>
- <https://nfc-tools.github.io/projects/mfoc/>
- <https://raw.githubusercontent.com/nfc-tools/mfoc/master/AUTHORS>
- <https://raw.githubusercontent.com/nfc-tools/mfoc/master/ChangeLog>
- <https://raw.githubusercontent.com/nfc-tools/mfoc/master/README.md>
- <https://www.proxmark.io/www.proxmark.org/forum/viewtopic.php%3Fid%3D381.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Debian apt - mfoc - 0.10.7+git20180724-2: normalized package name match | Debian stable package indexes: mfoc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MIFARE Classic offline cracker | https://github.com/nfc-tools/mfoc
- Nix - mfoc: normalized package name match | nixpkgs package indexes: pkgs/by-name/mf/mfoc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mfoc - 0.10.7+git20180724-2: normalized package name match | Ubuntu 24.04 LTS package indexes: mfoc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MIFARE Classic offline cracker | https://github.com/nfc-tools/mfoc
- pacman - mfoc - 0.10.7+38+gba072f1-2: normalized package name match | Arch Linux sync databases: mfoc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | MiFare Classic Universal toolKit | http://nfc-tools.org/
- zypper - mfoc - 0.10.7+git38-1.25: normalized package name match | openSUSE Tumbleweed package metadata: mfoc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Mifare Classic Offline Cracker: key recovery tool for MC cards | https://github.com/nfc-tools/mfoc


## Combined YAML source

View the package source record on GitHub. [combined/mfoc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mfoc.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
