The challenge mentions "commits," which indicates it involves Git. Let’s start by downloading the challenge files.
wget https://artifacts.picoctf.net/c_titan/159/challenge.zip
unzip challenge.zip
Next, navigate to the extracted folder and list the files:
cd [extracted-folder]
ls
You should see a Python file. Although you can view its content using:
cat file-name.py
it’s not necessary for this challenge.
To explore the Git commit history, use:
git log
or to see commits related to the Python file specifically:
git log file-name.py
This will display a list of commits similar to the screenshot below:
The commits are listed from the oldest to the newest. The flag picoCTF{_______}
is hidden somewhere in these commit messages.
Top comments (0)