I'm doing some hands on pen testing and following some guides to get an understanding of the tools of the trade. I'm following along with the guide here and I understand everything except for the last page.
I need assistance understanding
sudo -l below. I know that it details what the current user can do. However, what does the output below mean?
And how about the command below (excluding touch)? It kind of confuses me because after running that command (exploit?), I was able to get root.
From my understanding, the line is saying to run the command as root or elevate to root, zip the file called exploit, and place it in tmp/exploit. I believe I'm wrong but that's where my understanding of that line stops.
I'm confused as to how I got root with that command and what that line is doing.