PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : linux auth hash algo ?



novaca!ne
24.02.2010, 01:26
sup,
Ich würde gern wissen welche algo linux pc's nutzen bei der authentifizierung.

Auszug aus meiner etc/shadow:

root:$6$hCAejAJ5$pAsrffCW8NumD/WaG8eAvLaSkkvMbcTOYG2phCiE7iIHrLdNnwVVh3IIo42QgF2R R9IPujExgEJlIpGq0Ksq1/:14660:0:99999:7:::paswort ist

arschWas genau ist da der hash, welche algo wird genutzt, welche bruteforcer gibt es um den hash "auszuhebeln"?
Bedanke mich im vorraus,

Mfg,
n0va

mbeezy
24.02.2010, 01:40
The $X$ string tells crypt what hash to use - $1$ is MD5. $5$ and $6$ are SHA, presumably SHA-1 and SHA2 respectively, although I can't find any documentation which is particularly helpful (googleing for strings like $6$ doesn't get much joy).
Quelle: http://www.linuxquestions.org/questions/linux-security-4/etcshadow-hash-changes-693454/

Garfield
24.02.2010, 02:13
john the ripper sollte mit der /etc/shadow zurecht kommen.
Zum Format: http://linux.about.com/library/cmd/blcmdl5_shadow.htm
Allerdings weiß ich nicht, in wie fern dieses Format auf verschiedene Unices zutrifft. Das mit $x$ ist wohl eine GNU Erweiterung, die in der man-page allerdings auch nicht sonderlich dokumentiert ist.