← Digital systems

Capture the flag

Years 8–10. Two skills a defender needs, then a capture the flag that uses everything: encoding is not encryption (binary, hex and base64 are public rules anyone can undo), and what your own web page gives away (comments, hidden fields, scripts and photo details reach every visitor). Then the old club archive: five flags found with decoding, page source, the command line, a tiny processor and a key word, and the leaks fixed before it closes. Defensive and fictional throughout.

Start1. Encoding is not encryption

What gives secrets away

Encoding is not encryption; what your page gives away.

1Encoding is not encryptionNot started

Binary, hex and base64 are encodings: the same data written another way by a public rule. They look scrambled, but anyone can turn them back, so they hide nothing. Encryption needs a secret key as well: without it, the data can't be read. Use encryption to keep something secret, and hashing (Security and privacy) to store passwords.

  1. Engage: does it look safe?
  2. Explore: get it past Eve › Base64
  3. Explore: get it past Eve › Past Eve
  4. Explain: encoding, encryption, hashing
  5. Elaborate: decode it › The stored password
  6. Elaborate: decode it › Which rule?
  7. Elaborate: decode it › Two layers
  8. Elaborate: Ava's reply
  9. Evaluate: look back › The account page
  10. Evaluate: look back › Look back
Start lesson
2What your page gives awayNot started

A web page is sent whole to every visitor's browser, so its source is theirs to read: comments, hidden fields and scripts, even when the page doesn't show them. Photos can carry where they were taken. And a check that runs in the browser can be skipped. Keep secrets and real checks on the server, and strip photo details before you upload.

  1. Engage: not shown, not sent?
  2. Explore: check the club page
  3. Explain: everything is sent
  4. Elaborate: fix it › Fix the club page
  5. Elaborate: fix it › The sign-up page
  6. Elaborate: before launch
  7. Evaluate: look back › The photo
  8. Evaluate: look back › Look back
Start lesson

Capture the flag: the old archive

Five flags from across Digital systems, then close the archive safely.

3Capture the flag: the old archiveNot started

The club's old archive server is being wiped on Friday. Before it goes, find out what it still gives away: five flags, each found with a skill from Digital systems (decoding, page source, the command line, a tiny processor and a key word). Then close the archive's leaks so the secrets can be changed.

  1. Engage: why look?
  2. Explore: five flags › Flag 1: the note
  3. Explore: five flags › Flag 2: the page
  4. Explore: five flags › Flag 3: the minutes
  5. Explore: five flags › Flag 4: the old program
  6. Explore: five flags › Flag 5: the locked note
  7. Explain: what each flag shows
  8. Elaborate: close the archive
  9. Evaluate: look back › What next?
  10. Evaluate: look back › Look back
Start lesson

Progress is saved in this browser only. Nothing is sent anywhere.

For teachers: Teacher guide (notes, answers, solutions, slides and worksheets)