rsactftool
Installation
SKILL.md
RsaCtfTool
Multi-attack RSA solver for weak RSA scenarios. Best used as a triage engine: feed known key material, run constrained attacks first, escalate only when signal supports it.
Core workflow
- Normalize input (
.pem, OpenSSH pubkey, or rawn/e). - Inspect key parameters and weakness indicators.
- Select attack families by signal (not brute-force all blindly).
- Recover private key and/or decrypt ciphertext.
- Verify output format and cryptographic consistency.
Quick commands
# Recover private key (auto attack selection)
RsaCtfTool --publickey key.pub --private