Navigate through commit history to find the hidden treasure
You've discovered an old Git repository that contains a hidden treasure! Your mission is to navigate through the commit history using Git commands to find the commit that contains the secret flag.
git log to explore commitsgit checkoutgit showDownload and extract the zip file to get started with the treasure hunt.
git init
Make the extracted folder a proper Git repository.
git log --oneline
View all commits in a condensed format to see the repository's history.
git show <commit-hash>
Look for commits with interesting messages or changes that might contain clues.
git checkout <commit-hash>
Time travel to different points in history to examine the repository state.
Look for hidden files, secret messages, or special content that contains the flag!
git log
View complete commit history
git log --oneline
Condensed commit history
git show <commit>
View commit details and changes
git checkout <commit>
Navigate to specific commit
ls -la
List all files (including hidden)
cat <filename>
Display file contents
File size: ~500KB | Requirements: Git installed
Pay attention to commit messages and timestamps - they often contain hints!
Use ls -la to reveal hidden files that might contain the treasure.
The treasure might be hidden in an older commit, not necessarily the latest one.
Examine file contents carefully - the flag might be embedded within regular text.