Time Machine (picoCTF 17)

Challenge Author:

Difficulty: Easy

Description

What was I last working on? I remember writing a note to help me remember…

Process / Notes

  1. wget and unzip the challenge folder - a lot of files got unzipped from a .git directory
  2. cat message.txt - “This is what I was working on, but I’d need to look at my commit history to know why…”
  3. Checking the tree inside the .git directory
  4. There’s a COMMIT_MSG
  5. cat COMMIT_MSG revealed the flag!

5 minutes 6 seconds to complete

Hints

Core Lessons

  1. Understand what the COMMIT_MSG is
  2. How to use cat to read a file’s contents