要恢复丢失的数据库并避免泄漏:请将0.035比特币(BTC)发送到我们的比特币地址1sga4vu8h7hymmfua6iqu7p8hez8bsegn,并通过电子邮件与您的服务器IP或域名和付款证明联系。您的数据库已下载并备份到我们的服务器上。我们现在拥有的备份:bbs、blog、chat、laravelshop。任何没有您的服务器IP地址或域名和付款证明一起的电子邮件都将被忽略。如果我们在未来10天内没有收到您的付款,我们将公开您的数据库或使用它们。| 1sga4vu8h7hymmfua6iqu7p8hez8bsegn dbrecovery@annonmail.to
mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | PLEASE_READ_ME_VVV | | mysql | | performance_schema | | sys | +--------------------+ 5 rows in set (0.00 sec)
mysql> use PLEASE_READ_ME_VVV; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A
Database changed mysql> show tables; +------------------------------+ | Tables_in_PLEASE_READ_ME_VVV | +------------------------------+ | WARNING | +------------------------------+ 1 row in set (0.00 sec)
mysql> select * from WARNING; +----+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+-------------------------+ | id | warning | Bitcoin_Address | Email | +----+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+-------------------------+ | 1 | To recover your lost Database and avoid leaking it: Send us 0.035 Bitcoin (BTC) to our Bitcoin address 1sga4Vu8H7HymmfUa6iqu7p8heZ8BSegN and contact us by Email with your Server IP or Domain name and a Proof of Payment. Your Database is downloaded and backed up on our servers. Backups that we have right now: bbs, blog, chat, laravelshop. Any email without your server IP Address or Domain Name and a Proof of Payment together will be ignored. If we dont receive your payment in the next 10 Days, we will make your database public or use them otherwise. | 1sga4Vu8H7HymmfUa6iqu7p8heZ8BSegN | dbrecovery@annonmail.to | +----+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+-------------------------+ 1 row in set (0.00 sec)
mysql>
为了防止这样的操作,我们进行如下配置 1.登录数据库 $ mysql -u 你的账号 -p $ 你的密码
有一个特殊的数据库,数据库名为mysql,表名为user,它存储了服务器数据库有用户信息和访问权限
use mysql;
mysql> select user,host from user; +---------------+-----------+ | user | host | +---------------+-----------+ | mysqld | % | | root | % | | mysql.session | localhost | | mysql.sys | localhost | | root | localhost | +---------------+-----------+ 5 rows in set (0.00 sec)
mysql> delete from user where user != 'root'; Query OK, 3 rows affected (0.00 sec)
mysql> flush privileges; Query OK, 0 rows affected (0.00 sec)
mysql> select user,host from user; +------+-----------+ | user | host | +------+-----------+ | root | % | | root | localhost | +------+-----------+ 2 rows in set (0.00 sec)
mysql> delete from user where host = '%'; Query OK, 1 row affected (0.00 sec)
mysql> select user,host from user; +------+-----------+
user | host |
---|---|
+------+-----------+
root | localhost |
---|---|
+------+-----------+ 1 row in set (0.00 sec)
flush privileges;
修改数据库端口 ,设置复杂的数据库密码