Back to lessonhackingpath / lab
Capture the FlagMedium

Not Your File

Lab for Linux: Searching, Permissions & Processes

Scenario

The flag sits in `/root/flag.txt`, which you can't read as `analyst`. But permissions aren't only about who owns a file, check what you're allowed to run as root.

Objective

Read a flag you don't own by using the rights you've been granted.

lab ~ not your filenothing real runs
booting lab sandbox…

This sandbox is fully emulated in your browser, nothing real runs and nothing leaves your machine. Type help to see the tools available.