https://s3-us-west-2.amazonaws.com/secure.notion-static.com/9b7d4cd2-a217-4b59-8d34-d73eb25d213c/Untitled.png

So this basically tells us hey its getting a enviorment variable and checking if admin is one and if it is it gives us a shell as root so all we have to do is add one enviornment variable as admin and gg we will have our shell.