前言:过了一个国庆假期,自己在mongodb数据库的数据全没了
自己装yapi的时候默认的mongodb数据库,用idea链接上,并出现以下信息
我们来看看这里面有啥东西
这个content里面竟然有这么一段话
All your data is a backed up. You must pay 0.04 BTC to
1FLjhopErMQrNMSgDQQe7kcZUYcyGcxX8g 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: get_base@openmail.cc
还好都是一些测试数据,立马把自己的mongodb的conf文件改为127.0.0.1只允许本机访问
然后修改mongodb权限,参考:https://blog.csdn.net/u013513053/article/details/105785980/