1

I am facing a problem with Nmap while scanning metasploitable.

I am using two different PCs. One with Kali Linux by using USB boot and on other PC using Metasploitable running on VMWare. I have configured the IP address in both machines and they can ping each other because I have configured the VMWare in Bridge connection mode. All are working fine but when I use Nmap to scan my metasploitable then it shows that

"1 host is up but all 1000 ports are closed"

Actually the above is not the exact error but the meaning is exactly same.

schroeder
  • 123,438
  • 55
  • 284
  • 319
Indranil
  • 11
  • 1
  • 2
  • What were you expecting to see? \ – schroeder Nov 14 '19 at 16:45
  • I expecting to see the list of all open ports.. because when I try to scan from my virtual machine's kali linux then it shows the open ports but from different PC it shows ports are closed. – Indranil Nov 14 '19 at 16:59
  • 1
    What you described is different from the question. You might need to describe the networking between the 2 machines better. What machine is scanning? Can you ping from the scanning machine to the target? Explain like we are 5 years old. – schroeder Nov 14 '19 at 17:21
  • I have two PCs . one is running on Kali Linux and the target machine is on windows 7. In the windows 7 machine I have VM installed and on that VM I am running Metasploitable. So the problem is that whenever I try to ping the Metasploitable i.e the target machine from my Kali linux machine then the ping works successfully but when I use nmap to scan for open ports then it doesn't show the open ports. – Indranil Nov 15 '19 at 16:17
  • Right, then what you are pinging is not Metasploitable, but Windows 7. And Windows is likely blocking the scan with its firewall. This looks like a networking or a VMWare question and not a security question. – schroeder Nov 15 '19 at 16:28
  • Lashing out is not helpful. – schroeder Nov 15 '19 at 18:16

0 Answers0