Re: passwd file
From: Matt (nospam_ng_at_fileholder.net)
Date: 12/14/04
- Next message: Dr Balwinder Singh Dheeman: "Re: Knoppix is real slow!!"
- Previous message: Larry Lindstrom: "Re: Newbie two homed question."
- In reply to: Juha Laiho: "Re: passwd file"
- Next in thread: Moe Trin: "Re: passwd file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 14 Dec 2004 00:10:45 -0600
>>I have a password file that looks like so.
>>
>>matthew:38GB3fsjfwH7Y
>>etc.
>>
>>Can anyone tell me how this hashed password is generated? I know its a
>>one
>>way hash and I cannot reverse it. I just want to know how the output was
>>created.
>
> The two first characters are 'salt' used for the hashing, the rest is the
> hash result of 'crypt()'.
>
> An example to hash the word 'password' with salt 'xx' in perl:
> perl -e 'print crypt("password","xx"),"\n";'
This is exactly the info I needed. I was able to export my database to a
report then with a script parse it and create a passwd file. Saved me a lot
of typing.
Thanks.
Matthew
> The salt used should be random (esp. DO NOT pick initial two characters of
> the password), and should consist of two characters from set
> '.', '/', 0..9, 'A'..'Z', 'a'..'z' .
> --
> Wolf a.k.a. Juha Laiho Espoo, Finland
> (GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
> PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
> "...cancel my subscription to the resurrection!" (Jim Morrison)
- Next message: Dr Balwinder Singh Dheeman: "Re: Knoppix is real slow!!"
- Previous message: Larry Lindstrom: "Re: Newbie two homed question."
- In reply to: Juha Laiho: "Re: passwd file"
- Next in thread: Moe Trin: "Re: passwd file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|