james
Checking for sudo privileges of the james
user after making the lateral movement
james@mentor:~$ sudo -l
[sudo] password for james:
matching defaults entries for james on mentor:
env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin, use_pty
user james may run the following commands on mentor:
(ALL) /bin/sh
The james
user is able to execute /bin/sh
as ANYONE
Moving on to the Privilege Escalation phase