Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer
Reverse engineeringmedium250 pts0 solves

License Check

A vendor "protects" its Python tool with home-made obfuscation. You have the script but not a licence key. Reverse it to get the activation code.

Learning objectives

Read and deobfuscate simple XOR-based checks; understand why client-side secrets are recoverable.

Instructions

Analyse license_check.py (do not just guess). You may run it, but the goal is to recover the key and the activation code by reading the code.

Prerequisites: Basic Python.
Flag format: cspk{...}
Files: license_check.py (0.8 KB) (download after registering)
Useful tools: Ghidra radare2

References

Write-up

The full write-up and learning takeaways unlock after you solve this challenge — spoilers stay hidden until then.