Author: Jeffery John
Description
I accidentally wrote the flag down. Good thing I deleted it!You download the challenge files here:
Hints
- Version control can help you recover files if you change or lose them!
- Read the chapter on Git from the picoPrimer here
- You can ‘checkout’ commits to see the files inside them
Answer
# List the git commit history
┌──(0xneobyte㉿0xNeoShell)-[~/drop-in]
└─$ git log --graph --oneline --all
* e1237df (HEAD -> master) remove sensitive info
* 3d5ec8a create flag
# Inspect the first commit
┌──(0xneobyte㉿0xNeoShell)-[~/drop-in]
└─$ git show 3d5ec8a
commit 3d5ec8a26ee7b092a1760fea18f384c35e435139
Author: picoCTF <ops@picoctf.com>
Date: Sat Mar 9 21:10:14 2024 +0000
create flag
diff --git a/message.txt b/message.txt
new file mode 100644
index 0000000..96f7309
--- /dev/null
+++ b/message.txt
@@ -0,0 +1 @@
+picoCTF{s@n1t1z3_30e86d36}
FLAG : picoCTF{s@n1t1z3_30e86d36}