when i type the exact same commands into the pwnbox parot for nmap i do not get the same results. infact for example at the top of page of 102 enumeration it has example window and shows all sorts of thing open. however when i try
sudo nmap 10.129.2.28 --top-ports=10
just like they did and got results here is what i get.
sudo nmap 10.129.2.28 -v --top-ports=10
Starting Nmap 7.93 ( https://nmap.org ) at 2024-02-19 17:03 GMT
Initiating Ping Scan at 17:03
Scanning 10.129.2.28 [4 ports]
Completed Ping Scan at 17:03, 3.03s elapsed (1 total hosts)
Nmap scan report for 10.129.2.28 [host down]
Read data files from: /usr/bin/…/share/nmap
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.09 seconds
Raw packets sent: 8 (304B) | Rcvd: 0 (0B)
here is what they got in their example:
will26254@htb[/htb]$ sudo nmap 10.129.2.28 --top-ports=10
Starting Nmap 7.80 ( https://nmap.org ) at 2020-06-15 15:36 CEST
Nmap scan report for 10.129.2.28
Host is up (0.021s latency).
PORT STATE SERVICE
21/tcp closed ftp
22/tcp open ssh
23/tcp closed telnet
25/tcp open smtp
80/tcp open http
110/tcp open pop3
139/tcp filtered netbios-ssn
443/tcp closed https
445/tcp filtered microsoft-ds
3389/tcp closed ms-wbt-server
MAC Address: DE:AD:00:00:BE:EF (Intel Corporate)
Nmap done: 1 IP address (1 host up) scanned in 1.44 seconds
..........
why is this and is anyone else getting this result. the openvpn is already active in the pwnbox so its not that. and nowhere did they say to execute any differentcommands. am i missing something? So going on to all the examples and trying them has the same results. The examples show ports to be open but when i execute same commands and IP i get filtered status