diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2011-01-25 03:08:19 +0000 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2011-01-25 03:08:19 +0000 |
| commit | 3faafef84c2c122ae05bd71db1de9ad87c48bf23 (patch) | |
| tree | 6b5e3978cd2bf4839db4da46e4d4efc718090373 /docs | |
| parent | 2ba159bb201d3da7fe5fcd533e1a6531a3489062 (diff) | |
| download | passlib-3faafef84c2c122ae05bd71db1de9ad87c48bf23.tar.gz | |
moved DES routines to separate module
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/notes.txt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/notes.txt b/docs/notes.txt index 0a1fe7a..2c14955 100644 --- a/docs/notes.txt +++ b/docs/notes.txt @@ -190,6 +190,45 @@ nt-hash http://search.cpan.org/~zefram/Authen-Passphrase-0.007/lib/Authen/Passphrase.pm ====================================================================== +OS notes + + summary from http://www.dribin.org/dave/blog/archives/2006/04/28/os_x_passwords_2/ + +osx < 10.2 used /etc/passwd w/ DES-CRYPT + +osx 10.3 hash file (passwd "macintosh") + +D47F3AF827A48F7DFA4F2C1F12D68CD6 <-- nthash +08460EB13C5CA0C4CA9516712F7FED95 <-- lmhash +01424f955c11f92efef0b79d7fa3fb6be56a9f99 <-- sha1 + +osx 10.4 hash file (passwd "macintosh") +00000000000000000000000000000000000000000000000000000000000000000000000000000000 +00000000000000000000000000000000000000000000000000000000000000000000000000000000\ +00000000000000000000000000000000000000000000000000000000000000000000000000000000\ +000000000E6A48F765D0FFFFF6247FA80D748E615F91DD0C7431E4D9000000000000000000000000\ +00000000000000000000000000000000000000000000000000000000000000000000000000000000\ +00000000000000000000000000000000000000000000000000000000000000000000000000000000\ +00000000000000000000000000000000000000000000000000000000000000000000000000000000\ +00000000000000000000000000000000000000000000000000000000000000000000000000000000\ +00000000000000000000000000000000000000000000000000000000000000000000000000000000\ +00000000000000000000000000000000000000000000000000000000000000000000000000000000\ +00000000000000000000000000000000000000000000000000000000000000000000000000000000\ +00000000000000000000000000000000000000000000000000000000000000000000000000000000\ +00000000000000000000000000000000000000000000000000000000000000000000000000000000\ +00000000000000000000000000000000000000000000000000000000000000000000000000000000\ +00000000000000000000000000000000000000000000000000000000000000000000000000000000\ +00000000000000000000000000000000000000000000000000000000000000000000000000000000\ +0000000000000000000000000000000000000000 + +offset 0-64 - nt hash + lm hash OR all zeros +offset 64 - 40 chars - raw sha1 password OR all zeroes (if from upgraded from 10.3) +offset 169-216 ( 48 chars) - salted sha1 hash - unhex first 8 chars + password | sha1 -> hexdigest + + + +====================== + policy file format |
