AlpacaHack Logo

Tag: Linux

Sign InSign Up

Linux

Related:
#File Permission
#Shell

No description is available for this tag.

Updated Apr 24, 2026
Linux Challenges
๐Ÿˆ
ark

ark

Web
323 solves
cat3
minaminao

minaminao

Misc
226 solves
strange filename
tan90909090

tan90909090

Misc
157 solves
permission denied 3
minaminao

minaminao

Misc
101 solves
permission denied
minaminao

minaminao

Misc
76 solves
permission denied 2
minaminao

minaminao

Misc
75 solves
Haec Horrenda

rsk0315

Misc
30 solves

permission denied 3

Daily AlpacaHackTopic: File PermissionReleased: May 7, 2026

101 solves
Misc

by

minaminao

minaminao

cat: flag.txt: No such file or directory

Beginner Hint 1 (AI-translated)
  • When you connect with nc, you'll see that a shell is launched.
  • Reading chal.sh, you can see that flag.txt is created with permission 400 before the shell starts.
  • Then all files in the current directory are deleted by rm *.
  • After that, a shell is launched via sh.
  • Of course, running cat flag.txt results in No such file or directory, so you can't read the flag directly.
  • So, how can you read the flag?
Beginner Hint 2 (AI-translated)
  • flag.txt is completely gone, but it wasn't the only file that contained the flag.
  • Think about chal.sh, which also contained the flag.
permission-denied-3.tar.gz
descriptionsolveswriteups