Перейти к содержимому
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
aeondave/rsactftoolКриптография и Web3

rsactftool

⁨Auth/lab ref: RSA testing automation tool for weak public keys. For targeting RSA key recovery or plaintext recovery from public data (n, e, ciphertext, partial leaks).⁩

v2026.11.13-21cd5682 установки+2 за 7 дней39 ЗвездыMITсинхронизировано 10 часов назад

Установка

Ещё нет NotHoly CLI? Сначала установите её.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install aeondave/rsactftool

Пишет в ⁦~/.notholy/skills⁩ после проверки подписи и SHA-256.

ПодписьПодписано, ed25519
qg3qd/PjEU…yADTDLCA==CLI проверяет SHA-256 и подпись, прежде чем записать хоть один файл.
Пакетea2f0bcb…c6a20b3a
ea2f0bcbaff9…2cabc6a20b3a4 файла · ⁦4.2 KB⁩
ПроверкаНизкийзамечаний нет
Проверка не нашла в этой версии ничего подозрительного.Вся проверка
Источникgithub.com/AeonDave/malskill/tree/main/offensive-tools/cryptography/rsactftool@21cd568

Эта запись еще не переведена на русский, поэтому показан текст на другом языке: English.

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

  1. Normalize input (.pem, OpenSSH pubkey, or raw n/e).
  2. Inspect key parameters and weakness indicators.
  3. Select attack families by signal (not brute-force all blindly).
  4. Recover private key and/or decrypt ciphertext.
  5. Verify output format and cryptographic consistency.

Quick commands

bash
# Recover private key (auto attack selection)
RsaCtfTool --publickey key.pub --private

# Force a specific attack
RsaCtfTool --publickey key.pub --attack wiener --private

# Decrypt a ciphertext file once key is recoverable
RsaCtfTool --publickey key.pub --decryptfile ciphertext.bin

# Build pubkey from n/e (for problem specifications that give integers only)
RsaCtfTool --createpub -n <n> -e <e>

# Dump key parameters for triage
RsaCtfTool --dumpkey --ext --key key.pub

Attack selection heuristics

  • Start with non-factorization attacks when evidence indicates weak d, broadcast, shared n, or partial leakage.
  • Prioritize factorization when n structure suggests close primes, smoothness, reused factors, or vulnerable keygen.
  • Use scenario-specific methods when custom prime construction or non-standard modulus generation is suspected.

Practical attack loop

bash
# 1) Parse and inspect
RsaCtfTool --dumpkey --ext --key key.pub

# 2) Run fast specific checks first
RsaCtfTool --publickey key.pub --attack wiener --private
RsaCtfTool --publickey key.pub --attack hastads --private
RsaCtfTool --publickey key.pub --attack common_factors --private

# 3) Escalate to broader runs
RsaCtfTool --publickey key.pub --private

# 4) If key recovered, decrypt material
RsaCtfTool --publickey key.pub --decryptfile ct.bin

Output validation checklist

  • Decrypted bytes decode cleanly (UTF-8/ASCII) or have expected binary structure.
  • PKCS#1 padding assumptions are consistent with implementation.
  • If multiple candidate plaintexts appear, test all against oracle verification or remote service.
  • Never trust a single lucky decode without re-encryption consistency checks.

Boundaries

  • Tool scope is RSA semiprime attacks on weak public keys (standard asymmetric key scenarios).
  • Hash cracking (MD5/SHA/bcrypt) is intentionally out of scope here (covered by hashcat skills).

Resources

  • references/factorization-attacks.md — RSA attacks based on factoring n (Fermat, Pollard variants, ECM, QS, etc.).
  • references/non-factorization-attacks.md — RSA attacks without directly factoring n (Wiener, Hastad, Boneh-Durfee, partial leaks, lattice).
  • references/challenge-specific-attacks.md — scenario-specific attacks for non-standard RSA key patterns and triage patterns.

Файлы этой версии

Права

ПравоЗаявленоНайдено проверкой
Читает файлыНетНет
Пишет файлыНетНет
Выполняет команды shellДаДа
Ходит в сетьНетНет
Использует коннекторыНетНет
Управляет браузеромНетНет

Замечания проверки

Проверено 13 нояб. 2026 г.

Проверка не нашла в этой версии ничего подозрительного.

Чистая проверка снижает риск, но не доказывает, что пакет безопасен. Читайте то, что ставите.

ВерсияОпубликованаКоммитSHA-256ПодписьИзменение прав
v2026.11.13-21cd56813 нояб. 2026 г.21cd568ea2f0bcbПодписана–

Спрашивайте обо всём, что позволяет ваш скоуп.

Создайте аккаунт, пополните баланс и задайте первый вопрос в чате или в терминале.

  1. 1/3

    Создайте аккаунт

    Личный или для компании. Позже можно перейти на аккаунт компании без потери баланса и ключей.

    ЛичныйКомпания
  2. 2/3

    Пополните баланс

    Картой. Оплата за токены, без подписки.

    $5.00минимальное пополнение
  3. 3/3

    Спрашивайте

    В чате, или установите CLI и выполните notholy login в терминале.

    $ notholy login