View Single Post
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#696
Originally Posted by RobbieThe1st View Post
Edit: Oh, btw, does anyone know of a good way to take a plaintext password string and validate it against the (DES encrypted? ) passwd file? I can do everything but the encrypting of the password to compare... anyone know a tool that'll do that?
You can use openssl to do this. You'll need to get the salt for the password from the passwd file (the first two characters of the encrypted password), then do:
Code:
openssl passwd -crypt -salt xx password
 

The Following User Says Thank You to Rob1n For This Useful Post: