79750821

Date: 2025-08-29 22:36:37
Score: 2
Natty:
Report link

This instructions are still working in 2025, but command mongo is now '''mongosh''' which if not existent can be installed with '''apt-get install mongodb-mongosh'''

you can then use the instructions from here or the two one liners from Reilly Chase via hostfi 3561102

mongo --port 27117 ace --eval "db.admin.find().forEach(printjson);"

find the line of your admin account name

name: "<youradminname}>"

then use the following line to set your

mongo --port 27117 ace --eval 'db.admin.update( { "name" : "<youradminname>" }, { $set : { "x_shadow" : "$6$ybLXKYjTNj9vv$dgGRjoXYFkw33OFZtBsp1flbCpoFQR7ac8O0FrZixHG.sw2AQmA5PuUbQC/e5.Zu.f7pGuF7qBKAfT/JRZFk8/" } } )'

Thank you very much to Reilly C and @Dan Awesome

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • User mentioned (1): @Dan
  • Low reputation (1):
Posted by: Littlejeem