# 使用 Homebrew, Nix, zypper 安装 bkcrack

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

## 安装

```sh
sudo av install brew:bkcrack
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bkcrack
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bkcrack
```

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

- zypper (92%):

```sh
sudo zypper install bkcrack
```

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

## 软件包事实

- **软件包键:** brew:bkcrack
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bkcrack>
- **版本:** 1.8.1
- **来源摘要:** Crack legacy zip encryption with Biham and Kocher's known plaintext attack
- **主页:** <https://github.com/kimci86/bkcrack>
- **仓库:** <https://github.com/kimci86/bkcrack>
- **许可证:** Zlib
- **源码归档:** <https://github.com/kimci86/bkcrack/archive/refs/tags/v1.8.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- bkcrack (cli)
- bkcrack (别名)

## 构建依赖

- cmake

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.8.1
- 本地数据: OK
- 上游仓库: https://github.com/kimci86/bkcrack
- 检测到的最新版本: v1.8.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

bkcrack is a command-line cryptanalysis tool for legacy ZIP encryption, specifically the traditional PKWARE/ZipCrypto scheme. Its package-manager identity is narrow and practical: a small utility installed when a user needs a known-plaintext attack workflow against old encrypted ZIP archives.

### 项目历史

The project was published on GitHub in 2016 and describes itself as an implementation of Eli Biham and Paul C. Kocher's known-plaintext attack on the PKZIP stream cipher. Its documentation explains the ZipCrypto keystream model and frames bkcrack as a way to recover internal keys, remove or change archive passwords, and attempt password recovery.

### 采用历史

bkcrack grew from a specialist security tool into a packaged CLI available through Homebrew, Nix, openSUSE/zypper, and upstream GitHub release artifacts for Ubuntu, macOS, and Windows. That distribution pattern reflects a tool useful enough for repeatable incident-response and recovery workflows but still niche compared with general password crackers.

### 使用方式

Typical use starts with a ciphertext entry and 12 or more bytes of known plaintext, often supplied from another ZIP entry or file. Users run bkcrack to recover the ZipCrypto internal state, then decrypt data, create an unencrypted copy of the archive, change the password, or search for the original password from recovered keys.

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

Package nerds care about bkcrack because it packages a classic academic break of legacy ZIP encryption into a reproducible CLI with cross-platform binaries. It is a reminder that 'ZIP password support' in archive tools historically meant weak ZipCrypto unless AES or another modern scheme was explicitly used.

### 时间线

- 1994: Biham and Kocher publish the known-plaintext attack on the PKZIP stream cipher.
- 2016: bkcrack repository is created on GitHub.
- 2020: v1.0.0 appears as the first GitHub release in the current release history.
- 2020s: bkcrack becomes available through Homebrew and other Unix package sets.

### Related projects

- Related tools include zip password recovery and auditing utilities, but bkcrack is specifically centered on ZipCrypto known-plaintext recovery rather than generic brute-force cracking.
- The underlying cryptanalytic reference is Biham and Kocher's PKZIP stream-cipher paper, which bkcrack cites directly from its README.

### 来源

- <https://doi.org/10.1007/3-540-60590-8_12>
- <https://github.com/kimci86/bkcrack#readme>
- <https://github.com/kimci86/bkcrack/releases>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** bkcrack
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Nix - bkcrack: normalized package name match | nixpkgs package indexes: pkgs/by-name/bk/bkcrack/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - bkcrack - 1.8.1-1.5: normalized package name match | openSUSE Tumbleweed package metadata: bkcrack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Crack legacy zip encryption with Biham and Kocher's known plaintext attack | https://github.com/kimci86/bkcrack/


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://pkg.so/zh-hans/archive-compression-tools/) - Matched archive or compression metadata.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [fcrackzip](https://pkg.so/zh-hans/brew/fcrackzip/) - Shares pkgdb curated category or tags: cli, password-recovery, security, zip.
- [hashcat](https://pkg.so/zh-hans/brew/hashcat/) - Shares pkgdb curated category or tags: cli, password-recovery, security.
- [pdfcrack](https://pkg.so/zh-hans/brew/pdfcrack/) - Shares pkgdb curated category or tags: cli, password-recovery, security.
- [pdfrip](https://pkg.so/zh-hans/brew/pdfrip/) - Shares pkgdb curated category or tags: cli, password-recovery, security.
- [cifer](https://pkg.so/zh-hans/brew/cifer/) - Shares pkgdb curated category or tags: cli, cryptanalysis, security.
- [truecrack](https://pkg.so/zh-hans/brew/truecrack/) - Shares pkgdb curated category or tags: cli, password-recovery, security.
- [wirouter_keyrec](https://pkg.so/zh-hans/brew/wirouter-keyrec/) - Shares pkgdb curated category or tags: cli, password-recovery, security.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Shares pkgdb curated category or tags: cli, security.
- [authoscope](https://pkg.so/zh-hans/brew/authoscope/) - Security-sensitive metadata or terminology overlaps. Shared terms: attack, cli, password, security.

## Combined YAML source

View the package source record on GitHub. [combined/bkcrack.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bkcrack.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
