Challenges › Reverse Engineering
A License Check
easy · 50 XP · flag · free · solves: 1
A small program called licensecheck asks for one license key as its argument. It prints License accepted. for exactly one key and Invalid license. for every other.
Download it, make it runnable with chmod +x licensecheck and try a key, for example ./licensecheck TEST. Then work out the real key by reading how the program checks it. A debugger and a decompiler such as Ghidra will both help.
Submit the flag as CSEMA{ followed by the accepted license key and }.
Tags: learn
Try next
- Hiding in Plain View (easy)
- The Line That Matters (easy)
- Forge the Serial (easy)