My goal is to check if the password used by admin is the default password.
I work on a Linux-based router. I know the password is stored as a hashed value in /etc/passwd
.
In generic Linux machines, /etc/passwd
has a field to indicate which hashing algorithm is used (for e.g. $1
for MD5).
Is there any way to get the salt and hashing algorithm used from the /etc/passwd
file?
Maybe any tool or command? John cannot be used.