{"id":8474,"date":"2019-01-23T23:27:44","date_gmt":"2019-01-24T06:27:44","guid":{"rendered":"https:\/\/www.apolonio.com\/blog\/?p=8474"},"modified":"2019-01-24T00:33:21","modified_gmt":"2019-01-24T07:33:21","slug":"cool-password-check-tool","status":"publish","type":"post","link":"https:\/\/www.apolonio.com\/blog\/?p=8474","title":{"rendered":"Cool Password Check Tool"},"content":{"rendered":"\n<p>I wanted to check my passwords to see if they were compromised but really didn&#8217;t feel safe having a third party check them.<\/p>\n\n\n\n<p><a href=\"https:\/\/haveibeenpwned.com\/Passwords\">https:\/\/haveibeenpwned.com\/Passwords<\/a><\/p>\n\n\n\n<p>Luckily they provide a large 10Gb file with hashed SHA1 passwords.<\/p>\n\n\n\n<p>I can simply run<\/p>\n\n\n\n<p>echo -n &#8220;foobar&#8221; | grep pwned-passwords-sha1-ordered-by-hash-v4.txt<\/p>\n\n\n\n<p>But it takes a long time, luckily someone came up with a trivial binary search<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/doug16rogers\/find-pwned-password\">https:\/\/github.com\/doug16rogers\/find-pwned-password<\/a><\/p>\n\n\n\n<p>I compiled it on one box and copied the database and binaries to a secure box.<\/p>\n\n\n\n<p>This box has firewall, selinux and is non routable on the internet.<\/p>\n\n\n\n<p>Much better, I am surprised at what passwords I used to use is out there.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wanted to check my passwords to see if they were compromised but really didn&#8217;t feel safe having a third party check them. https:\/\/haveibeenpwned.com\/Passwords Luckily they provide a large 10Gb file with hashed SHA1 passwords. I can simply run echo &hellip; <a href=\"https:\/\/www.apolonio.com\/blog\/?p=8474\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,11,3],"tags":[],"class_list":["post-8474","post","type-post","status-publish","format-standard","hentry","category-new-toys","category-technical","category-training"],"_links":{"self":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8474"}],"version-history":[{"count":1,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8474\/revisions"}],"predecessor-version":[{"id":8475,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8474\/revisions\/8475"}],"wp:attachment":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}