Thanks to the TechVideos channel on YouTube
- Install RoboMongo (now called Robo 3T) from here.
- Start the UniFi controller (To be able to access the database with the password, the Unifi controller must be running. )
- Start Robomongo
- Create a new connection in Robomongo, leave all settings as it is except the port which needs to be changed to “27117″. (Name can be set to UniFi)
- Click on save so that the settings are saved.
- Select the new connection in the list and click on “Connect” Now you are connected to the UniFi database.
- In the left panel select /expand ‘ace’. Then right click on ‘admin’ and select view document.
- Go here: https://quickhash.com/ (see * note below)
- Select “SHA-512 / crypt(3) / $6$” as the Algorithm
- Put the desired password as your Input Data (see below for “password”)
- Use “9Ter1EZ9$lSt6″ as the Salt.
- Hit “Generate (Over Secure Connection)
- Back in RoboMongo, right-click x_shadow and click Edit Document
- Replace the “x_shadow” value with the value created at quickhash
- Click Save and you’re done. You can use your new password now
* If you can’t get to the quickhash site, this is what you can use
for the password “password”:
$6$9Ter1EZ9$lSt6/tkoPguHqsDK0mXmUsZ1WE2qCM4m9AQ.x9/eVNJxws.hAxt2Pe8oA9TFB7LPBgzaHBcAfKFoLpRQlpBiX1