┌──(root㉿kali)-[~/miaosec/vulnyx/explorer] └─# nmap -sn 192.168.2.0/24 Starting Nmap 7.94SVN ( https://nmap.org ) at 2025-09-14 16:15 CST Nmap scan report for 192.168.2.1 Host is up (0.00047s latency). MAC Address: 0A:00:27:00:00:07 (Unknown) Nmap scan report for 192.168.2.2 Host is up (0.00032s latency). MAC Address: 08:00:27:EA:4D:3E (Oracle VirtualBox virtual NIC) Nmap scan report for 192.168.2.11 Host is up (0.00089s latency). MAC Address: 08:00:27:09:E6:80 (Oracle VirtualBox virtual NIC) Nmap scan report for 192.168.2.4 Host is up. Nmap done: 256 IP addresses (4 hosts up) scanned in 2.21 seconds
靶机IP:192.168.2.11
2、端口扫描
1.全端口扫描
1 2 3 4 5 6 7 8 9 10 11 12
┌──(root㉿kali)-[~/miaosec/vulnyx/explorer] └─# nmap --min-rate 10000 -p- 192.168.2.11 Starting Nmap 7.94SVN ( https://nmap.org ) at 2025-09-14 16:16 CST Nmap scan report for 192.168.2.11 Host is up (0.00067s latency). Not shown: 65533 closed tcp ports (reset) PORT STATE SERVICE 22/tcp open ssh 80/tcp open http MAC Address: 08:00:27:09:E6:80 (Oracle VirtualBox virtual NIC)
Nmap done: 1 IP address (1 host up) scanned in 6.23 seconds
┌──(root㉿kali)-[~/miaosec/vulnyx/explorer] └─# nmap --min-rate 10000 -sT -sV -sC -O -p22,80 192.168.2.11 Starting Nmap 7.94SVN ( https://nmap.org ) at 2025-09-14 16:16 CST Nmap scan report for 192.168.2.11 Host is up (0.00061s latency).
PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 9.2p1 Debian 2+deb12u7 (protocol 2.0) | ssh-hostkey: | 256 a9:a8:52:f3:cd:ec:0d:5b:5f:f3:af:5b:3c:db:76:b6 (ECDSA) |_ 256 73:f5:8e:44:0c:b9:0a:e0:e7:31:0c:04:ac:7e:ff:fd (ED25519) 80/tcp open http Apache httpd 2.4.65 ((Debian)) |_http-server-header: Apache/2.4.65 (Debian) |_http-title: Site doesn't have a title (text/html). | http-robots.txt: 1 disallowed entry |_/extplorer MAC Address: 08:00:27:09:E6:80 (Oracle VirtualBox virtual NIC) Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port Device type: general purpose Running: Linux 4.X|5.X OS CPE: cpe:/o:linux:linux_kernel:4 cpe:/o:linux:linux_kernel:5 OS details: Linux 4.15 - 5.8 Network Distance: 1 hop Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 8.79 seconds
Starting Nmap 7.94SVN ( https://nmap.org ) at 2025-09-14 16:17 CST Nmap scan report for 192.168.2.11 Host is up (0.00094s latency). Not shown: 99 closed udp ports (port-unreach) PORT STATE SERVICE 68/udp open|filtered dhcpc MAC Address: 08:00:27:09:E6:80 (Oracle VirtualBox virtual NIC)
Nmap done: 1 IP address (1 host up) scanned in 105.00 seconds
没有开放的端口
二、80端口测试
访问80端口,是服务的默认页面,没有什么东西
1 2 3 4 5 6 7 8 9
┌──(root㉿kali)-[~/miaosec/vulnyx/explorer] └─# curl http://192.168.2.11 <html> <body> <h1>It works!</h1> <p>This is the default web page for this server.</p> <p>The web server software is running but no content has been added, yet.</p> </body> </html>
┌──(root㉿kali)-[~/miaosec/vulnyx/explorer] └─# ssh root@192.168.2.11 The authenticity of host '192.168.2.11 (192.168.2.11)' can't be established. ED25519 key fingerprint is SHA256:4K6G5c0oerBJXgd6BnT2Q3J+i/dOR4+6rQZf20TIk/U. This keyisnot known by any other names. Are you sure you want tocontinue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '192.168.2.11' (ED25519) to the list of known hosts. root@192.168.2.11's password: root@explorer:~# id uid=0(root) gid=0(root) grupos=0(root)