how to dump the mongodb collection which has sensitive information using command
i am using mongo db and it has 10 collections and from them one of the collection (system.users) has sensitive information like this db.system.users.find() { "_id" : ObjectId("6572c3c6a9f24c464097225a"), "user" : "admin", "pwd" : "password", "roles" : [ "readWrite", "databaseName" ],…