mantis


Checking for sudo privileges of the mantis user after making the lateral movement

mantis@mantis:/dev/shm$ sudo -l
[sudo] password for mantis: BugTracker007
 
Matching Defaults entries for mantis on mantis:
    env_reset, mail_badpass,
    secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin
 
User mantis may run the following commands on mantis:
    (ALL : ALL) ALL

The mantis user is essentially the root account Moving on to the Privilege Escalation phase