# Time Machine

## Challenge Description

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

You can download the challenge files here:

* [challenge.zip](https://artifacts.picoctf.net/c_titan/161/challenge.zip)

***

## Solution

Download the file and extract it. You can find a `.git` file in the current directory.

<figure><img src="https://2035863894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjvlUrxK6i7ZNmn3d6e8B%2Fuploads%2FHXcJ7OPvWqH1LpI2PdLC%2Fimage.png?alt=media&#x26;token=a9e8fb65-6e82-41e6-8e1f-a6021c81dc41" alt=""><figcaption></figcaption></figure>

On viewing the contents of the `message.txt`, it seems like we have to check the history.

<figure><img src="https://2035863894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjvlUrxK6i7ZNmn3d6e8B%2Fuploads%2F4jn6olSa6H210pN00yrL%2Fimage.png?alt=media&#x26;token=05fd3e40-8332-44be-ba08-26f855c19e5b" alt=""><figcaption></figcaption></figure>

We can view the git history by using the `git log` command.

<figure><img src="https://2035863894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjvlUrxK6i7ZNmn3d6e8B%2Fuploads%2FxhtnbFMFZinLkO8agW3b%2Fimage.png?alt=media&#x26;token=fe4850bc-37df-4c0e-814f-9dd573163b46" alt=""><figcaption></figcaption></figure>

Flag: `picoCTF{t1m3m@ch1n3_8defe16a}`
