$ cat writeup.md…
$ cat writeup.md…
FortID 2026
Task: two Factorio 2.0 blueprint strings hide a multi-stage forensics/stego payload. Solution: decode blueprint, read QR from tile bitmap, recover second QR from entity-occupancy XOR tiles, then render 29 disjoint circuit-wire networks as ordered leet glyphs.
$ cat /etc/rate-limit
Rate limit reached (20 reads/hour per IP). Showing preview only — full content returns at the next hour roll-over.
Two attachment files are provided. They look like tangled, abandoned Factorio machinery. Untangle the construction.
English summary: the two handouts are standard Factorio 2.0 (Space Age) blueprint
strings — a leading format byte 0 followed by base64(zlib(JSON)). The blueprint
version field decodes to hex 0x20000004d0000 = Factorio 2.0.77. Inside the JSON
there are three independent covert layers. Each layer yields one fragment of the flag,
and the fragments concatenate into a leet rendering of a well-known Factorio meme phrase.
The recovered flag is of the form FortID{REDACTED}.
Two files, three layers:
entities (290, a 25×25 footprint) and tiles (841, a 29×29 square).tiles only (a 25×25 square of landfill presence).import base64, zlib, json raw = open("handout1.txt").read().strip() bp = json.loads(zlib.decompress(base64.b64decode(raw[1:]))) # strip the leading '0' blueprint = bp["blueprint"]
The leading character is the legitimate Factorio format-version prefix (0), not
tampering. blueprint["version"] = 0x20000004d0000.
tiles (29×29)handout1's 841 tiles are a 29×29 grid with exactly two types. Mapping one type to a
black module and the other to white produces a valid QR code, version 3, ECC level
M, mask 5. Its payload is the first flag fragment (a leet phrase). It decodes
identically with zxingcpp and pyzbar (cross-check both to rule out transcription
errors).
...
$ grep --similar