Do you have the needed folders on your disk?

Solution

Это задание из серии на динамическую отладку — сразу запускаю под strace:

$ strace ./mc4.elf
...
chdir("./F")   = -1 ENOENT (No such file or directory)
write(1, "Whoops, can't enter the directory\n", 34) = 34
exit_group(1)  = ?

Программа пытается войти в директорию ./F, не находит её и выходит. Создаю:

$ mkdir ./F

Снова запускаю. Теперь нужна ./F/L. Добавляю флаги -e trace=write,chdir чтобы убрать шум и итерирую:

$ strace -e trace=write,chdir ./mc4.elf
chdir("./F")              = 0
chdir("./F/L")            = 0
chdir("./F/L/A")          = 0
chdir("./F/L/A/G")        = 0
chdir("./F/L/A/G/_")      = 0
chdir("./F/L/A/G/_/d")    = 0
chdir("./F/L/A/G/_/d/i")  = 0
chdir("./F/L/A/G/_/d/i/r") = 0
chdir("./F/L/A/G/_/d/i/r/s") = 0
chdir("./F/L/A/G/_/d/i/r/s/_") = 0
chdir("./F/L/A/G/_/d/i/r/s/_/D") = 0
chdir("./F/L/A/G/_/d/i/r/s/_/D/1") = 0
chdir("./F/L/A/G/_/d/i/r/s/_/D/1/R") = 0
chdir("./F/L/A/G/_/d/i/r/s/_/D/1/R/S") = 0
chdir("./F/L/A/G/_/d/i/r/s/_/D/1/R/S/_") = 0
chdir("./F/L/A/G/_/d/i/r/s/_/D/1/R/S/_/Y") = 0
chdir("./F/L/A/G/_/d/i/r/s/_/D/1/R/S/_/Y/E") = 0
chdir("./F/L/A/G/_/d/i/r/s/_/D/1/R/S/_/Y/E/S") = 0
chdir("./F/L/A/G/_/d/i/r/s/_/D/1/R/S/_/Y/E/S/S") = 0
write(1, "Cool! I've checked all the dirs! The path without / is the flag\n", 64) = 64

Читаю путь без слешей: FLAG_dirs_D1RS_YESS.

FLAG_dirs_D1RS_YESS