misceasy

Isolated

hackerlab

Task: TCP service presents a restricted bash shell — commands prefixed with /cmd, 20-char limit, cat/head/tail removed, output containing 'error' blocked. Solution: use rev command to read files (bypasses both length and output filter), enumerate filesystem, find /fl4g.txt, reverse the reversed output to get the flag.

$ ls tags/ techniques/
output_filter_bypassrestricted_shell_escapealternative_file_readingshort_command_crafting

🔒

Permission denied (requires tier.pro)

Sign in to access full writeups

Create a free account with GitHub to get started.

$ssh [email protected]