crypto-toolkit
编码解码与加解密工具 — base64/URL/Hex/HTML实体编码解码,MD5/SHA哈希,AES/DES/RSA加解密,JWT解析,Caesar/ROT13密码,栅栏/Vigenere密码,Unicode转义,Morse电码等。Use when performing authorized…
Skill by Wang200935
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/wang200935-crypto-toolkit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, testing, security, finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/crypto-toolkit
What's inside
- Skill name
crypto-toolkit- Description
- 编码解码与加解密工具 — base64/URL/Hex/HTML实体编码解码,MD5/SHA哈希,AES/DES/RSA加解密,JWT解析,Caesar/ROT13密码,栅栏/Vigenere密码,Unicode转义,Morse电码等。Use when performing authorized penetration testing, CTF, or security assessment tasks related to crypto-toolkit.
- License
- MIT
- Metadata
- hermes_origin: import · upstream_source_path: /skills/specialized/crypto-toolkit/SKILL.md · upstream_original_name: crypto-toolkit
- Instructions
- 138 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: references/rsa-attacks-cheatsheet.md, references/aes-and-block-cipher-attacks.md, references/ecc-attacks-cheatsheet.md, references/prng-and-stream-cipher-attacks.md, references/classic-cipher-attacks.md
Files (7)
- SKILL.md
- crypto-attacks-roadmap.md · references/
- crypto-attacks.md · references/
- encoding-cheatsheet.md · references/
- upstream-license.md · references/
- upstream-readme.md · references/
- upstream-skill.md · references/
SKILL.md (first lines)
# 编码解码与加解密 Skill 针对渗透测试中常见的编码、加密、混淆场景,提供全面的编解码和加解密能力。 **重要**:遇到任何编码/加密字符串时,优先使用 `crypto_decode` 工具进行解码,而非靠直觉猜测。 ## 核心原则 1. **工具优先** — 遇到 base64、hex、URL编码等字符串,调用 `crypto_decode` 工具解码,不要自行脑补 2. **多格式尝试** — 如果一种解码方式结果不合理,尝试其他编码格式 3. **链式解码** — CTF 中常见多层编码(如 base64→hex→ROT13),解码后检查结果是否还需再次解码 4. **验证结果** — 解码后验证结果的合理性(是否为可读文本、是否像路径/URL/flag 等) ## 1. 编码识别与解码 ### 常见编码特征识别 | 编码类型 | 特征 | 示例 | |---------|------|------| | Base64 | `A-Za-z0-9+/=` 结尾常有 `=` 填充 | `TnNTY1RmLnBocA==` | | Base32 | `A-Z2-7=` | `OBZHK5DFN2A====` | | Hex | `0-9a-f` 偶数长度 | `4e73536354662e706870` | | URL编码 | `%XX` 格式 | `%2F%61%64%6D%69%6E` | | HTML实体 | `&#xNN;` 或 `&#NNN;` | `<script>` | | Unicode转义 | `\uXXXX` 或 `\UXXXXXXXX` | `\u003c\u0073\u0063` | | JWT | 三段 `.` 分隔的 base64 | `eyJhbG...` | ### 解码策略 1. 识别编码类型 → 调用 `crypto_decode` 工具指定对应操作 2. 检查解码结果是否可读/合理 3. 不合理则尝试其他编码格式 4. 如果结果仍像编码,重复步骤 1-3 ## 2. 哈希与散列 ### 常见哈希类型 | 类型 | 输出长度 | 特征 | |------|---------|------| | MD5 | 32 hex | `e10adc3949ba59abbe56e057f20f883e` | | SHA1 | 40 hex | `aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d` | | SHA256 | 64 hex | `2c26b46b68ffc68ff99b453c1d30413413422d7064...` | | SHA512 | 128 hex | 更长的hex字符串 | | NTLM | 32 hex | Windows hash | | MySQL5 | 41字符 | `*E6CC90B878B948C35E92B003C792C46758BF4` | ### 哈希处理策略 - 识别哈希类型(通过长度和字符集) - 尝试在线彩虹表查询(通过 fetch 工具访问 crackstation 等) - 对于已知盐值的哈希,尝试带盐值暴力破解 ## 3. 对称加密 ### AES/DES/3DES - 需要密钥和模式(ECB/CBC/CTR 等) - CBC 模式需要 IV - 常见填充:PKCS7/ZeroPadding - 渗透中常遇到硬编码密钥,优先从源码中提取 ## 4. 非对称加密 ### RSA - 从公钥/私钥文件中提取参数 - 模数过小的 RSA 可分解 - 已知私钥可直接解密 ## 5. 古典密码 | 类型 | 特征 | 破解方法 | |------|------|---------| | Caesar/ROT13 | 字母位移 | 暴力25种位移 | | Vigenere | 多表替换 | Kasiski/频率分析 | | 栅栏密码 | 字符分组重组 | 尝试常见栏数 | | 培根密码 | AB 五元组 | 查表 | | Morse | `.-` 点划 | 查表 | ## 6. JWT 处理 - 解码 Header + Payload(base64url) - 检查算法:`none` 算法绕过、RS256→HS256 算法混淆 - 尝试弱密钥签名伪造 - 检查 exp/nbf 等时间声明 ## 工具使用 ### `crypto_decode` 工具 当遇到需要编码/解码/加密/解密的操作时,调用此工具: ``` crypto_decode(operation="base64_decode", input="TnNTY1RmLnBocA==") ``` 支持的操作列表: - **编码**: `base64_encode`, `base32_encode`, `hex_encode`, `url_encode`, `html_encode`, `unicode_encode`, `rot13_encode`, `morse_encode`, `caesar_encode`, `base58_encode` - **解码**: `base64_decode`, `base32_decode`, `hex_decode`, `url_decode`, `html_decode`, `unicode_decode`, `rot13_decode`, `morse_decode`, `caesar_decode`, `base58_decode` - **哈希**: `md5_hash`, `sha1_hash`, `sha256_hash`, `sha512_hash` - **加密/解密**: `aes_encrypt`, `aes_decrypt`, `des_encrypt`, `des_decrypt`, `rsa_encrypt`, `rsa_decrypt` - **JWT**: `jwt_decode`, `jwt_encode` - **自动识别**: `auto_decode` (自动识别编码类型并解码) ## CTF 密码学攻击路由 > 当遇到密码学攻击场景(已知加密算法,需要恢复明文或密钥)时,优先使用 `crypto-ctf-attacks` Skill: | 攻击场景 | 路由到 ctf-crypto | 参考文档 | |---------|-----------------|---------| | RSA 小指数/共模/Wiener | `crypto-ctf-attacks` | `references/rsa-attacks-cheatsheet.md` | | AES Padding Oracle/ECB 翻转 | `crypto-ctf-attacks` | `references/aes-and-block-cipher-attacks.md` | | ECC 小子群/离散对数 | `crypto-ctf-attacks` | `references/ecc-attacks-cheatsheet.md` | | PRNG/MT19937 预测 | `crypto-ctf-attacks` | `references/prng-and-stream-cipher-attacks.md` | | 古典密码(Vigenere/XOR) | `crypto-ctf-attacks` | `references/classic-cipher-attacks.md` | | 格攻击/LWE | `crypto-ctf-attacks` | `references/lattice-and-lwe-attacks.md` | **本 Skill 侧重编解码操作工具**,密码学具体攻击方法和参数请参考 `crypto-ctf-attacks`。
From Wang200935/security-agent-skills, MIT.
More from Wang200935/security-agent-skills
- 0.574score
ai-mcp-security
Wang200935
AI 与 MCP 安全评估 — Prompt 注入、工具滥用、MCP 信任边界、Agent 权限逃逸、数据泄露、模型风险、GAARM 风险矩阵。Use when testing LLM-based applications, MCP servers, agent orchestration systems, AI…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
crypto-ctf-attacks
Wang200935
CTF密码学攻击知识库 — RSA攻击(小指数/共模/Wiener/Coppersmith)、AES攻击(Padding Oracle/ECB字节翻转/GCM nonce重用)、ECC攻击、LFSR/LCG/PRNG攻击、古典密码、LWE格攻击。Use when performing authorized…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
ctf-jail-escape
Wang200935
CTF杂项知识库 — Python Jail逃逸、Bash Jail逃逸、编码链识别与解码、QR/音频/图像隐写、游戏VM逆向、CTFd API导航、Linux提权。Use when performing authorized penetration testing, CTF, or security…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
ctf-misc-toolkit
Wang200935
Solve CTF Misc challenges including pyjails/sandboxes, OSINT, puzzles, encodings, QR/barcodes, esolangs, protocols, game challenges, cloud/config leaks…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
ctf-orchestrator
Wang200935
Orchestrate Capture-the-Flag challenge solving across Web Exploitation, Cryptography, Forensics, Reverse Engineering, Pwn/Binary Exploitation, and Misc.
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
security-audit
Wang200935
Security audit of a codebase — web apps, APIs, services, CLI tools, libraries, daemons, and more.
SkillBFreshness: B★ 4Claude Code +9 - 0.571score
modern-attack-surfaces
Wang200935
Modern attack surfaces beyond traditional pentesting — LLM/AI security (prompt injection, model poisoning), supply chain attacks, blockchain/smart contract…
SkillBFreshness: B★ 4Claude Code +9 - 0.571score
ctf-kernel-exploitation
Wang200935
Solve CTF kernel exploitation challenges — Linux kernel pwn, QEMU TCG bugs, modprobe_path overwrite, remote kernel CTFs with PoW/WebSocket terminal.
SkillBFreshness: B★ 4Claude Code +9 - 0.571score
ctf-playbook
Wang200935
CTF (Capture The Flag) competition playbook — Web, Crypto, Reverse Engineering, PWN/Binary Exploitation, Forensics, Steganography, OSINT, and Misc categories.
SkillBFreshness: B★ 4Claude Code +9 - 0.570score
ctf-web-exploitation
Wang200935
Solve CTF Web Exploitation challenges by triaging HTTP behavior, source code, sessions, auth, injection, SSRF, file upload, template, deserialization, race…
SkillBFreshness: B★ 4Claude Code +9 - 0.570score
ctf-technique-atlas
Wang200935
Deep CTF technique atlas for mapping challenge clues to concrete attack patterns, tools, scripts, and next probes across Web, Crypto, Forensics, Reverse, Pwn…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
ctf-writeup-discipline
Wang200935
Produce CTF write-ups with authentic solve evidence, scripts, screenshots, and clean separation from reference material.
SkillBFreshness: B★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Aug 13, 2026 (2 months ago)
- Last release
- Aug 13, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Wang200935
- 0.574score
ai-mcp-security
Wang200935
AI 与 MCP 安全评估 — Prompt 注入、工具滥用、MCP 信任边界、Agent 权限逃逸、数据泄露、模型风险、GAARM 风险矩阵。Use when testing LLM-based applications, MCP servers, agent orchestration systems, AI…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
ctf-orchestrator
Wang200935
Orchestrate Capture-the-Flag challenge solving across Web Exploitation, Cryptography, Forensics, Reverse Engineering, Pwn/Binary Exploitation, and Misc.
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
security-audit
Wang200935
Security audit of a codebase — web apps, APIs, services, CLI tools, libraries, daemons, and more.
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
ctf-jail-escape
Wang200935
CTF杂项知识库 — Python Jail逃逸、Bash Jail逃逸、编码链识别与解码、QR/音频/图像隐写、游戏VM逆向、CTFd API导航、Linux提权。Use when performing authorized penetration testing, CTF, or security…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
ctf-misc-toolkit
Wang200935
Solve CTF Misc challenges including pyjails/sandboxes, OSINT, puzzles, encodings, QR/barcodes, esolangs, protocols, game challenges, cloud/config leaks…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
crypto-ctf-attacks
Wang200935
CTF密码学攻击知识库 — RSA攻击(小指数/共模/Wiener/Coppersmith)、AES攻击(Padding Oracle/ECB字节翻转/GCM nonce重用)、ECC攻击、LFSR/LCG/PRNG攻击、古典密码、LWE格攻击。Use when performing authorized…
SkillBFreshness: B★ 4Claude Code +9
Cite this page
crypto-toolkit skill. Agent Mart. https://agentmart.dev/skills/wang200935-crypto-toolkit (last updated 2026-10-24)