Oh Mongo, where art thou?
Hello dear player! Won’t you please come help me get my wish! I’m searching teacher’s database, but all I find are fish! Do all his boating trips effect some database dilution? It should not be this hard for me to find the quiz solution! Find the solution hidden in the MongoDB on this system.
Login⌗
Found Mongo’s hosted port with netstat -lntp
Then connecto to the exposed port with:
mongo --port 12121
Investigation⌗
> show dbs
admin 0.000GB
elfu 0.000GB
local 0.000GB
test 0.000GB
Hmmmm, elves seem topical.
> use elfu
switched to db elfu
> show collections
bait
chum
line
metadata
solution
system.js
tackle
tincan
Well… solution?
> db.solution.find()
{ "_id" : "You did good! Just run the command between the stars: ** db.loadServerScripts();displaySolution(); **" }
> db.loadServerScripts();displaySolution();
.
__/ __
/
/.'*'.
.o.'.
.'.'o'.
*'.*.'.*.
.'.*.'.'.o.
.*.'.o.'.*.'.
[_____]
___/
Congratulations!!
Ta-da! With some nice ascii art!
Read other posts