ptn1411/skill/dotnet-keygen

Claude Code and agent skill by ptn1411/skill

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Extract license validation algorithms from decompiled .NET source and generate keygens. Supports common license libraries (Cryptlex, LimeLM, custom), serial format detection, and crypto parameter extraction (RSA/AES/HMAC).

Install

npx vskill@latest install ptn1411/skill/dotnet-keygen

SKILL.md

.NET Keygen

Extract the license validation algorithm from decompiled .NET code and generate a standalone keygen script.
Language rule: All skill instructions use English.
Final summary presented to the user must be in Vietnamese.

0. Authorization & Routing

Operates under MASTER_POLICY.md §1-§2.

Sibling skillWhen
dotnet-decompilerDecompile assembly first to get C# source
dotnet-patcherPatch binary instead of keygen (simpler but less elegant)
writerpro-pentestGeneric keygen template for non-.NET apps
network-interceptorCapture license server protocol for online validation

Step 1 — Extract License Algorithm

bash
python scripts/extract_license_algo.py decompiled/ --out license_info.json
powershell
python scripts\extract_license_algo.py decompiled\ --out license_info.json

Detects:

  • Serial format: XXXXX-XXXXX-XXXXX patterns, length, charset, checksum algorithm
  • Crypto parameters: RSA public keys (modulus/exponent), AES keys/IVs, HMAC secrets
  • Validation logic: Check digit algorithms, hash comparisons, date encoding
  • License libraries: Cryptlex, LimeLM, Infralution, SoftwareKey, custom implementations
  • HWID binding: Machine ID generation algorithm, what hardware data is collected
  • Feature flags: How license tiers map to features (Pro, Enterprise, etc.)

Step 2 — Generate Keygen

From extracted info
bash
python scripts/generate_keygen.py license_info.json --out keygen.py
From template (common patterns)
bash
python scripts/generate_keygen.py --template serial-checksum --format "XXXXX-XXXXX-XXXXX-XXXXX" --out keygen.py
python scripts/generate_keygen.py --template rsa-signed --pubkey extracted_key.pem --out keygen.py
python scripts/generate_keygen.py --template hwid-hash --algo sha256 --secret "extracted_secret" --out keygen.py
Test generated keygen
bash
python keygen.py --count 5
python keygen.py --hwid "YOUR_MACHINE_GUID"
python keygen.py --features pro --expiry 2030-12-31

Available Templates

TemplateFileUse Case
serial_checksumtemplates/serial_checksum.pySimple serial with check digit (Luhn, mod97, custom)
rsa_signedtemplates/rsa_signed.pyRSA-signed license (need private key or weak key)
hwid_hashtemplates/hwid_hash.pyHWID-bound license with shared secret
time_basedtemplates/time_based.pyTime-limited trial with date encoding
feature_flagstemplates/feature_flags.pyLicense with encoded feature bitmask

Final Report (Vietnamese)

🔑 Keygen generation hoàn tất:
📋 License type : <TYPE>
🔐 Crypto : <RSA/AES/HMAC/None>
📐 Serial format : <FORMAT>
🖥️ HWID binding : <YES/NO>
⏰ Time-limited : <YES/NO>
🎯 Feature flags : <COUNT> tiers
💾 Keygen: keygen.py
📊 Info: license_info.json

Anti-Patterns

❌ Don't✅ Do
Assume simple serial without analyzingAlways extract the full validation algorithm
Ignore RSA key sizeKeys < 512 bits can be factored; larger need private key leak
Skip HWID analysisKeygen must generate HWID-bound keys if app requires it
Generate keys without testingAlways validate generated keys against extracted algorithm
Ignore online validationSome apps check key locally AND online — need both
Miss obfuscated string constantsUse dotnet-decompiler with de4dot first

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
150
Repository forks
90
7-day trend score
25

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ptn1411/skill/dotnet-keygen/badge)](https://verified-skill.com/skills/ptn1411/skill/dotnet-keygen)

Something wrong with this skill or its page? Tell us.