官术网_书友最值得收藏!

How to do it...

The following is the recipe for using Nmap:

  1. Nmap is already installed in Kali Linux. We can type the following command to start it and see all the options available:
        nmap -h

The following screenshot shows the output of the preceding command:

  1. To perform a basic scan we use the following command:
        nmap -sV -Pn x.x.x.x

The following screenshot shows the output of the preceding command:

  1. -Pn implies that we do not check whether the host is up or not by performing a ping request first. The -sV parameter is to list all the running services on the found open ports.
  2. Another flag we can use is -A, which automatically performs OS detection, version detection, script scanning, and traceroute. The command is:
        nmap -A -Pn x.x.x.x
  1. To scan an IP range or multiple IPs, we can use this command:
        nmap -A -Pn x.x.x.0/24
主站蜘蛛池模板: 米泉市| 金塔县| 诸暨市| 略阳县| 北安市| 会昌县| 陆良县| 汉阴县| 青铜峡市| 溧水县| 利辛县| 安吉县| 无为县| 彰武县| 鸡东县| 岐山县| 山阳县| 武夷山市| 成安县| 合水县| 汝城县| 淮北市| 沛县| 新平| 康保县| 丽江市| 北碚区| 临泉县| 密云县| 高州市| 桃源县| 兴隆县| 旺苍县| 大石桥市| 安阳县| 隆德县| 启东市| 宣威市| 库尔勒市| 会同县| 通州区|