热门标签 | HotTags
当前位置:  开发笔记 > 数据库 > 正文

Mongodb数据库无故消失?

一开始还以为是mongodb版本不支持持久化,直到我打开数据库连接,真的给我整笑了,我居然被黑了 内容是:Allyourdataisabackedup.Youmustpay0.01

一开始还以为是mongodb版本不支持持久化,直到我打开数据库连接,真的给我整笑了,我居然被黑了

 

内容是:

All your data is a backed up. You must pay 0.01 BTC to bc1q2hw0np4a5jdwnsygs6839m7z30aku5l6deqtky 48 hours for recover it. After 48 hours expiration we will leaked and exposed all your data. In case of refusal to pay, we will contact the General Data Protection Regulation, GDPR and notify them that you store user data in an open form and is not safe. Under the rules of the law, you face a heavy fine or arrest and your base dump will be dropped from our server! You can buy bitcoin here, does not take much time to buy https://localbitcoins.com with this guide https://localbitcoins.com/guides/how-to-buy-bitcoins After paying write to me in the mail with your DB IP: georgefloyd666@cock.li
yourdad4@cock.li

翻译成人话就是:需要48小时内向指定账户转0.01BTH(约3320元人民币),不然就黑你服务器,举报你泄露数据,面临巨额罚款等....

这个钱我是不会付的,都是测试数据没有密码,在这里也呼吁大家要注意网络安全

解决方案:

 1.密码尽量设置复杂些,不然很容易被一些技术手段恶意破解

  2.找到 MongoDB 安装目录,打开 mongod.cfg文件,找到以下这句:

#security:

3.修改为:

security:
authorization: enabled

本文来自博客园,作者:沈威,转载请注明原文链接:https://www.cnblogs.com/shenweif/p/16649312.html



推荐阅读
author-avatar
寒月繁华叶落尽
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有