Challenge 5: Last Call
Last Call
Section titled “Last Call”The after-hours desk keeps slips on a pad and takes a night note at the counter. A slip is read back as it was filed, and the note is read back one line at a time, where a line is eighty characters. The desk also has a strongroom that nothing opens.
Your goal is to get the strongroom’s contents printed.
Get the files
Section titled “Get the files”Download last-call-v1.0.0.tar into ~/underdunn-course/downloads and
verify the release digest:
cd ~/underdunn-course/downloadssha256sum last-call-v1.0.0.tar55e3eafa5f1c9766ccf5f230ff37325d36d8454ffa95fcb68e34090f758b7a00 last-call-v1.0.0.tarDon’t continue if it differs. Download a fresh copy and verify it again.
mkdir -p ~/underdunn-course/labs/last-calltar -xf last-call-v1.0.0.tar -C ~/underdunn-course/labs/last-callcd ~/underdunn-course/labs/last-call/last-call-v1.0.0sha256sum -c CHECKSUMS.sha256sh build.shEvery listed file has to report OK. Read build.sh before you run it. Every other build in this
course has taken something off that line. This one takes nothing off.
The flag
Section titled “The flag”Paste exactly what the strongroom held, with no surrounding whitespace:
Reset and cleanup
Section titled “Reset and cleanup”The desk keeps no state between runs, and a run that ends badly ends the process. For a full reset of the files:
cd ~/underdunn-course/labs/last-callrm -rf -- last-call-v1.0.0tar -xf ~/underdunn-course/downloads/last-call-v1.0.0.tar -C .cd last-call-v1.0.0sha256sum -c CHECKSUMS.sha256sh build.shKeep the verified archive and any solver or modified source you want to revisit. Before a reset, copy those files outside the directory being replaced.