Rating:

-After connecting and running cat flag.txt, the shell errors out with `/bin/rbash: line 4: cat: command not found` . Investigating shows that this is something called Restricted Shell, which doesn’t allow you to do a whole bunch of things.

-Typing help shows the builtin commands, which is helpful to scan when you’re out of ideas. The echo command caught my eye.

-Sure enough, more searching led me to [this StackOverflow post](https://stackoverflow.com/questions/22377792/how-to-use-echo-command-to-print-out-content-of-a-text-file) detailing how to read a file: `echo "$(

Original writeup (https://lawfulwaffle.com/2020/06/13/nahamcon-ctf-writeups/#alkatraz).