12/91
Sign inSign up free

707. Which Downloads Can We Trust?

easy 10 XP ~5 minHands-on lab

A mirror served the release files of the summit tool into /srv/lab/downloads/. The vendor publishes the official checksums in /srv/lab/downloads/SHA256SUMS. Some files were corrupted on the way, or tampered with, and one file isn't in the vendor's list at all.

Task

  • Move every file whose checksum doesn't match the list, and every file that isn't in the list, to /srv/lab/quarantine/.
  • Files that match stay where they are.
  • Write the names of the moved files to /home/student/quarantined.txt, one per line, sorted.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.