2 ms·
A friend of mine was doing a CTF that puts you into a chroot jail. He could see the flag.txt, but trying to `cat flag.txt` was saying "cat: flag.txt: No such f
by Sohcahtoa82 5y ago
A friend of mine was doing a CTF that puts you into a chroot jail. He could see the flag.txt, but trying to `cat flag.txt` was saying "cat: flag.txt: No such file or directory."
He was absolutely stumped. I just said, "what if 'cat: flag.txt [...]' is the flag?"
Sure enough. That was actually the flag.
- krallja 5y agohexdump -C flag.txt
- Sohcahtoa82 5y agoThe chroot jail did not have access to hexdump. Or vi. Or basically anything other than ls and cat.