{"id":208,"date":"2011-01-11T08:50:52","date_gmt":"2011-01-11T07:50:52","guid":{"rendered":"https:\/\/thebc.ch\/blog\/?p=208"},"modified":"2013-02-01T13:18:26","modified_gmt":"2013-02-01T12:18:26","slug":"passwords-and-hashes","status":"publish","type":"post","link":"https:\/\/thebc.ch\/blog\/?p=208","title":{"rendered":"Passwords and Hashes"},"content":{"rendered":"<div id=\"toctitle\">\n<span id=\"Contents\"><h2>Contents<\/h2><\/span>\n<\/div>\n<ul>\n<li>1 Standart UNIX password Algorithm<\/li>\n<li>2 UNIX password with MD5<\/li>\n<li>3 Default Password List<\/li>\n<\/ul>\n<p><a id=\"Standart_UNIX_password_Algorithm\" name=\"Standart_UNIX_password_Algorithm\"><\/a><\/p>\n<span id=\"Standart_UNIX_password_Algorithm\"><h2>Standart UNIX password Algorithm<\/h2><\/span>\n<pre># openssl OpenSSL&gt; passwd -salt AZ 1234 asdf\r\nAZ5UX\/WUk0r0o\r\nAZoDBbyg9a6sg<\/pre>\n<p>Comment: Same password with the same salt = same hash<\/p>\n<p><a id=\"UNIX_password_with_MD5\" name=\"UNIX_password_with_MD5\"><\/a><\/p>\n<span id=\"UNIX_password_with_MD5\"><h2>UNIX password with MD5<\/h2><\/span>\n<pre># OpenSSL&gt; passwd -1 1234 asdf\r\n$1$hfnhcmCD$81yr5nY\/MxAY9WY0V1TP\/\/\r\n$1$.8TB4WEi$1OGhDWSIEYjYdf1HHqJ3j.<\/pre>\n<pre>OpenSSL&gt; passwd -1 -salt AZ 1234 asdf\r\n$1$AZ$cIaO1c\/1PebzIkdZrefye\/\r\n$1$AZ$GFYzMqSLAxufkWel3UPXf1<\/pre>\n<pre>OpenSSL&gt; passwd -1 -salt 1234567890 1234 asdf\r\n$1$12345678$g4kuC1.5wVcZ0Y5XnhARm1\r\n$1$12345678$stQu\/ie.WSkQjPyo.tB3l1<\/pre>\n<p>Comment: It seems that every MD5-password hash starts with $1<\/p>\n<p><a id=\"Default_Password_List\" name=\"Default_Password_List\"><\/a><\/p>\n<span id=\"Default_Password_List\"><h2>Default Password List<\/h2><\/span>\n<ul>\n<li>Quelle der Password Liste<\/li>\n<\/ul>\n<p><a title=\"http:\/\/www.phenoelit.de\/dpl\/dpl.html\" href=\"http:\/\/www.phenoelit.de\/dpl\/dpl.html\" rel=\"nofollow\">http:\/\/www.phenoelit-us.org\/dpl\/dpl.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Contents 1 Standart UNIX password Algorithm 2 UNIX password with MD5 3 Default Password List Standart UNIX password Algorithm # openssl OpenSSL&gt; passwd -salt AZ 1234 asdf AZ5UX\/WUk0r0o AZoDBbyg9a6sg Comment: Same password with the same salt = same hash UNIX &hellip; <a href=\"https:\/\/thebc.ch\/blog\/?p=208\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-208","post","type-post","status-publish","format-standard","hentry","category-security"],"_links":{"self":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=208"}],"version-history":[{"count":7,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/208\/revisions"}],"predecessor-version":[{"id":2734,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/208\/revisions\/2734"}],"wp:attachment":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}