Leaf of the Tree

Writeup by Valar_Dragon

  • Misc
  • 20 points
  • Description: We found this annoyingly named directory tree starting at /problems/a45d1519bd193bc3a273744c83fad1e2. It would be pretty lame to type out all of those directory names but maybe there is something in there worth finding? And maybe we dont need to type out all those names...? Follow the trunk, using cat and ls!

So this is a pretty easy challenge! We know from the harder version of this challenge "Leaf of the Forest", that the file is named flag. The command find shows all the files and subdirectories, tree style. So if we just do file | grep flag, it'll give us the path to the flag!

[email protected] ~/Code/CTF/ezCTF/simple rop $ ssh [email protected]
Congratulations on setting up SSH key authentication!
Here is your flag: who_needs_pwords_anyways
[email protected]:~$ cd /problems/a45d1519bd193bc3a273744c83fad1e2
[email protected]:/problems/a45d1519bd193bc3a273744c83fad1e2$ find | grep flag
[email protected]:/problems/a45d1519bd193bc3a273744c83fad1e2$ cat trunk/trunk9ef5/trunkded5/trunk3f6a/trunk6034/trunk41fe/trunkb847/trunk7d34/flag

Our flag: 1510e551a2821bd027da10a7653814c8!

results matching ""

    No results matching ""