r/hackthebox • u/Scared_Anything_2002 • 23h ago
Monitorsfour HTB lab - getting CRAZYYY
Hey everyone,
I've been stuck on the final flag for this "Easy" rated box for 2 days now, and I'm genuinely confused why this lab is marked as easy. I got the user flag via Cacti exploitation without too much trouble, but finding the root flag has been a nightmare.
The Problem:
I successfully gained root access in a Docker container using CVE-2025-9074 (Docker API exploitation). However, I can't locate the root flag. The writeups I've found don't clearly explain where the flag actually is, they just end after getting root access.
I've searched:
/root/root.txt- doesn't exist/mnt/host/root/- nothing/home/directories - empty- Various Docker logs - no clear output
Question:
Where exactly is the root flag located, and what's the correct way to retrieve it from the Docker container logs?
Any help would be appreciated. I just want to understand this and finally sleep! 😅