![]() Search for the word “ENCRYPT_METHOD” to find the hashing algorithm defined: ~]# grep -rn ENCRYPT_METHOD /etc/fsĪs you see, my Linux box uses SHA-512 hash type. The hashing algorithm is defined in the file: /etc/fs. The characters after $6$, up to next $ indicates the salt.įollow this article to know more about What is password hashing, How Hashes are Cracked, SALTS and its use cases etc., How to find the Hashing Algorithm used on Linux Looking at the above hash value, following the username “ ramya“, The $6$ value indicates the type 6 password hash (SHA512). ![]() On the terminal window, execute the below command to view the generated hash for the password “qwerty” for the user ramya. ![]() Passwd: all authentication tokens updated successfully. You can set the password as : qwerty for this example purpose. You can also follow How to Create a Linux User Account manually. ![]() Now, Lets crack the passwords on your Linux machines, A real world example! Create a User on Linuxįirstly on a terminal window, create a user and set a password for it as shown below. Also we saw the use of Hashcat with pre-bundled examples. We saw from our previous article How to install Hashcat.
0 Comments
Leave a Reply. |