[HTB] Mongod

Chris Kim·2024년 11월 15일

Hack The box

목록 보기
7/10
post-thumbnail

1. Task

Task1
Q: How many TCP ports are open on the machine?
A: 2

Task2
Q: Which service is running on port 27017 of the remote host?
A: MongoDB 3.6.8

Task3
Q:What type of database is MongoDB? (Choose: SQL or NoSQL)
A: NoSQL

Task4
Q: What is the command name for the Mongo shell that is installed with the mongodb-clients package?
A: mongosh

Task5
Q: What is the command used for listing all the databases present on the MongoDB server? (No need to include a trailing ;)
A:

Task6
Q: What is the command used for listing out the collections in a database? (No need to include a trailing ;)
A: show collecitons

Task7
Q: What is the command used for dumping the content of all the documents within the collection named flag in a format that is easy to read?
A: db.flag.find().pretty()

2. MongoDB

Document

profile
회계+IT=???

0개의 댓글