stuff
This commit is contained in:
11
training/IntroZ3/tasks/chall3_archventure/Dockerfile
Normal file
11
training/IntroZ3/tasks/chall3_archventure/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
# docker build -t archventure-time . && docker run -it archventure-time
|
||||
FROM ubuntu:24.04
|
||||
|
||||
RUN apt update
|
||||
RUN apt install -y qemu-user libc6-arm64-cross libc6-riscv64-cross libc6-ppc64-cross
|
||||
|
||||
COPY ./archventure /app/chal
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
CMD ["./chal"]
|
||||
18
training/IntroZ3/tasks/chall3_archventure/README.md
Normal file
18
training/IntroZ3/tasks/chall3_archventure/README.md
Normal file
@@ -0,0 +1,18 @@
|
||||
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`
|
||||
BIN
training/IntroZ3/tasks/chall3_archventure/archventure
Normal file
BIN
training/IntroZ3/tasks/chall3_archventure/archventure
Normal file
Binary file not shown.
83
training/IntroZ3/tasks/chall3_archventure/template.py
Normal file
83
training/IntroZ3/tasks/chall3_archventure/template.py
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user