diff --git a/Unifi-password-reset.md b/Unifi-password-reset.md new file mode 100644 index 0000000..ebd8b47 --- /dev/null +++ b/Unifi-password-reset.md @@ -0,0 +1,26 @@ +1) download the MongoDB from [here](http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2.4.14-rc0.zip). + +2) Create a folder on the C drive ( passwordrecover ) + +3) Extract mongo.exe from the bin folder into the newly created C:\passwordrecover folder + +4) WINDOWS + R and type cmd ( ENTER ) + +5) Go to the folder you just created +```shell +cd C:/passwordrecover +``` + +6) Run the following commands, those commands will prompt you with all the admin account. + +```shell +mongo --port 27117 +use ace +db.admin.find() +``` + +7) Now run the next command and replace with the admin account. +```shell +db.admin.update( { "name" : "" }, { $set : { "x_shadow" : "$6$ybLXKYjTNj9vv$dgGRjoXYFkw33OFZtBsp1flbCpoFQR7ac8O0FrZixHG.sw2AQmA5PuUbQC/e5.Zu.f7pGuF7qBKAfT/JRZFk8/" } } ) +``` +8) You can now login with your admin account and password password \ No newline at end of file