ctf-crypto

仓库创建 2026年7月8日最近提交 3 天前SkillHot 收录 5 小时前
▸ 精选理由

覆盖 RSA/AES 等常见题型,利于学习与竞赛实战。

这个 Skill 做什么

CTF 密码学题型的攻击与求解技巧,含示例与工具。

针对 CTF 里的密码学题给出攻关思路和实用技巧,覆盖 RSA、AES、ECC、PRNG、签名、填充 oracle、格密码等常见课题。在遇到加密实现、密钥恢复或数学弱点需要被攻破时用,既有理论也有示例代码和工具建议。特色是把复杂的数学方法(如 Coppersmith、Pollard、Wiener)和实战脚本结合,能快速把思路落成可运行的解题脚本。

▸ 展开 SKILL.md 英文原文

Provides cryptography attack techniques for CTF challenges. Use when attacking encryption, hashing, signatures, ZKP, PRNG, or mathematical crypto problems involving RSA, AES, ECC, lattices, LWE, CVP, number theory, Coppersmith, Pollard, Wiener, padding oracle, GCM, key derivation, or stream/block cipher weaknesses.

研究检索密码学CTF算法破解通用
243
Stars
13
Forks
40
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/OpenAisec/Miko/main/data/skills/ctf-crypto/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/OpenAisec/Miko/main/data/skills/ctf-crypto/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# CTF Cryptography

Quick reference for crypto CTF challenges. Each technique has a one-liner here; see supporting files for full details with code.

## Prerequisites

**Python packages (all platforms):**
```bash
pip install pycryptodome z3-solver sympy gmpy2 hashpumpy fpylll py_ecc
```

**Linux (apt):**
```bash
apt install hashcat sagemath
```

**macOS (Homebrew):**
```bash
brew install hashcat
```

**Manual install:**
- SageMath — Linux: `apt install sagemath`, macOS: `brew install --cask sage`
- RsaCtfTool — `git clone https://github.com/RsaCtfTool/RsaCtfTool` (automated RSA attacks)

> **Note:** `gmpy2` requires libgmp — Linux: `apt install libgmp-dev`, macOS: `brew install gmp`.

## Add
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有