ctf-crypto

Guide cryptography attacks for CTF challenges using bash and Python 3.

Updated Jul 5, 2026
One-click install
npx skills add https://github.com/kpab/skilldrift-vendor-lab --skill ctf-crypto-kpab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ctf-crypto
Source: https://github.com/kpab/skilldrift-vendor-lab/tree/main/skills/ctf-crypto
Command: npx skills add https://github.com/kpab/skilldrift-vendor-lab --skill ctf-crypto-kpab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pycryptodome, z3-solver, sympy, gmpy2, hashpumpy, fpylll, py_ecc, hashcat, sagemath, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides cryptography attack techniques for CTF challenges, empowering users with the knowledge and tools to solve encryption, hashing, signature, and other cryptographic problems.

Core Features & Use Cases

  • Cryptography Techniques: Offers a wide range of cryptographic techniques for attacking various types of challenges, including encryption, hashing, signatures, ZKP, PRNG, and number theory.
  • Prerequisites: Requires a filesystem-based agent with bash, Python 3, and internet access.
  • Allowed Tools: Supports Bash, Read, Write, Edit, Glob, Grep, Task, WebFetch, WebSearch.
  • Use Case: If you encounter a challenge that involves breaking an encryption algorithm or analyzing a hashing function, this Skill can provide you with the necessary techniques and tools.

Quick Start

Use the 'ctf-crypto' skill to get information about a specific cryptographic technique or to execute a particular attack.

Frequently Asked Questions about ctf-crypto

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

FAQPage Schema
How do I attack cryptographic challenges in CTF competitions?

To attack cryptographic challenges in CTF competitions, you can use comprehensive techniques targeting encryption, hashing, signatures, ZKP, PRNG, and number theory. This requires a filesystem-based agent with bash, Python 3, and internet access to install necessary tools and execute the attacks.

What cryptography attack techniques are available for breaking encryption algorithms?

Available cryptography attack techniques for breaking encryption algorithms include methods for exploiting encryption, hashing, signatures, ZKP, PRNG, and number theory vulnerabilities. These techniques are suitable for both CTF challenges and educational purposes, providing a wide range of approaches for various cryptographic problems.

Do I need Python 3 and bash to perform cryptographic attacks?

Yes, you need Python 3 and bash to perform cryptographic attacks using this skill. A filesystem-based agent with bash, Python 3, and internet access is required for tool installation, script execution, and applying the attack techniques to cryptographic challenges.

Can I use z3-solver and sympy for number theory attacks in CTF?

Yes, you can use z3-solver and sympy for number theory attacks in CTF. The skill integrates these dependencies along with pycryptodome, gmpy2, and sagemath to solve complex cryptographic problems involving algebraic structures and mathematical vulnerabilities.

How do I execute a hash length extension attack?

To execute a hash length extension attack, the skill utilizes the hashpumpy dependency alongside other tools to analyze and exploit hashing functions. It provides specific techniques and scripts to manipulate hash values, allowing you to break vulnerable hashing mechanisms in CTF challenges.

What are the limitations of using automated attack techniques for cryptographic challenges?

Limitations include the strict requirement for a filesystem-based agent with internet access for tool installation. While offering a wide range of attack techniques for encryption, hashing, and signatures, users must still understand the underlying cryptographic mechanisms to effectively apply the provided scripts and tools.