{"id":9041,"date":"2021-10-18T01:55:49","date_gmt":"2021-10-18T01:55:49","guid":{"rendered":"https:\/\/assignmenttutors.net\/blog\/dictionary-attacks-computer-science-homework-help\/"},"modified":"2021-10-18T01:55:49","modified_gmt":"2021-10-18T01:55:49","slug":"dictionary-attacks-computer-science-homework-help","status":"publish","type":"post","link":"https:\/\/assignmenttutors.net\/blog\/dictionary-attacks-computer-science-homework-help\/","title":{"rendered":"Dictionary attacks | Computer Science homework help"},"content":{"rendered":"<div>\n<p>\u00a0<\/p>\n<p>Windows stores passwords using the NT LAN Manager (NTLM) hash.\u00a0 This hash is created by hashing the plain text password with the MD4 algorithm.\u00a0 There is no salt used.\u00a0 The lack of salt enables the use of a rainbow table to lookup passwords from their hash.\u00a0 \u00a0For this assignment you will create a rainbow table for a set of passwords.\u00a0<\/p>\n<p>More about NTLM: http:\/\/techgenix.com\/how-cracked-windows-password-part1\/<\/p>\n<p>For this assignment you will create a Rainbow table for NTLM passwords.\u00a0 \u00a0Use the following list of steps as a guide.<\/p>\n<ol>\n<li>Use the sys library to read a command line argument that is the name of a password dictionary file.<br \/>For your submission used the password dictionary file found at this link: <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/www.openwall.com\/passwords\/wordlists\/password-2011.lst\"><u>http:\/\/www.openwall.com\/passwords\/wordlists\/password-2011.lst\u00a0(Links to an external site.)<\/u><\/a><\/li>\n<li>Open the password dictionary.\u00a0<\/li>\n<li>Loop through the contents of the password dictionary one password at a time.\n<\/li>\n<li>Sort the list of keys from your dictionary<\/li>\n<li>Use a for loop to print all keys and passwords. Print on hash and password pair per line. Structure each line as follows to allow a password to be looked up easily from it&#8217;s hash:<br \/>[hash]:[password]<\/li>\n<li>Store the output of your program as rainbow_table.txt.\u00a0<br \/><em>*** Run your program as &#8216;python3 rainbowtable.py dictionary.txt &gt; rainbow_table.txt&#8217;<\/em><\/li>\n<li>Name your script rainbowtable.py<\/li>\n<\/ol>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 Windows stores passwords using the NT LAN Manager (NTLM) hash.\u00a0 This hash is created by hashing the plain text password with the MD4 algorithm.\u00a0 There is no salt used.\u00a0 The lack of salt enables the use of a rainbow table to lookup passwords from their hash.\u00a0 \u00a0For this assignment you will create a rainbow [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[],"class_list":["post-9041","post","type-post","status-publish","format-standard","hentry","category-homework-help"],"_links":{"self":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/9041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/comments?post=9041"}],"version-history":[{"count":0,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/9041\/revisions"}],"wp:attachment":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/media?parent=9041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/categories?post=9041"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/tags?post=9041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}