moth/doc/ref.txt

38 lines
1.3 KiB
Plaintext

How to run a CTF event
======================
When DBTL boots, it goes through the following sequence:
1. Mount a partition labelled "PACKAGES" read-only under /mnt/packages
2. Mount a partition labelled "STATE" read-write under /state,
or make it a tmpfs if no such partition exists
3. For every file matching /mnt/packages/${pkg}.pkg, mount it under /packages/$pkg
4. For every directory matching /packages/*/service/${d}, copy it recursively
into /service/$d
Terms Used Here
---------------
* puzzle: a static category with one web page (and optional data) and a
list of correct answers for each point value. For example, sequence.
* live category: a dynamic category which requires interaction to
solve. For example, octopus.
* puzzler: infrastructure to serve up and award points for static
puzzle categories (eg. sequence)
* pointsd: points server.
* mcp: "Master Control Program". The main server, containing puzzler,
scoreboard, and tokend.
Packages You Ought To Know About
--------------------------------
* mcp is the "Master Control Program". A machine running this package
is the server, and comes up with IP 10.0.0.2. It contains the point
server, token server, scoreboard, and puzzler.
* pwnables is the "vulnerable services" package. A machine running