{"id":3560,"date":"2024-03-25T00:49:37","date_gmt":"2024-03-24T16:49:37","guid":{"rendered":"http:\/\/www.ccwifi.cc\/blogs\/?p=3560"},"modified":"2024-03-25T00:49:37","modified_gmt":"2024-03-24T16:49:37","slug":"hashcat%e9%80%9f%e5%ba%a6%e5%86%85%e7%bd%91%e6%b8%97%e9%80%8f%e8%ae%b0%e4%b8%80%e6%ac%a1%e6%9c%89%e8%b6%a34293","status":"publish","type":"post","link":"https:\/\/www.ccwifi.cc\/blogs\/2024\/03\/25\/hashcat%e9%80%9f%e5%ba%a6%e5%86%85%e7%bd%91%e6%b8%97%e9%80%8f%e8%ae%b0%e4%b8%80%e6%ac%a1%e6%9c%89%e8%b6%a34293\/","title":{"rendered":"hashcat\u901f\u5ea6 \u5185\u7f51\u6e17\u900f|\u8bb0\u4e00\u6b21\u6709\u8da3\u7684\u590d\u6742\u9776\u573a\u6e17\u900f"},"content":{"rendered":"<p>\u8bb0\u5f55\u4e00\u4e0b\u6211\u5728tryhackme\u7684Holo\u9776\u573a\u4e2d\u7684\u5b8c\u6210\u8fc7\u7a0b\u3002\u4e0e\u539f\u4f5c\u8005\u7684\u601d\u8def\u548c\u5de5\u5177\u6709\u6240\u4e0d\u540c\uff0c\u6211\u4f7f\u7528\u4e86\u81ea\u5df1\u7684\u601d\u8def\uff0c\u5e76\u8fdb\u884c\u4e86\u4e00\u4e9b\u4f18\u5316\uff08\u5b9e\u9645\u4e0a\u662f\u56e0\u4e3a\u6211\u592a\u61d2\u4e86\uff09\u3002\u5bf9\u4e8e\u6211\u4e0d\u592a\u4e86\u89e3\u7684\u90e8\u5206\uff0c\u6211\u4f1a\u5c55\u5f00\u66f4\u591a\u7ec6\u8282\u3002\u4e2d\u9014\u7531\u4e8e\u5fd9\u788c\u7684\u539f\u56e0\u4e2d\u65ad\u4e86\u4e00\u6bb5\u65f6\u95f4\uff0c\u8fd8\u65ad\u7f51\u4e86\uff0c\u5fc3\u6001\u6709\u70b9\u5d29\u6e83\uff0c\u4f46\u9664\u6b64\u4e4b\u5916\uff0c\u5176\u4ed6\u90fd\u662f\u5e38\u89c4\u64cd\u4f5c\u3002<\/p>\n<p>\u9996\u5148\u8fdb\u884c\u4e86\u7aef\u53e3\u626b\u63cf\uff1a<\/p>\n<pre><code>ffuf -w \/usr\/share\/seclists\/Discovery\/DNS\/subdomains-top1million-110000.txt  -H \"Host: FUZZ.holo.live\" -u http:\/\/10.200.112.33\/ -fs 21456<\/code><\/pre>\n<p>\u4e4e\u6709\u4e00\u4e2a\u9ad8\u7aef\u53e3\u662fsocks5\u7684\u65e0\u8ba4\u8bc1\u4ee3\u7406\uff0c\u53ef\u80fd\u5728\u540e\u9762\u4f1a\u6709\u4f5c\u7528\uff0c\u6682\u65f6\u5148\u653e\u7740\u3002<\/p>\n<p>\u7136\u540e\u6309\u7167\u9898\u76ee\u7ee7\u7eed\u5bf980\u7aef\u53e3\u7684WordPress\u8fdb\u884c\u679a\u4e3e\uff0c\u53d1\u73b0\u4e86\u7248\u672c\u4fe1\u606f\u3002<\/p>\n<p>\u5bf9\u5355\u4e2aIP\u8fdb\u884c\u865a\u62df\u4e3b\u673a\u53d1\u73b0\uff0c\u6211\u4f7f\u7528\u4e86ffuf\u5e76\u8fc7\u6ee4\u4e86FUZZ\u3002\u8fd9\u91cc\u53ef\u80fd\u6709\u4e00\u4e9b\u4eba\u4e0d\u6e05\u695a\u5728\u5b9e\u6218\u4e2d\u662f\u5426\u9700\u8981\u5bf9\u8fd9\u4e2a\u70b9\u8fdb\u884cfuzz\uff0c\u5b9e\u9645\u60c5\u51b5\u662f\u6839\u636e\u4e2d\u95f4\u4ef6\u7684\u914d\u7f6e\u60c5\u51b5\u6765\u51b3\u5b9a\u7684\u3002\u6bd4\u5982\u8bf4\uff0cNginx\u548cApache\u90fd\u6709\u914d\u7f6e\u865a\u62df\u4e3b\u673a\u7684\u9009\u9879\uff0c\u5728\u653f\u5e9c\u5355\u4f4d\u7684\u96c6\u7fa4\u90e8\u7f72\u6216\u8005\u4e00\u4e9b\u9700\u8981\u8d1f\u8f7d\u5747\u8861\u7684\u573a\u666f\u4e2d\u6bd4\u8f83\u5e38\u89c1\u3002\u7b80\u5355\u6765\u8bf4\uff0c\u5982\u679c\u67d0\u4e2a\u7f51\u7ad9\u7684IP\u4e1a\u52a1\u6d41\u91cf\u6bd4\u8f83\u5927\uff0c\u800c\u4e14\u8fd9\u4e2a\u670d\u52a1\u5668\u6027\u80fd\u6bd4\u8f83\u597d\uff0c\u90a3\u4e48\u5c31\u9002\u5408\u914d\u7f6e\u865a\u62df\u4e3b\u673a\u3002<\/p>\n<p>\u56de\u5230\u6b63\u9898\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1711298967814_7.png\" alt=\"hashcat\u901f\u5ea6\"><\/p>\n<p>\u901f\u5ea6\u5f88\u6162\uff0c\u5927\u6982\u6bcf\u79d2\u53ea\u80fd\u5904\u740650\u4e2a\u8bf7\u6c42\u3002\u6211\u5c06\u901a\u8fc7\u66b4\u529b\u7834\u89e3\u5f97\u5230\u7684\u7ed3\u679c\u6dfb\u52a0\u5230hosts\u6587\u4ef6\u4e2d\u3002<\/p>\n<p>\u76f4\u63a5\u8bbf\u95ee\u8fd9\u4e9b\u7f51\u7ad9\uff0c\u770b\u770b\u662f\u5426\u6709\u6709\u4ef7\u503c\u7684\u4e1c\u897f\u3002\u540c\u65f6\u8fdb\u884c\u76ee\u5f55\u626b\u63cf\u3002<\/p>\n<p>\u4eceadmin\u7684\u626b\u63cf\u7ed3\u679c\u4e2d\u53d1\u73b0\uff0crobots.txt\u7684\u5185\u5bb9\u6bd4\u8f83\u5927\u3002<\/p>\n<p>\u8bbf\u95ee\u83b7\u5f97\u7edd\u5bf9\u8def\u5f84\uff1a<\/p>\n<pre><code>\/\/if ($_GET['cmd'] === NULL) { echo passthru(\"cat \/tmp\/Views.txt\"); } else { echo passthru($_GET['cmd']);} --&gt;<\/code><\/pre>\n<p>\u63a5\u8bbf\u95ee\u8fd4\u56de403\u9519\u8bef\uff0c\u9700\u8981\u914d\u5408\u4efb\u610f\u6587\u4ef6\u8bfb\u53d6\u6765\u83b7\u53d6\u51ed\u636e\u3002<\/p>\n<p>\u5229\u7528\u4efb\u610f\u6587\u4ef6\u4e0b\u8f7d\u83b7\u53d6\u5230creds.txt\uff0c\u56e0\u4e3avhost\u672c\u8d28\u4e0a\u662f\u5728\u4e00\u53f0\u673a\u5668\u4e0a\uff0c\u6240\u4ee5\u53ef\u4ee5\u8bfb\u53d6\u5230\u5176\u4ed6\u7684\u6587\u4ef6\u3002<\/p>\n<p>\u62ff\u5230\u5bc6\u7801\u540e\u767b\u5f55\u3002<\/p>\n<p>\u7ffb\u9605\u6e90\u4ee3\u7801\uff0c\u53d1\u73b0\u6709\u4e00\u4e2a\u88ab\u6ce8\u91ca\u4e86\u7684\u529f\u80fd\u3002<\/p>\n<p>\u7ed9\u5b9acmd\u53c2\u6570\u5373\u53ef\u6267\u884c\u547d\u4ee4\u3002<\/p>\n<p>\u4f7f\u7528msf\u76f4\u63a5\u83b7\u53d6\u4ea4\u4e92\u5f0fshell\u3002<\/p>\n<p>\u5c1d\u8bd5\u63d0\u6743\uff0c\u4f46\u672a\u6210\u529f\u3002\u7136\u540e\u627e\u5230\u4e86flag\uff0c\u53d1\u73b0\u5728\/var\/www\u76ee\u5f55\u4e0b\u3002<\/p>\n<p>\u6839\u636ephp\u7684\u914d\u7f6e\uff0c\u53d1\u73b0\u6570\u636e\u5e93\u6307\u5411\u4e86\u65b0\u7684\u8d44\u4ea7\u3002\u4f7f\u7528\u8d26\u6237\u5bc6\u7801\u8fde\u63a5\u3002<\/p>\n<p>\u4f7f\u7528msf\u642d\u5efasocks\u4ee3\u7406\u3002<\/p>\n<p>\u56e0\u4e3a\u662f\u9ed8\u8ba4\u9875\u9762\uff0c\u6240\u4ee5\u76f4\u63a5\u5199\u5165\u5373\u53ef\u3002<\/p>\n<p>\u6267\u884c\u547d\u4ee4\u4e0a\u7ebf\uff0c\u7136\u540e\u8fdb\u884c\u64cd\u4f5c\u3002<\/p>\n<p>\u4e0a\u4f20\u5230\u4e34\u65f6\u6587\u4ef6\u5e76\u8d4b\u4e88\u6743\u9650\u540e\u6267\u884c\u3002<\/p>\n<p>\u4f7f\u7528kali\u96c6\u6210\u7684linpeas\u8fdb\u884c\u68c0\u67e5\uff0c\u53d1\u73b0\u4e86suid\u63d0\u6743\u7684\u63d0\u793a\u3002<\/p>\n<p>\u627e\u5230\u63d0\u6743\u7684\u5411\u91cf\uff0c\u4f46\u7531\u4e8e\u4e0d\u662f\u4ea4\u4e92\u5f0f\u7684tty\uff0c\u6240\u4ee5\u5931\u8d25\u4e86\u3002<\/p>\n<p>\u518d\u6b21\u5229\u7528suggest\u6a21\u5757\u7684exp\u8fdb\u884c\u63d0\u6743\u3002<\/p>\n<p>\u7b49\u5f85\u4e00\u4f1a\uff0c\u5373\u53ef\u4e0a\u7ebf\u3002\u8fd9\u91cc\u4e0d\u5f97\u4e0d\u8bf4msf\u7684\u63d0\u6743\u771f\u7684\u5f88\u5f3a\u5927\uff0c\u7279\u522b\u662f\u5728exp\u63d0\u6743\u65b9\u9762\u3002\u5982\u679c\u81ea\u5df1\u7f16\u8bd1\u7684\u8bdd\uff0c\u4f1a\u9047\u5230\u5f88\u591a\u9519\u8bef\u5bfc\u81f4\u96be\u4ee5\u5229\u7528\uff0c\u800c\u4e92\u8054\u7f51\u4e0a\u7684poc\u5728\u4e0d\u540c\u73af\u5883\u4e0b\u4e5f\u5b58\u5728\u517c\u5bb9\u6027\u95ee\u9898\u3002\u800cmsf\u5df2\u7ecf\u8003\u8651\u4e86\u8fd9\u4e9b\u517c\u5bb9\u6027\u95ee\u9898\u3002<\/p>\n<p>\u8bfb\u53d6cat \/etc\/shadow\u7684\u5bc6\u7801\u5e76\u8fdb\u884c\u7834\u89e3\uff08\u5728\u5b9e\u6218\u4e2d\uff0c\u7834\u89e3\u5bc6\u7801\u4ecd\u7136\u662f\u6709\u5fc5\u8981\u7684\uff0c\u56e0\u4e3a\u5f88\u591a\u5355\u4f4d\u4f7f\u7528\u76f8\u540c\u7684\u5bc6\u7801\uff0c\u53ea\u8981\u80fd\u7834\u89e3\u51fa\u660e\u6587\uff0c\u5229\u7528\u660e\u6587\u8fdb\u884c\u6a2a\u5411\u79fb\u52a8\u5c06\u53d8\u5f97\u975e\u5e38\u91cd\u8981\uff09\u3002<\/p>\n<p>\u4f7f\u7528hashcat\u8fdb\u884c\u7834\u89e3\uff0c\u5f97\u5230\u5bf9\u5e94\u7684\u660e\u6587\u3002<\/p>\n<p>\u4f7f\u7528\u5bc6\u7801\u767b\u5f55\u5e76\u8fdb\u884c\u9a8c\u8bc1\u3002<\/p>\n<p>\u5bf9\u540c\u4e00\u7f51\u6bb5\u4e0b\u7684IP\u8fdb\u884c\u626b\u63cf\uff0c\u53d1\u73b0\u4e86\u65b0\u7684\u8d44\u4ea7\u3002<\/p>\n<p>\u6574\u7406\u626b\u63cf\u7ed3\u679c\uff0c\u53d1\u73b010.200.108.35\u7684\u673a\u5668\u540d\u662fPC-FILESRV01\uff0c10.200.108.30\u7684\u673a\u5668\u540d\u662fDC-SRV01\uff0c\u626b\u63cf\u7ed3\u679c\u8fd8\u663e\u793a\u5b83\u662f\u57df\u63a7\u5236\u5668Domain Controllers\uff0c10.200.108.31\u7684\u673a\u5668\u540d\u662fS-SRV01\u3002<\/p>\n<p>\u518d\u6b21\u642d\u5efa\u4ee3\u7406\uff0c\u8fd9\u6b21\u4f7f\u7528frp\u3002frp\u7684\u7a33\u5b9a\u6027\u4f17\u6240\u5468\u77e5\uff0c\u8fd9\u91cc\u53ea\u8d34\u51fa\u5e38\u7528\u7684\u914d\u7f6e\u3002<\/p>\n<p>\u642d\u5efa\u5b8c\u6210\u540e\u5c31\u53ef\u4ee5\u8bbf\u95ee\u4e86\u3002\u7531\u4e8eBurp\u51fa\u4e86\u4e00\u4e9b\u95ee\u9898\uff0c\u6211\u6682\u65f6\u4f7f\u7528\u6d4f\u89c8\u5668\u8fdb\u884c\u6293\u5305\u3002\u5f88\u660e\u663e\uff0c\u8fd9\u91cc\u6709\u4e00\u4e2a\u91cd\u7f6e\u5bc6\u7801\u7684\u53c2\u6570\u8ba9\u4eba\u611f\u5174\u8da3\u3002<\/p>\n<p>\u7206\u7834\u7528\u6237\u540d\u5931\u8d25\u540e\uff0c\u6211\u91cd\u65b0\u67e5\u627e\u4e4b\u524dMySQL\u7684\u6570\u636e\u5e93\uff0c\u627e\u5230\u4e86gurag\u7528\u6237\u3002<\/p>\n<p>\u901a\u8fc7\u6293\u5305\u5206\u6790\uff0c\u53d1\u73b0gurag\u7684token\u5b9e\u9645\u4e0a\u5df2\u7ecf\u5728\u8fd4\u56de\u5305\u4e2d\uff0c\u5b58\u5728\u4e00\u4e2a\u7b80\u5355\u7684\u903b\u8f91\u6f0f\u6d1e\u3002<\/p>\n<p>\u968f\u540e\uff0c\u4f7f\u7528\u8be5token\u8bbf\u95ee\u4e4b\u524d\u7684\u9875\u9762\u3002<\/p>\n<p>\u767b\u5f55\u540e\uff0c\u9047\u5230\u4e86\u4e00\u4e2a\u5178\u578b\u7684\u524d\u7aef\u8fc7\u6ee4\u4e0a\u4f20\u3002<\/p>\n<p>\u6839\u636e\u4e4b\u524d\u7684\u76ee\u5f55\u626b\u63cf\u7ed3\u679c\uff0c\u5e94\u8be5\u5728images\u76ee\u5f55\u4e0b\u3002\u679c\u4e0d\u5176\u7136\uff0c\u76f4\u63a5\u4e0a\u4f20\u4e00\u4e2aphp\u6587\u4ef6\uff0c\u6210\u529f\u83b7\u53d6\u5230system\u6743\u9650\u3002<\/p>\n<p>\u4f7f\u7528\u68f1\u89d2\u793e\u533a\u7684\u8fdb\u7a0b\u8bc6\u522b\u5de5\u5177\uff0c\u53d1\u73b0\u6709\u6740\u6bd2\u8f6f\u4ef6\uff0c\u4f46\u5bf9\u5fae\u8f6f\u7684\u6740\u6bd2\u8f6f\u4ef6\u8fdb\u884c\u6b3a\u9a97\u8fd8\u662f\u76f8\u5bf9\u5bb9\u6613\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>hashcat\u901f\u5ea6hashcat\u901f\u5ea6 \u5185\u7f51\u6e17\u900f|\u8bb0\u4e00\u6b21\u6709\u8da3\u7684\u590d\u6742\u9776\u573a\u6e17\u900f\u8bb0\u5f55\u4e00\u4e0btryhackme\u7684Holo\u7684\u9776\u573a\u5b8c\u6210\u8fc7\u7a0b\u3002\u548c\u539f\u672c\u4f5c\u8005\u601d\u8def\u548c\u5de5\u5177\u4e0d\u592a\u4e00\u6837\uff0c\u7528\u81ea\u5df1\u7684\u601d\u8def\u6253\u4e86\u4e00\u4e0b\uff0c\u66f4\u52a0\u4f18\u96c5\u65b9\u4fbf\uff08\u5b9e\u9645\u4e0a\u662f\u81ea\u5df1\u592a\u61d2\u4e86\uff09\uff0c\u67d0\u4e9b\u81ea\u5df1\u4e0d\u61c2\u7684\u5730\u65b9\u90e8\u5206\u66f4\u52a0\u7ec6\u8282\u5c55\u5f00\u3002\u4e2d\u9014\u592a\u5fd9\u65ad\u4e86\u597d\u4e45<\/p>\n","protected":false},"author":1,"featured_media":3561,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-3560","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\/3560","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=3560"}],"version-history":[{"count":0,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/posts\/3560\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/media\/3561"}],"wp:attachment":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/media?parent=3560"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/categories?post=3560"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/tags?post=3560"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/topic?post=3560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}