After logging in, I see what sudo permissions we have as the current user:

It seems we have to use vi to read something in the root directory. I went to GTFOBins for vi and used the following:

This gave me a root shell on the machine. I then saw the files available in the root directory and then got the flag:

Last updated