Penetration Testing mailing list archives

get MD5-Hash from /etc/shadow file


From: markus sesser <security () sesser eu>
Date: Thu, 10 Apr 2008 23:53:08 +0200

Hi,

is it possible to get the md5 hash of shadow password?

root:$1$GXJzVR5J$vS4wC7AW6hV8TvLu6Dtxt.:13979:0:::::

i'm looking not for a tool like john, crack, ...
i want to have a step by step instruction to get the md5 hash.

what i know:
the relevant sting: $1$GXJzVR5J$vS4wC7AW6hV8TvLu6Dtxt.
salt with optinal '$' at the end: GXJzVR5J$

how to get the password/md5 (which is test) from this string: vS4wC7AW6hV8TvLu6Dtxt.

and what about the crypt() function?

rgds markus

------------------------------------------------------------------------
This list is sponsored by: Cenzic

Need to secure your web apps NOW?
Cenzic finds more, "real" vulnerabilities fast.
Click to try it, buy it or download a solution FREE today!

http://www.cenzic.com/downloads
------------------------------------------------------------------------


Current thread: