How to find a machine that is listening to a particular port on a LAN using nmap?

StackOverflow https://stackoverflow.com/questions/17330601

  •  01-06-2022
  •  | 
  •  

I just installed nmap (never used it before). I want to see which machine on the network is listening to port 1234. How can I do that using the GUI of nmap.

有帮助吗?

解决方案 3

This worked for me

nmap -p 1234 -A -v 10.10.*.*

其他提示

nmap -v -A -p 1234 192.168.1.1-255 This command will scan your entire subnet

The officially supported (and included!) GUI for Nmap is Zenmap. It uses Profiles to choose common options, but the command line is clearly editable, as well. To get started, choose the Regular Scan profile, which removes the extra timing and scan mode arguments. Then, enter your target in the Target box. To scan a local network, you can use CIDR notation (e.g. 10.10.0.0/16) or octet ranges (e.g. 10.10.0-255.0-255).

To scan just one port, use the -p option with the port number. It is usually helpful to specify verbose output, too, with -v. Altogether, your command line will look something like this:

nmap -p 1234 -v 10.10.10.0/24

Then click the Scan button to begin scanning.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top