Vai al contenuto
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/sagemathCrittografia e Web3

sagemath

⁨Auth/lab ref: Computer algebra and number-theory environment for cryptanalysis scripting.⁩

v2026.11.13-21cd5683 installazioni+3 in 7 giorni39 StelleGPL-3.0sincronizzato 10 ore fa

Installa

Non hai ancora la CLI di NotHoly? Installala prima.

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

Scrive in ⁦~/.notholy/skills⁩ dopo aver controllato la firma e lo SHA-256.

FirmaFirmato, ed25519
8Qy/xrQdjp…WUsmiqCA==La CLI controlla lo SHA-256 e la firma prima di scrivere qualsiasi file.
Pacchetto4cfb0bdd…8e4bfd8d
4cfb0bdde4c7…73868e4bfd8d3 file · ⁦4.3 KB⁩
ScansioneBassonessuna segnalazione
La scansione non ha trovato nulla da segnalare in questa versione.Vedi la scansione completa
Sorgentegithub.com/AeonDave/malskill/tree/main/offensive-tools/cryptography/sagemath@21cd568

Questa voce non è ancora scritta in italiano, quindi è mostrata in un'altra lingua: English.

Sage is the go-to environment for mathematical cryptanalysis and attack modeling. Use it when standard scripting is not enough for algebraic structures and lattice workflows.

Typical use cases

  • Finite field computations (GF, extension fields).
  • Polynomial rings and elimination/resultants.
  • Elliptic curve arithmetic and discrete-log style tasks.
  • Lattice modeling (matrix, LLL) for partial leakage recovery.
  • Fast prototyping of attack math before operationalizing in Python.

Invocation modes

bash
# REPL
sage

# Run .sage script
sage solver.sage

# Run Python file with Sage runtime
sage -python solver.py

# Jupyter with Sage kernel
sage -n jupyter

Practical workflow

  1. Parse input values (files, network output, pubkeys).
  2. Model algebra in Sage-native structures (GF, rings, curves, matrices).
  3. Validate with small synthetic tests.
  4. Execute full solve, export recovered secrets to plain Python bytes/ints.
  5. Integrate with pwntools or service scripts for secret recovery.

Common cryptanalysis patterns

From real-world cryptanalysis work, common patterns include:

  • from sage.all import * alongside pwntools remote interaction.
  • Factoring and formatting factorization answers for oracle protocols.
  • Elliptic curve order / point lifting / discrete-log solves.
  • Lattice assembly via identity/augment/stack + LLL().
  • Finite-field polynomial construction and resultant-based elimination.
  • .sage solvers combining bitwise transforms, polynomial operations over GF(2^N), and iterative remote interaction rounds.

Output hygiene

  • Convert Sage integers to Python ints before serialization.
  • Convert numeric secrets to bytes with explicit endianness/length handling.
  • Keep deterministic seeds/options when random components appear.

Resources

  • references/python-sage-scripts.md — authoritative patterns for .sage and sage -python workflows, imports, interoperability, and pitfalls.
  • references/cryptanalysis-patterns.md — practical cryptanalysis templates (GF, EC, lattice, polynomial elimination) grounded in real solver style.

File di questa versione

Permessi

PermessoDichiaratoTrovato dalla scansione
Legge fileNoNo
Scrive fileNoNo
Esegue comandi shellSìSì
Usa la reteNoNo
Usa i connettoriNoNo
Controlla un browserNoNo

Segnalazioni della scansione

Rivisto il 13 nov 2026

La scansione non ha trovato nulla da segnalare in questa versione.

Una scansione pulita abbassa il rischio, ma non prova che il pacchetto sia sicuro. Leggi quello che installi.

VersionePubblicataCommitSHA-256FirmaCambio di permessi
v2026.11.13-21cd56813 nov 202621cd5684cfb0bddFirmata–

Chiedi tutto quello che il tuo perimetro consente.

Crea un account, aggiungi crediti e fai la prima domanda in chat o nel terminale.

  1. 1/3

    Crea l'account

    Privato o azienda. Puoi passare ad azienda in seguito senza perdere saldo o chiavi.

    PrivatoAzienda
  2. 2/3

    Aggiungi crediti

    Con carta. Paghi a token, senza abbonamento.

    $5.00ricarica minima
  3. 3/3

    Chiedi

    In chat, oppure installa la CLI ed esegui notholy login nel terminale.

    $ notholy login