After running nmap, found a strange pot: 3632 (distcc). This pot allows commands sent remotely.

Searched the hackbook, found little. Checked github and found a python exploit, ran this and got shell.

Then I ran linpeas and found that nmap is highlighted red and yellow, went to gtfo bins and did the interactive shell for nmap and got root.