ctf-crypto-attack-templates

Provide ready-to-run Python cryptographic attack templates for CTF challenges.

5|3|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/zebbern/termstack --skill ctf-crypto-attack-templates
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ctf-crypto-attack-templates
Source: https://github.com/zebbern/termstack/tree/main/.github/skills/ctf-crypto-attack-templates
Command: npx skills add https://github.com/zebbern/termstack --skill ctf-crypto-attack-templates

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provide ready-to-run cryptographic attack templates for CTF challenges, enabling rapid exploration and demonstration of common weaknesses.

Core Features & Use Cases

  • Ready-to-run templates for RSA attacks (small e, Wiener, Hastad, common modulus), AES exploits (ECB byte-at-a-time, padding oracle), hash attacks (length extension, collision), XOR key recovery, and Z3 constraint solving.
  • Includes references in the references/ directory that document each technique and provide copy-paste templates for quick adoption.
  • Suitable for learning, practice, and reproducible challenge-solving demonstrations across crypto topics.

Quick Start

Run the included templates against a CTF challenge to reproduce a cryptographic attack with minimal setup.

Frequently Asked Questions about ctf-crypto-attack-templates

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What cryptographic attack templates are available for CTF challenges?

Crypto attack templates cover RSA, AES, XOR, hash, and Z3 constraint-solving techniques. They provide copy-paste Python code for weaknesses like small e, Wiener, Hastad, padding oracle, and common modulus scenarios.

How do I execute a Wiener attack against RSA using Python templates?

Run the included Wiener attack Python template directly against your CTF challenge parameters. The references directory documents the technique and provides copy-paste code for rapid execution with minimal setup.

Can I use these templates for AES ECB byte-at-a-time and padding oracle attacks?

Yes, AES exploit templates are included for ECB byte-at-a-time and padding oracle attacks. They provide ready-to-run Python code to demonstrate and reproduce common cryptographic weaknesses in CTF environments.

Do I need any specific dependencies or environment setup to run the CTF crypto templates?

No external dependencies are required to use the crypto attack templates. They are ready-to-run Python scripts designed for rapid exploration and reproduction of cryptographic attacks with minimal setup.

How does Z3 constraint solving apply to CTF cryptography challenges?

Z3 constraint-solver templates apply automated mathematical reasoning to reverse cryptographic operations. The included references document how to leverage Z3 for solving constraints encountered in CTF cryptography challenges.

Are there templates for hash length extension and collision attacks?

Yes, hash attack templates include length extension and collision techniques. They provide copy-paste Python code and reference materials to reproduce hash vulnerabilities across crypto CTF topics.