Logo: Nuitka Decryptor

Nuitka Decryptor

Communautéit
ptn1411
nuitka-decryptor

Nuitka-kompiléiert Python-Applikatioune per Reverse Engineering analyséieren an entschlësselen. Extrahéiert Verschlësselungsschlësselen aus PE-Binärdateien (.pyd), analyséiert binär Konstanten a entschlësselt verschlësselt Quelldateien am Bulk mat XOR+Base64. Benotzt dëse Skill, wann Dir eng kompiléiert Python-App mat verschlësselte Quelldateien (.encrypted), Nuitka-Moduler (.pyd) hutt oder opgefuerdert gitt, de Quellcode vun enger App per Reverse Engineering ze analyséieren oder ze entschlësselen.

Add to TypingMind

Iwwersiicht

Editeurptn1411
Repositoryskill
Skill-Nummnuitka-decryptor
Stären
275
Forks
133
Matgeliwwert Dateien
8
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 8 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    ptn1411 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Nuitka Decryptor an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/ptn1411/skill/tree/main/nuitka-decryptor
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ptn1411/skill.git /tmp/skill
mkdir -p .claude/skills
cp -r /tmp/skill/nuitka-decryptor .claude/skills/nuitka-decryptor
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Nuitka Decryptor an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Nuitka Decryptor automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Nuitka Decryptor net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Nuitka Decryptor Skill

Reverse engineer Nuitka-compiled Python apps: extract keys from PE binaries, decrypt XOR+Base64 source files.

Language rule: All skill instructions use English. Final summary presented to the user must be in Vietnamese.


How Nuitka App Encryption Works

Nuitka compiles Python → C → .exe / .pyd (Windows DLL). Some apps add a custom encryption layer:

Source .py  →  encrypt(XOR + Base64, key)  →  .encrypted files
              key embedded in Nuitka constants (.rdata / .rsrc section of .pyd)

Standard pattern (confirmed on VideoAIStudio v2.1.5):

PropertyValue
AlgorithmXOR with repeating key
EncodingBase64 (standard)
Key locationNuitka marshalled constants in .rdata / .rsrc PE section
Key formatASCII string (e.g. BT_DEV_2025_SECURE)
Formulaplaintext = XOR(base64_decode(ciphertext), repeating_key)

Step 1 — Reconnaissance: Map the target

Before running any script, identify:

target_app/
├── app/
│   ├── encrypted_sources/
│   │   ├── MANIFEST.txt        ← list of all source files
│   │   └── *.encrypted         ← encrypted Python source
│   └── repo/updater/
│       ├── config_loader.pyd   ← KEY IS HERE (Nuitka constants)
│       └── update_agent.pyd    ← secondary binary
├── *.encrypted                 ← encrypted config files
└── decrypted_sources/          ← output directory

Trigger keywords that suggest this pattern:

  • .encrypted files alongside a .pyd or .exe
  • MANIFEST.txt listing Python module paths
  • base64 + XOR combo in network traffic or strings analysis
  • Nuitka strings (__compiled__, nuitka, cp312-win_amd64) in binary

Step 2 — Binary Analysis

Run scripts/analyze_binary.py to surface key candidates:

bash
python scripts/analyze_binary.py \
  --pyd path/to/config_loader.pyd \
  --out binary_analysis.txt

What it finds:

  • Printable strings containing key, secret, encrypt, decrypt, token, cipher
  • 16/32-byte high-entropy byte sequences (potential AES keys)
  • Base64-like strings (20–100 chars)
  • Nuitka function name patterns (load_encrypted, get_key, xor, b64decode)
  • Long ASCII strings > 32 chars (embedded key candidates)

Key discovery heuristic — if you see a string like:

BT_DEV_2025_SECURE    ← 18-char ASCII key
BT_Automation_Tiktok  ← variant

→ This is almost certainly the XOR key. Proceed to Step 3.


Step 3 — Key Extraction via PE Resource

Run scripts/extract_key.py to pull marshalled constants from the PE .rsrc / .rdata section:

bash
python scripts/extract_key.py \
  --pyd path/to/config_loader.pyd \
  --config path/to/update_config.json.encrypted \
  --out key_extraction.txt

Known-plaintext attack on config file:

