Hidden in plain sight

01 Easy 10 points Filesystem

Objective

Find the file in your home directory that holds the flag, and read it.

The briefing

Two files were written into your home directory before you started.

Both have names that begin with a dot. A plain listing leaves those out, which is why a directory can look emptier than it is.

One of the two holds your flag. The other is noise.

Your home directory is /tmp/gen4.

Set it up

Run this in Termux. It teaches the concept above a second time, then writes the challenge files into your home directory.

ctf start 01

The tool tells you how many files it wrote, never their names.

Then find the flag and hand it in with ctf check 01 LEARMUX{...}.

Hints

Two of them, revealed one at a time. The tool works the same way and remembers how many you have seen, so nothing is spoiled by accident.

The flag is not on this page It cannot be. Every flag is derived from a random value created on your device when you install the tool, so the answer here would be wrong for you. The tool is the only thing that can tell you whether you got it right.

All challenges Source on GitHub