⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
r
/
View File Name :
initialize-sha256.result
# We don't care about innodb warnings at this point CALL mtr.add_suppression("InnoDB:"); # Save the count of columns in mysql # shut server down # Server is down # # Try --initialize --default-authentication-plugin=sha256_password # # Run the server with --initialize --default-authentication-plugin=sha256_password extract the root password password found # Restart the server against DDIR # connect as root # must fail due to password expiration SELECT 1; ERROR HY000: You must reset your password using ALTER USER statement before executing this statement. # reset the password SET PASSWORD=''; # Check the count of columns in mysql # check the user account SELECT user, host, plugin, LENGTH(authentication_string) > 0 FROM mysql.user ORDER BY user; user host plugin LENGTH(authentication_string) > 0 mysql.session localhost mysql_native_password 1 mysql.sys localhost mysql_native_password 1 root localhost sha256_password 0 CREATE DATABASE test; # shut server down # Server is down # close the test connection # remove the password file # delete mysqld log # delete datadir # # Cleanup # # Restarting the server