Hi everybody,
recently, I had to put a password in the grub. Now, I'd like to crack it. When I do:
Code:
grub> md5crypt 

Password: ***
Encrypted: $1$ug/131$QR45VubKz2oJwTxHJ7FAu/

grub> md5crypt 

Password: ***
Encrypted: $1$mh/131$aPXxgSaWwiypIb2x/Utsy.

grub> md5crypt 

Password: ***
Encrypted: $1$Xi/131$7s5cGqHzRm/sjPgRuea02/

grub> md5crypt 

Password: ***
Encrypted: $1$Dj/131$nVDUdgexdFM56.0I4o97a0
I tried to crypt the word "yep" 3 times, but each result is different ! Someone told me that this type of pass is a "salted password", where "mh/131" (resp: Xi/131 & Dj/131) is the "salt".

Normally, the result is:

Code:
# echo yep | md5sum 
5fe28693e458d7cc79e17bf4cb95203c
So, my question is how this salt acts, and how can I crack this salted md5 ? And finally, why don't we use this type of encryption for databases ? (phpbb user's pass, etc)

Thank you

Bulki