{"id":3512,"date":"2024-03-24T09:42:57","date_gmt":"2024-03-24T01:42:57","guid":{"rendered":"http:\/\/www.ccwifi.cc\/blogs\/?p=3512"},"modified":"2024-03-24T09:42:57","modified_gmt":"2024-03-24T01:42:57","slug":"hashcat%e5%9c%a8linux%e7%b3%bb%e7%bb%9f%e4%b8%8b%e7%9a%84%e5%ae%89%e8%a3%855994","status":"publish","type":"post","link":"https:\/\/www.ccwifi.cc\/blogs\/2024\/03\/24\/hashcat%e5%9c%a8linux%e7%b3%bb%e7%bb%9f%e4%b8%8b%e7%9a%84%e5%ae%89%e8%a3%855994\/","title":{"rendered":"hashcat\u5728linux\u7cfb\u7edf\u4e0b\u7684\u5b89\u88c5"},"content":{"rendered":"<div>\n<p>\u5728\u7ebfwifi\u8dd1\u5305 \u91d1\u521a\u5305\u8dd1\u5305 cap\u8dd1\u5305 hccapx ewsa\u5728\u7ebf \u5c31\u6765 <strong><a href=\"https:\/\/ccwifi.cc\" target=\"_blank\" rel=\"noopener\">\u63e1\u624b\u5305\u8dd1\u5305<\/a><\/strong><\/p>\n<p>\u5404\u4f4d\u597d \u53c8\u89c1\u9762\u4e86 \u6211\u662f\u66f9\u64cd \u4eca\u5929\u7ed9\u5927\u5bb6\u5e26\u6765\u4e00\u7bc7\u65b0\u7684\u6559\u7a0b<\/p>\n<p>\u5e0c\u671b\u5404\u4f4d\u7ec6\u5fc3\u5b66\u4e60 \u4f4e\u8c03\u7528\u7f51<\/p>\n<\/div>\n<p><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1711244573121_0.jpg\" alt=\"\u600e\u4e48\u5b89\u88c5hashcat\"><\/p>\n<p>\u5728\u4e4b\u524d\u7684\u8ba8\u8bba\u4e2d\uff0c\u6211\u4eec\u5df2\u7ecf\u4ecb\u7ecd\u4e86\u5728Windows\u73af\u5883\u4e0b\u5b89\u88c5\u548c\u7f16\u8bd1hashcat\uff0c\u4eca\u5929\u6211\u4eec\u5c06\u8ba8\u8bba\u5728Linux\u73af\u5883\u4e0b\u7684\u5b89\u88c5\u8fc7\u7a0b\u3002\u867d\u7136\u5b89\u88c5\u8fc7\u7a0b\u53ef\u80fd\u6709\u4e9b\u4e4f\u5473\uff0c\u4f46\u8bf7\u5927\u5bb6\u8010\u5fc3\u7b49\u5f85\uff0c\u4e00\u65e6\u5b89\u88c5\u5b8c\u6210\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u8ba8\u8bbahashcat\u547d\u4ee4\u7684\u4f7f\u7528\u65b9\u6cd5\u4e86\u3002\u5728Ubuntu\u4e0b\u5b89\u88c5hashcat\u65f6\uff0c\u6211\u4eec\u5c06\u4f7f\u7528hashcat-4.1.0\u7248\u672c\u3002hashcat 4.0\u7248\u672c\u5df2\u7ecf\u5c06GPU\u548cCPU\u6574\u5408\u5230\u4e86\u6e90\u4ee3\u7801\u4e2d\u3002\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0chashcat\u4f1a\u68c0\u6d4b\u60a8\u7684\u786c\u4ef6\u5e76\u5b89\u88c5\u76f8\u5e94\u7684\u7248\u672c\u3002hashcat 4.0\u7248\u672c\u53d6\u6d88\u4e86\u5bf9gcc\u7684\u9650\u5236\uff0c\u4ece\u800c\u7b80\u5316\u4e86\u5b89\u88c5\u8fc7\u7a0b\u3002\u73b0\u5728\uff0c\u6211\u4eec\u53ea\u9700\u8981\u5b89\u88c5opencl\u5e93\u4f5c\u4e3ahashcat\u7684\u8fd0\u884c\u652f\u6301\u5e93\uff0c\u7701\u53bb\u4e86\u8bb8\u591a\u914d\u7f6e\u73af\u5883\u7684\u6b65\u9aa4\u3002<\/p>\n<p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5opencl\u3002Opencl\u6709\u591a\u4e2a\u7248\u672c\u53ef\u4f9b\u9009\u62e9\uff0c\u5305\u62ecIntel\u3001Nvidia\u548cAMD\u7684opencl\u3002\u6839\u636e\u60a8\u7684\u786c\u4ef6\u73af\u5883\uff0c\u9009\u62e9\u76f8\u5e94\u7684opencl SDK\u3002\u4ece\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7dopencl\uff0c\u6211\u4f7f\u7528\u7684\u662fopencl+runtime<em>16.1.2<\/em>x64<em>rh<\/em>6.4.0.37\u7248\u672c\u3002\u4e0b\u8f7d\u540e\uff0c\u5c06\u5176\u89e3\u538b\u5230\u60a8\u4e60\u60ef\u4f7f\u7528\u7684\u8def\u5f84\uff0c\u5e76\u627e\u5230install_GUI.sh\u6587\u4ef6\u3002\u8fd0\u884c\u8be5\u6587\u4ef6\uff0c\u5c06\u51fa\u73b0\u5982\u4e0b\u754c\u9762\uff1a<\/p>\n<pre><code>git clone https:\/\/github.com\/hashcat\/hashcat.git\n<\/code><\/pre>\n<p>\u6309\u7167\u56fe\u5f62\u754c\u9762\u4e2d\u7684\u63d0\u793a\uff0c\u6309\u6b65\u9aa4\u5b89\u88c5opencl\u5373\u53ef\u3002\u4e3a\u4e86\u4ee5\u9632\u4e07\u4e00\uff0c\u6211\u8fd8\u4e0b\u8f7d\u4e86\u4e00\u4e2aopencl_headers\u538b\u7f29\u5305\uff0c\u5176\u4e2d\u5305\u542b\u4e00\u4e9b.c\u6587\u4ef6\u3002\u5b89\u88c5\u597dopencl\u540e\uff0chashcat\u7684\u73af\u5883\u914d\u7f6e\u5c31\u5b8c\u6210\u4e86\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5hashcat\u3002\u60a8\u53ef\u4ee5\u4ecehashcat\u7684\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u6e90\u4ee3\u7801\uff0c\u6216\u8005\u76f4\u63a5\u5c06GitHub\u4e0a\u7684hashcat\u6e90\u4ee3\u7801\u590d\u5236\u5230\u60a8\u7684\u4e3b\u673a\u4e0a\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1711244573121_1.jpg\" alt=\"\u600e\u4e48\u5b89\u88c5hashcat\"><\/p>\n<p>\u4e0b\u8f7dhashcat\u540e\uff0c\u9996\u5148\u67e5\u770b\u6e90\u4ee3\u7801\u4e2d\u7684README.md\u3001BUILD.md\u548cMakefile\u4e09\u4e2a\u6587\u4ef6\u3002BUILD\u6587\u4ef6\u4e2d\u5305\u542b\u4e86hashcat\u7684\u5b89\u88c5\u547d\u4ee4\uff0c\u5efa\u8bae\u5927\u5bb6\u4f5c\u4e3a\u53c2\u8003\u3002Makefile\u6587\u4ef6\u7528\u4e8e\u7f16\u8bd1\u4ee3\u7801\uff0c\u5305\u62ec\u5f15\u7528\u7684\u5404\u4e2a\u6587\u4ef6\u548c\u6570\u636e\u5e93\u8def\u5f84\u3002<\/p>\n<p>\u7136\u540e\uff0c\u66f4\u65b0\u5b50\u6a21\u5757\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1711244573121_2.jpg\" alt=\"\u600e\u4e48\u5b89\u88c5hashcat\"><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1711244573121_3.jpg\" alt=\"\u600e\u4e48\u5b89\u88c5hashcat\"><\/p>\n<p>\u8fd0\u884cmake\u547d\u4ee4\u540e\uff0c\u5c06\u5f00\u59cb\u7f16\u8bd1hashcat\u6e90\u4ee3\u7801\uff0c\u5e76\u63d0\u4f9bMakefile\u6587\u4ef6\u4e2d\u63d0\u4f9b\u7684\u76f8\u5173\u529f\u80fd\u3002\u8fd0\u884cmake install\u547d\u4ee4\uff0c\u5f00\u59cb\u5b89\u88c5hashcat\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528-b\u547d\u4ee4\u5bf9hashcat\u8fdb\u884c\u6d4b\u8bd5\u3002\u5982\u679c\u6d4b\u8bd5\u901a\u8fc7\uff0c\u8bf4\u660ehashcat\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<p>\u5982\u679c\u60a8\u5b89\u88c5\u7684\u662fhashcat 3.0\u4e4b\u540e\u7684\u7248\u672c\uff0c\u6309\u7167\u4e0a\u8ff0\u6b65\u9aa4\u64cd\u4f5c\uff0c\u57fa\u672c\u4e0a\u53ef\u4ee5\u786e\u4fddhashcat\u6b63\u5e38\u8fd0\u884c\u3002\u5982\u679c\u60a8\u5bf9\u65e7\u7248\u672c\u7684hashcat\u6709\u6df1\u539a\u7684\u611f\u60c5\uff0c\u53ef\u4ee5\u7ee7\u7eed\u9605\u8bfb\u4e0b\u9762\u7684\u5185\u5bb9\u3002<\/p>\n<p>\u65e9\u671f\u7684hashcat\u73af\u5883\u914d\u7f6e\u76f8\u5bf9\u590d\u6742\uff0c\u9700\u8981\u5728gcc 4.9\u4ee5\u4e0a\u7684\u7248\u672c\u4e0b\u8fd0\u884c\u3002\u56e0\u6b64\uff0c\u6211\u4eec\u9996\u5148\u9700\u8981\u914d\u7f6e\u8ba1\u7b97\u673a\u7684gcc\uff0c\u6216\u8005\u5c06GCC\u7f16\u8bd1\u5668\u5347\u7ea7\u52304.9\u4ee5\u4e0a\u7248\u672c\u3002gcc\u9700\u8981\u4f7f\u7528GMP\u3001MPFR\u548cMPC\u5e93\uff0c\u56e0\u6b64\u9700\u8981\u5148\u5b89\u88c5\u8fd9\u4e9b\u652f\u6301\u8f6f\u4ef6\u3002<\/p>\n<p>\u9996\u5148\u662fGMP\u7684\u5b89\u88c5\u3002\u4e0b\u8f7d\u5e76\u89e3\u538b\u7f29\uff0c\u7136\u540e\u914d\u7f6egcc\u73af\u5883\u3002\u76f4\u63a5\u4ece\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5e72\u51c0\u4e14\u5b89\u5168\u7684\u7248\u672c\u5373\u53ef\uff0c\u6211\u4e0b\u8f7d\u4e86gmp-6.1.2.tar.lz\u3002\u5982\u679c\u6ca1\u6709\u5b89\u88c5\u89e3\u538b\u547d\u4ee4\uff0c\u8bf7\u5148\u5b89\u88c5\u89e3\u538b\u547d\u4ee4\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1711244573121_5.jpg\" alt=\"\u600e\u4e48\u5b89\u88c5hashcat\"><\/p>\n<pre><code>.\/configure \u2013prefix=\/usr\/local\/gmp6.1.1\uff08--prefix\u540e\u7684\u9762\u7684\u53c2\u6570\u4e3a\u53ef\u9009\uff0c\u82e5\u4e0d\u9009\uff0c\u8868\u793a\u9ed8\u8ba4\u5b89\u88c5\u4f4d\u7f6e\uff09\n<\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1711244573121_6.jpg\" alt=\"\u600e\u4e48\u5b89\u88c5hashcat\"><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1711244573121_7.jpg\" alt=\"\u600e\u4e48\u5b89\u88c5hashcat\"><\/p>\n<pre><code>make\n<\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1711244573121_8.jpg\" alt=\"\u600e\u4e48\u5b89\u88c5hashcat\"><\/p>\n<pre><code>make insatll\n<\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1711244573121_9.jpg\" alt=\"\u600e\u4e48\u5b89\u88c5hashcat\"><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1711244573121_10.jpg\" alt=\"\u600e\u4e48\u5b89\u88c5hashcat\"><\/p>\n<p>\u4f7f\u7528lzip\u547d\u4ee4\u89e3\u538b\u5b89\u88c5\u5305\uff0c\u5c06gmp\u89e3\u538b\u4e3a\u4e00\u4e2a.tar\u6587\u4ef6\uff0c\u7136\u540e\u4f7f\u7528tar\u547d\u4ee4\u5c06\u538b\u7f29\u5305\u89e3\u538b\u5230\u6587\u4ef6\u5939\u4e2d\u3002\u63a5\u4e0b\u6765\uff0c\u8fdb\u884c\u5b89\u88c5\u3002make\u548cmake install\u547d\u4ee4\u7684\u4f5c\u7528\u6211\u4eec\u4e4b\u524d\u5df2\u7ecf\u63d0\u5230\u8fc7\uff0c\u8fd9\u91cc\u4e0d\u518d\u8d58\u8ff0\u3002\u5728\u5b89\u88c5GMP\u7684\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u80fd\u4f1a\u63d0\u793a\u7f3a\u5c11m4\uff0c\u8fd9\u4e2a\u95ee\u9898\u5e76\u975e\u6240\u6709\u4eba\u90fd\u4f1a\u9047\u5230\uff0c\u5982\u679c\u6ca1\u6709\u63d0\u793a\u8fd9\u4e2a\u95ee\u9898\uff0c\u53ef\u4ee5\u5ffd\u7565\u8fd9\u4e00\u6b65\u3002<\/p>\n<p>\u56e0\u6b64\uff0c\u6211\u8fd8\u5b89\u88c5\u4e86m4\uff0c\u5148\u4e0b\u8f7d\u5e76\u89e3\u538b\u7f29\uff0cm4\u7684\u5b89\u88c5\u547d\u4ee4\u4e0eGMP\u7684\u5b89\u88c5\u547d\u4ee4\u76f8\u540c\u3002\u5b89\u88c5\u6210\u529f\u540e\uff0c\u8bb0\u5f97\u4f7f\u7528man\u547d\u4ee4\u8fdb\u884c\u6d4b\u8bd5\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\u662fMPFR\u7684\u5b89\u88c5\u3002\u4e0b\u8f7d\u5e76\u89e3\u538b\u7f29\uff0c\u53ef\u4ee5\u5728ftp:\/\/gcc.gnu.org\/pub\/gcc\/infrastructure\u4e0b\u8f7d\u76f8\u5e94\u7684MPFR\u5b89\u88c5\u5305\u3002\u8fd9\u91cc\u662f\u4e00\u4e2a\u540e\u7f00\u4e3a.tar.bz2\u7684\u538b\u7f29\u5305\uff0c\u89e3\u538b\u547d\u4ee4\u4e0e\u4e4b\u524d\u4e0d\u540c\u3002\u5b89\u88c5\u65b9\u6cd5\u4e0eGMP\u5e93\u7684\u5b89\u88c5\u547d\u4ee4\u76f8\u540c\uff0c\u4e0d\u518d\u8d58\u8ff0\u3002<\/p>\n<p>\u6700\u540e\u662fMPC\u7684\u5b89\u88c5\u3002\u4e0b\u8f7d\u5e76\u89e3\u538b\u7f29\uff0c\u53ef\u4ee5\u5728ftp:\/\/gcc.gnu.org\/pub\/gcc\/infrastructure\u4e0b\u8f7d\u76f8\u5e94\u7684MPC\u5b89\u88c5\u5305\uff0c\u5e76\u8fdb\u884c\u89e3\u538b\u3002\u5b89\u88c5\u65b9\u6cd5\u4e0e\u4e4b\u524d\u7684GMP\u548cMPFR\u5e93\u76f8\u540c\u3002<\/p>\n<p>\u6700\u540e\uff0c\u8fdb\u884cGCC\u7684\u5b89\u88c5\u3002\u4e0b\u8f7d\u5e76\u89e3\u538b\u7f29\u5b89\u88c5\uff0c\u4f46\u8fd9\u6b21\u6211\u76f4\u63a5\u4ece\u6e90\u4e2d\u4e0b\u8f7d\u4e86GCC\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1711244573121_14.jpg\" alt=\"\u600e\u4e48\u5b89\u88c5hashcat\"><!-- \u6587\u7ae0\u6765\u6e90:https:\/\/www.freebuf.com\/news\/174074.html --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u600e\u4e48\u5b89\u88c5hashcathashcat\u5728linux\u7cfb\u7edf\u4e0b\u7684\u5b89\u88c5\u524d\u9762\u6211\u4eec\u5df2\u7ecf\u8bf4\u8fc7hashcat\u5728Window\u73af\u5883\u4e0b\u7684\u5b89\u88c5\u7f16\u8bd1\uff0c\u4eca\u5929\u6211\u4eec\u5c31\u6765\u804a\u4e00\u804ahashcat\u5728Linux\u73af\u5883\u4e0b\u7684\u5b89\u88c5\u3002\u603b\u8bf4\u5b89\u88c5\u786e\u5b9e\u6709\u70b9\u65e0\u804a\u554a\uff0c\u4f46\u662f\u5927\u5bb6\u5fcd\u8010\u4e00\u4e0b\u628a\uff0c\u5b89\u88c5\u597d\u7a0b\u5e8f\u4ee5\u540e<\/p>\n","protected":false},"author":1,"featured_media":3513,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-3512","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/posts\/3512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/comments?post=3512"}],"version-history":[{"count":0,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/posts\/3512\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/media\/3513"}],"wp:attachment":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/media?parent=3512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/categories?post=3512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/tags?post=3512"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/topic?post=3512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}