PACTF_2018: Go Git It

Category: Lovelace Points: 25 Description:

The code samurai (also known by his pseudonym Nicholas) was making some final optimizations on his program when… he accidentally decapitated it. Download the samurai’s repository: go git it.tar.bz2

Write-up

This is a git challenge. Extracting the archive gives us a git repository. Using git reflog, we can find the missing branchand recover it.

$ git reflog
$ git reset --hard HEAD@{1}
[main] 01ab3947246a08dcddf71056c330473bbb58d0ed - commit 1 of 7             100%
commit 01ab3947246a08dcddf71056c330473bbb58d0ed
Refs: [master]
Author:     Miles McCain <milesmcc@users.noreply.github.com>
AuthorDate: Fri Apr 6 20:58:41 2018 -0400
Commit:     Miles McCain <milesmcc@users.noreply.github.com>
CommitDate: Fri Apr 6 20:58:41 2018 -0400

    I AM THE CODE SAMURAI
---
 README.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/README.md b/README.md
index 3ee1001..b5fff7b 100644
--- a/README.md
+++ b/README.md
@@ -107,3 +107,5 @@ Some samples are taken from the games Ultima IV and [Dungeon

 <p align="center"><img alt="second collage" src="http://i.imgur.com/CZsvnc7.png
 <p align="center"><img alt="voxel perspective" src="http://i.imgur.com/RywXCHn.
+
+The flag is `3x3rc1z3_caut10n_wh3n_d3tach1ng_ur_h3ad`!

Therefore, the flag is 3x3rc1z3_caut10n_wh3n_d3tach1ng_ur_h3ad.

results matching ""

    No results matching ""