Password through user.myd MySQL

Time:2020-3-15

 

Specific acquisition methods:

 

1) Open user.myd file through hex tool

Here: 0xed

 

2) Copy the MySQL password for analysis

*Ceaf6e9fa3a448a25ac9d00c8d7078385 ා 33 bits

The * sign on the front indicates 40 bit encryption
List all the ciphertext hash

6b54fbc ා seven digit

hash:*CEAF6E9FA3A448A25AC9D00C8D70783856B54FBC

 

3) Cmd5 attempts to crack

 

Another method:

Download user.myd user.frm user.myi to replace the local file

Then log in to MySQL through: – skip grant tables to view the hash ciphertext