Individual skill
ctf-crypto
CTF密码学攻击知识库 — RSA攻击(小指数/共模/Wiener/Coppersmith)、AES攻击(Padding Oracle/ECB字节翻转/GCM nonce重用)、ECC攻击、LFSR/LCG/PRNG攻击、古典密码、LWE格攻击
deepsec/spear/skills/specialized/ctf-crypto/SKILL.md
Source commit fff031fc01fb36b95348214c8ee359f6ede8aa8b
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Instructions only
- Last checked
- Nov 4, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 509
- Repository last updated
- Aug 24, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent Repository topic
- ai Repository topic
- ai-agents Repository topic
- aisecurity Repository topic
- cybersecurity Repository topic
- plugin Repository topic
- security Repository topic
- vscode Repository topic
- vulnerability Repository topic
- hacker Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 2,450 bytesreferences/aes-and-block-cipher-attacks.mddoc · 3,985 bytesreferences/classic-cipher-attacks.mddoc · 4,184 bytesreferences/ecc-attacks-cheatsheet.mddoc · 2,704 bytesreferences/lattice-and-lwe-attacks.mddoc · 1,840 bytesreferences/prng-and-stream-cipher-attacks.mddoc · 2,648 bytesreferences/rsa-attacks-cheatsheet.mddoc · 3,407 bytes
Read excerpt
# CTF 密码学攻击知识库
针对 CTF Crypto 题目的实战攻击知识库,提供**具体攻击参数、数学公式、Python 代码片段**。
**与 `crypto-toolkit` 的区别**:
- `crypto-toolkit` → 编解码操作工具(base64 解码、MD5 哈希、AES 加解密)
- `ctf-crypto` → 密码学攻击知识(RSA 小指数攻击怎么做、Padding Oracle 怎么利用)
## 核心原则
1. **先识别加密体系** — 看密钥长度、加密模式、已知量,确定攻击方向
2. **工具验证** — 使用 `python_execute` 执行攻击代码,用 `crypto_decode` 做辅助编解码
3. **参数敏感** — 密码学攻击对参数极其敏感,必须精确计算