 This challenge from Ryan Nicholson CTF is called escape to jail for 30 points in the intermediate category. It says enter the flag within the root flag dot text file. So it's in the root home directory. We can go ahead into their web shell, log in with the credentials that they gave us CTF to and challenge to. But unfortunately, we are not the root user. We're only simply the competitor user. So we can't move into that directory, or take a look at what that flag particularly is. So we need to escape the jail and determine what this may be. And actually a privilege escalation situation. So let's do some enumeration and actually see what we can run with the pseudo command, because that will allow us to borrow the root users like power and privileges. So if you run pseudo attack L, you can see entries in the et cetera pseudoers file and says what we can do here. So user competitor in our case, that's us, may run the following commands on this host without a password. And that's a user been VIM. So that's pretty awesome. We can pseudo user been VIM, or just straight up VIM if we wanted to. And now we are running the VI or VI improved command line text editor as root. And we can do interesting things with this. Like if we wanted to, we can go ahead and edit the root or flag dot text file. And then we could actually view the flag just like that. Or if we were to use colon and type in shell, that would give us simply a bash shell. And now you can see that, okay, we are the root user. That's awesome to get mode code execution and just do the privilege escalation to get to be the root user. So if we wanted to, even from the show, we could cat out the flag that we're looking for. And we'd submit that as our solution and get the points through that. We can take note of this in our own specific notes and we can mark that challenge as complete. But that enumeration or basic reconnaissance of a box, see what we can use for privilege escalation, check the pseudo list and see what commands you can run easily. That's good notes and good tips to learn from hack the box if you don't play that war game. But that's awesome for learning. Hey, I need to give a special shout out and some love to people that support me on Patreon. This list is getting longer every day and it's just surreal to me. I'm so thankful for you guys. One dollar a month on Patreon will give you a special shout out just like this at the end of every video. Five dollars a month on Patreon will give you early access to everything that release on YouTube. If you did like this video, please do like, comment, and subscribe. Hang out with us on Discord, link in the description, and check me out on Patreon.