Mysql Hacktricks Verified =link= 〈2024〉

Use hashcat -m 300 for mysql_native_password (4 bytes salt + 20 bytes SHA1) or -m 7400 for caching_sha2_password.

Check OS and MySQL arch: