Clear it in 3 steps
-
Start the environment
-
Investigate the target
-
Submit the flag
One of the environment variables set when the shell starts holds the flag. Check it with the env command or echo $variablename.
The env command lists all current environment variables
echo $variablename shows the value of a specific variable
Look for a variable named SECRET_FLAG