get MD5-Hash from /etc/shadow file

From: markus sesser (security@sesser.eu)
Date: Thu Apr 10 2008 - 17:53:08 EDT


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
------------------------------------------------------------------------

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:58:30 EDT