Starting Point - Mongod (Tier 0) - connect to MongoDB

I am working in the “Mongod” machine task.
I am using HTB PWNBOX, i think i need to use ‘cmd’ to perform connecting to the MongoDB server.
However, I cannot find cmd in the PWNBOX. Then which terminal i am supposed to use for connecting to the MongoDB? ./mongo mongodb://{target_IP}:27017

It seems like you are using HTB PWNBOX for the “Mongod” machine task and are having trouble finding the ‘cmd’ terminal to connect to the MongoDB server. In HTB PWNBOX, you can use the standard terminal or command line interface to run commands.

To connect to the MongoDB server, you can open a terminal and use the following command:

./mongo mongodb://{target_IP}:27017

Replace {target_IP} with the actual IP address of the MongoDB server you are trying to connect to.

If you can’t find ‘cmd’ specifically, you can use any available terminal or command prompt on the PWNBOX to execute the MongoDB connection command. Simply open a terminal, paste the command, and hit enter to connect to the MongoDB server.

If you face any issues or need further assistance, feel free to provide more details, and I’ll be happy to help!