If config.encrypted[0] XOR { = key[0]:

python
key[0] = config_enc[0] ^ ord('{')   # JSON always starts with {
key[1] = config_enc[1] ^ ord('\n')  # formatted JSON has newline
key[2] = config_enc[2] ^ ord(' ')   # indented with spaces
# Continue to recover full key byte-by-byte

PE resource parsing approach:

  1. Read PE header → find .rsrc section offset
  2. Attempt marshal.loads() on resource chunks
  3. Search .rdata for key-sized (16/32B) high-entropy sequences

Step 4 — Decrypt All Sources

Once key is confirmed, run scripts/decrypt_all.py:

bash
# Decrypt all files listed in MANIFEST.txt
python scripts/decrypt_all.py \
  --key "BT_DEV_2025_SECURE" \
  --encrypted-dir path/to/app/encrypted_sources \
  --output-dir path/to/decrypted_sources \
  --manifest path/to/app/encrypted_sources/MANIFEST.txt

# Decrypt a single .encrypted file
python scripts/decrypt_all.py \
  --key "BT_DEV_2025_SECURE" \
  --single path/to/file.encrypted \
  --output-dir ./out

# Decrypt a config file
python scripts/decrypt_all.py \
  --key "BT_DEV_2025_SECURE" \
  --single update_config.json.encrypted \
  --output-dir ./out

Decrypt formula (pure stdlib, no deps):

python
import base64
def xor_decrypt(payload_b64: str, key: bytes) -> str:
    decoded = base64.b64decode(payload_b64)
    kr = (key * (len(decoded) // len(key) + 1))[:len(decoded)]
    return bytes(a ^ b for a, b in zip(decoded, kr)).decode('utf-8')

Step 5 — Verify & Analyze

After decryption, verify output:

bash
# Check a sample file looks like valid Python
head -50 decrypted_sources/main.py
head -50 decrypted_sources/core/config.py

# Search for hardcoded secrets in decrypted source
grep -rn "api_key\|secret\|password\|token\|LICENSE" decrypted_sources/
grep -rn "http\|https" decrypted_sources/ | grep -v "\.pyc"

What to look for in decrypted source:

  • License validation logic (bypass candidates)

  • API keys / tokens embedded in code

  • Encryption keys for other data stores

  • Backend endpoints not visible from network traffic

  • Authentication bypass opportunities

  • Authentication bypass opportunities


Step 7 — Keygen Development Support

If asked to create a keygen or extract license validation logic, use scripts/extract_keygen_data.py:

bash
python scripts/extract_keygen_data.py \
  --pyd path/to/main_app.pyd \
  --out keygen_info.txt

Keygen targets:

  • HWID Retrieval: Identification of system-specific IDs (MachineGuid, MAC address, Disk Serial) used to bind licenses.
  • Hashing Constants: Detection of MD5/SHA256 initialization constants, which indicate the hashing algorithm used for license generation.
  • Secret Salts: High-entropy strings near license-related keywords often act as salts for hashing.
  • License Logic: Strings like trial, expired, activation_code help locate the validation routines.

Step 8 — Key Confirmation Test

Before bulk decryption, always verify the key on a known-structure file:

python
# Quick sanity check
result = xor_decrypt(open('update_config.json.encrypted').read().strip(), key)
assert result.strip().startswith('{'), f"Wrong key! Got: {result[:20]}"
import json; json.loads(result)  # must parse as valid JSON
print("Key confirmed:", key)

File Naming Convention

OutputFilename
Binary analysisbinary_analysis.txt
Key extraction logkey_extraction.txt
Confirmed keykey_final.txt
Decrypt testdecrypt_test.txt
Decrypted sourcesdecrypted_sources/<original_path>.py

Workflow

1. RECON    → Identify .pyd files, .encrypted files, MANIFEST.txt
2. ANALYZE  → Run analyze_binary.py → find key candidates
3. EXTRACT  → Run extract_key.py → confirm key via known-plaintext
4. DECRYPT  → Run decrypt_all.py → bulk decrypt all source files
5. KEYGEN   → Run extract_keygen_data.py → extract HWID/hash data for keygen
6. VERIFY   → Sample check + grep for secrets/hardcoded values
7. REPORT   → Present findings to user IN VIETNAMESE

Final Report to User (always in Vietnamese)

✅ Giải mã hoàn tất:

  🔑 Key tìm được  : <KEY_VALUE>
  📦 Thuật toán    : XOR + Base64
  📁 File giải mã  : N / TOTAL file thành công
  💾 Output        : decrypted_sources/

  🔍 Phát hiện đáng chú ý:
    - <danh sách secrets, endpoints, license logic>
    - <Thông tin Keygen: HWID pattern, hash constants, secret salts>

▶  Bước tiếp theo:
   grep -rn "api_key\|secret" decrypted_sources/

Anti-Patterns

❌ Don't✅ Do
Hardcode target paths in scriptsUse --pyd, --encrypted-dir args
Guess the key without verificationAlways confirm on known-structure file first
Skip binary analysisanalyze_binary.py often reveals key directly in strings
Decrypt without checking MANIFESTSome files may be absent — track success/fail counts
Use only one section (.rsrc)Check both .rsrc and .rdata for marshal blobs
Present findings in EnglishAlways deliver final summary in Vietnamese

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Nuitka Decryptor?

Nuitka-kompiléiert Python-Applikatioune per Reverse Engineering analyséieren an entschlësselen. Extrahéiert Verschlësselungsschlësselen aus PE-Binärdateien (.pyd), analyséiert binär Konstanten a entschlësselt verschlësselt Quelldateien am Bulk mat XOR+Base64. Benotzt dëse Skill, wann Dir eng kompiléiert Python-App mat verschlësselte Quelldateien (.encrypted), Nuitka-Moduler (.pyd) hutt oder opgefuerdert gitt, de Quellcode vun enger App per Reverse Engineering ze analyséieren oder ze entschlësselen.

Firwat Nuitka Decryptor op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Nuitka Decryptor besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Nuitka Decryptor an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ptn1411/skill/tree/main/nuitka-decryptor an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Nuitka Decryptor benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Nuitka Decryptor benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Nuitka Decryptor domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Nuitka Decryptor gratis?

ptn1411 huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