Digital Marketing

Regenerating Linux Hashed Password in Python

You can use python crypt implementation to regenerate Linux password

>>> import crypt
>>> password="goyun.info"
>>> hashing_scheme_with_salt="$6$goyuninfo$"
>>> crypt.crypt(password, hashing_scheme_with_salt)
'$6$goyuninfo$yLqTuT5hzDWwBOF1ryt82mnbhrTTeMSr25i/6zUDZJIV7o9bMONICzK1/GGtK8RW4QXHF89ZgxjhiDMKZ.fso0'

Stored password hash is generated using crypt3.


Comments

Popular posts from this blog

MySQL Sandbox with the Sakila sample database