19 lines
980 B
Markdown
19 lines
980 B
Markdown
This challenge was part of GPN2024 CTF
|
|
|
|
The binary doesn't need to be analyzed and is there only for reference and to retrieve the flag with the correct license code.
|
|
Template code is provided, the reversing part of the individual constraints was already done/is given.
|
|
|
|
The license key has the form XXXXX-XXXXX-XXXXX-XXXXX
|
|
The template code will mostly ignore the '-' (since the binary does it mostly as well) and `license[5]` will refer to the 6th X
|
|
|
|
For context:
|
|
|
|
- The binary will perform some general constraint checks on the license
|
|
- The binary will extract 4 binaries of different architectures that each contain different parts of a constraint set and are then executed
|
|
- The constraints are described in the template and the relevant arrays extracted already
|
|
|
|
To validate your license key, run the binary (it requires qemu and some dependencies, so using the Dockerfile might be easiest):
|
|
|
|
Build: `docker build -t archventure .`
|
|
Run: `docker run --rm -it archventure`
|