current position:Home>Recently, the MySQL server on the cloud was hacked. It took 20 minutes to modify the password after being mercilessly encrypted. This time I'll be hacked with your last name

Recently, the MySQL server on the cloud was hacked. It took 20 minutes to modify the password after being mercilessly encrypted. This time I'll be hacked with your last name

2022-04-29 05:55:31Siege lion

Password encrypted website , There are many similar websites on the Internet , Encrypt your own password

link : Encrypted website .

First step : my MySql Yes, it is Docerk Installed , So you need to enter the container first

 Insert picture description here

docker exec -it mysql bash

The second step : Enter your own MySql in , Here is my previous remote login password

 Insert picture description here

mysql -uroot -proot

The third step : Enter your own mysql System database ,show tables It can be omitted .

 Insert picture description here

use mysql

Step four : Query the account of the current remote connection :host The column value is % Is a remote account .

 Insert picture description here

select user,host from user;

Step five : Change the password of the remote account

 Insert picture description here

set password for root@'%'=password('U2FsdGVkX18OsFy0HYeryNcJz+xGHNXDhNRc4lT5K/o=');

Step six : Refresh the permissions

 Insert picture description here

 flush privileges;

copyright notice
author[Siege lion],Please bring the original link to reprint, thank you.
https://en.qdmana.com/2022/116/202204261021540284.html

Random recommended