# RsaCtfTool/RsaCtfTool

RSA attack tool (mainly for ctf) - retrieve private key from weak public key and/or uncipher data

Repository: https://github.com/RsaCtfTool/RsaCtfTool
Canonical: https://ross.abutalabs.com/products/rsactftool
Language: Python
License: MIT
License Family: permissive
Topics: rsa-attack, rsa, cryptography
Last push: 2026-08-12T02:01:14+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 4197, "days_push": 22, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7097, forks 996 (observed 2026-08-28T04:09:55.886298+00:00)

## What it is
A Python CLI tool that attacks weak RSA public keys to recover private keys and decrypt ciphertext, combining many factorization and lattice-based attacks. It is primarily aimed at CTF competitions and educational use.

## Use cases
- recover a private key from a weak RSA public key
- decrypt a ciphertext file given only the public key
- run Wiener's attack on RSA with a small private exponent
- solve CTF challenges involving RSA encryption
- factor a semiprime modulus using multiple attack methods

## When to choose
- you are solving a CTF challenge with a weak RSA key
- you want to try many known RSA attacks automatically from one tool
- you need to decrypt RSA-encrypted data when only the public key is available

## When to avoid
- you need to break strong, properly generated RSA keys
- you need production-grade cryptographic libraries for encryption rather than attacks
- the modulus is a multiprime composite rather than a semiprime

## Facets
- artifact type: cli-tool
- maturity: active
- function: cryptography, security, cli
- domain: security, developer-tools
- platform: python, windows, cli
- tags: rsa, ctf, factorization, private-key-recovery, penetration-testing, cryptography, command-line, linux, macos, docker

## Member repositories
- RsaCtfTool/RsaCtfTool (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:55.886298+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:40:09.306399+00:00, confidence not recorded.
  - readme: https://github.com/RsaCtfTool/RsaCtfTool (fetched 2026-08-28T04:09:55.886298+00:00, sha 8ee19fddc446)
- Data as of 2026-08-30T08:39:29.467469+00:00.
