{"id":359,"date":"2010-04-30T20:54:34","date_gmt":"2010-05-01T01:54:34","guid":{"rendered":"http:\/\/zitstif.no-ip.org\/?p=359"},"modified":"2010-04-30T20:54:34","modified_gmt":"2010-05-01T01:54:34","slug":"creating-an-md5sum-hash-dictionary-file","status":"publish","type":"post","link":"http:\/\/zitstif.no-ip.org\/?p=359","title":{"rendered":"Creating an md5sum hash dictionary file"},"content":{"rendered":"<p>If you&#8217;re ever put in a situation where you need to assess the strength of passwords that may be stored in an md5sum, there are a few options you have:<\/p>\n<p>There are numerous websites for cracking md5sums such as:<\/p>\n<p><a title=\"http:\/\/passcracking.com\" href=\"http:\/\/passcracking.com\" target=\"_blank\">http:\/\/passcracking.com<\/a><\/p>\n<p>The simple way I assess how these websites is by searching for a very simple md5sum that can be generated via:<\/p>\n<pre lang=\"bash\">echo password | md5sum -;<\/pre>\n<p>Also, you could just merely, google the md5sum and see if you can find the unciphered text. That being said, the point of this post though, is to generate an md5sum hash dictionary. Let&#8217;s look at a simple word list.<\/p>\n<pre lang=\"bash\">\r\ncat wordlist.txt | head \r\naaaaa\r\naaaab\r\naaaac\r\naaaad\r\naaaae\r\naaaaf\r\naaaag\r\naaaah\r\naaaai\r\naaaaj\r\n<\/pre>\n<p>We will then, use a for loop and append the output of each iteration, to a file simply by doing:<\/p>\n<pre lang=\"bash\">\r\nfor i in `cat wordlist.txt`; do echo ${i} >> hashdict.txt; echo ${i} | md5sum - >> hashdict.txt; done\r\n<\/pre>\n<p>Now in our hashdict.txt file, we have our unciphered text and then on the next line, it&#8217;s md5sum equivalent. Ergo, if we want to look up a hash some and find the unciphered text, we could do as follows:<\/p>\n<pre lang=\"bash\">\r\negrep --before-context=1 '4ab36a961cd2198e4a49915f820db5c0' hashdict.txt\r\naaaae\r\n<\/pre>\n<p>We have now found out that &#8216;4ab36a961cd2198e4a49915f820db5c0&#8217; is equivalent to &#8216;aaaae&#8217;. <\/p>\n<p>Similarly, if we wanted to find md5sum equivalent of &#8216;aaaae&#8217; , we could use the list, or just simply do:<\/p>\n<pre lang=\"bash\">echo aaaae | md5sum -<\/pre>\n<p>I&#8217;ll have more to come. In the next few days, I&#8217;m going to work on my &#8216;ettersploit&#8217;, idea.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re ever put in a situation where you need to assess the strength of passwords that may be stored in an md5sum, there are a few options you have: There are numerous websites for cracking md5sums such as: http:\/\/passcracking.com The simple way I assess how these websites is by searching for a very simple &hellip; <a href=\"http:\/\/zitstif.no-ip.org\/?p=359\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Creating an md5sum hash dictionary file<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,3],"tags":[180,179,177,176,178,181],"class_list":["post-359","post","type-post","status-publish","format-standard","hentry","category-code","category-posts","tag-dictionary-file","tag-hash-dictionary-file","tag-md5","tag-md5sum","tag-md5sum-hash","tag-word-list"],"_links":{"self":[{"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/posts\/359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=359"}],"version-history":[{"count":3,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/posts\/359\/revisions"}],"predecessor-version":[{"id":362,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/posts\/359\/revisions\/362"}],"wp:attachment":[{"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=359"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}