Info

  • Name – Lazy
  • IP Address – 172.31.1.1

Enumeration

Open Ports

PortProtocolServiceVersion
22tcpsshOpenSSH 5.9p1 Debian 5ubuntu1.10
68udpfiltereddhcpc
80tcphttpnginx 1.1.19
137udpfilterednetbios-ns
138udpfilterednetbios-dgm
139tcpnetbios-ssnSamba smbd 3.X – 4.X
445tcpnetbios-ssnSamba smbd 3.6.25
49152udpfilteredunknown

Exploitation

Exploit Details (Metasploit)

Show metasploit options

show options

Run exploit Commands

run
whoami
cat /home/adam/access.txt
cat /root/system.txt

Loot

access.txt - 899661bdf5057dabf7c652dd75f00fb8
system.txt - 17307fd709f556f59e2c698b7495476c