前两天申请了个云服务器,然后去关掉防火墙方便调试,结果没两天MySQL就被黑了
一个库被删,多了一个库
内容如下:
All your data is a backed up. You must pay 0.1 BTC to 19sPh8TP3RKHkEG2x9y8y1yXHTChMgrSXU 48 hours for recover it. After 48 hours expiration we will sell all your data on dark markets and the database dump will be dropped from our server!
You can buy bitcoin here, https://localbitcoins.com or https://buy.moonpay.io/ After paying write to us in the mail with your DB IP: recmydb+2@onionmail.org and you will receive a link to download your database dump.
对此我想说:
1、年轻人劝你不要不讲码德!!!
2、也提醒各位,千万要记得开防火墙,MySQL千万要改密码:
3、记得把多余的库`z_readme_to_recover`和表`xrlbrp`及`user`的可疑账号`server`信息删除。如果觉得不放心可以重装MySQL,哈哈~
MySQL修改密码的三种方法
No.1
UPDATE mysql.user SET Password=PASSWORD('新密码') WHERE user='root';
FLUSH PRIVILEGES;
No.2
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('新密码');
FLUSH PRIVILEGES;
No.3
mysqladmin -uroot -p旧密码 password "新密码"