sagemath
Auth/lab ref: Computer algebra and number-theory environment for cryptanalysis scripting.
v2026.11.13-21cd5683 התקנות+3 ב-7 ימים39 כוכביםGPL-3.0סונכרן לפני 10 שעות
התקנה
עדיין אין לכם את ה-CLI של NotHoly? התקינו אותו קודם.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/sagemathנכתב אל ~/.notholy/skills אחרי בדיקת החתימה וה-SHA-256.
חתימהחתום, ed25519
חבילה4cfb0bdd…8e4bfd8d
4cfb0bdde4c7…73868e4bfd8d3 קבצים · 4.3 KBסריקהנמוךאין ממצאים
מקורgithub.com/AeonDave/malskill/tree/main/offensive-tools/cryptography/sagemath@21cd568
הפריט הזה עדיין לא נכתב בעברית, ולכן הוא מוצג בשפה אחרת: 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
# REPL
sage
# Run .sage script
sage solver.sage
# Run Python file with Sage runtime
sage -python solver.py
# Jupyter with Sage kernel
sage -n jupyterPractical workflow
- Parse input values (files, network output, pubkeys).
- Model algebra in Sage-native structures (
GF, rings, curves, matrices). - Validate with small synthetic tests.
- Execute full solve, export recovered secrets to plain Python bytes/ints.
- Integrate with
pwntoolsor service scripts for secret recovery.
Common cryptanalysis patterns
From real-world cryptanalysis work, common patterns include:
from sage.all import *alongsidepwntoolsremote 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.
.sagesolvers combining bitwise transforms, polynomial operations overGF(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.sageandsage -pythonworkflows, imports, interoperability, and pitfalls.references/cryptanalysis-patterns.md— practical cryptanalysis templates (GF, EC, lattice, polynomial elimination) grounded in real solver style.
הקבצים בגרסה הזו
references/27.3 KB
- cryptanalysis-patterns.md5.3 KB
- python-sage-scripts.md2.0 KB
- SKILL.md2.3 KB
הרשאות
| הרשאה | הוצהר | נמצא בסריקה |
|---|---|---|
| קורא קבצים | לא | לא |
| כותב קבצים | לא | לא |
| מריץ פקודות shell | כן | כן |
| משתמש ברשת | לא | לא |
| משתמש במחברים | לא | לא |
| שולט בדפדפן | לא | לא |
ממצאי הסריקה
נבדק ב-13 בנוב׳ 2026
הסריקה לא מצאה בגרסה הזו שום דבר שצריך לסמן.
סריקה נקייה מורידה את הסיכון, אבל לא מוכיחה שהחבילה בטוחה. כדאי לקרוא מה מתקינים.
| גרסה | פורסמה | Commit | SHA-256 | חתימה | שינוי בהרשאות |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | 13 בנוב׳ 2026 | 21cd568 | 4cfb0bdd | חתומה | – |
עוד מ-AeonDave
הכול מהמפרסם הזהעוד בקטגוריה קריפטוגרפיה ו-Web3
לקטגוריהשאלו כל מה שהסקופ מאפשר.
יוצרים חשבון, מוסיפים קרדיטים ושואלים את השאלה הראשונה בצ׳אט או בטרמינל.
- 1/3
יצירת חשבון
פרטי או חברה. אפשר לעבור לחשבון חברה אחר כך בלי לאבד יתרה או מפתחות.
פרטיחברה - 2/3
הוספת קרדיטים
בכרטיס אשראי. תשלום לפי טוקן, בלי מנוי.
$5.00טעינה מינימלית - 3/3
שאלה ראשונה
בצ׳אט, או להתקין את ה-CLI ולהריץ notholy login בטרמינל.
$ notholy login