Clear it in 3 steps
-
Start the environment
-
Investigate the target
-
Submit the flag
A daemon process runs continuously in the background, with the flag set as one of its environment variables. Investigate the process using the /proc filesystem.
Use ps aux to find the process ID from the process list
/proc/<pid>/environ contains the raw environment variable data
Format it for readability with strings or tr: tr \0 \n < /proc/<pid>/environ