Capture a Flag

So I've made this short challenge for use at work - and I figured some of you could also get a kick from solving it.

Note that the difficulty level has been adjusted to allow less experienced solvers to complete it successfully.

The princess is in another castle

Have a go at shahart.al/cpctf and make your mark on the scoreboard!

  • Beginners - solve the challenge.
  • Intermediate - solve the challenge within 1 second of challenge generation.
  • Advanced - generate a challenge using your own chosen salt with a solution that my server will accept as valid.

P.S. Hacking into my server and modifying my code is accepted as a valid solution for the 'Advanced' level. don't be mean if you do :)