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

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
主站蜘蛛池模板: 锦州市| 杭州市| 平度市| 文山县| 拉萨市| 镇远县| 长沙市| 安福县| 彩票| 贵港市| 娄烦县| 镇坪县| 平乐县| 大港区| 云安县| 漠河县| 贺州市| 中西区| 平江县| 玛纳斯县| 义乌市| 兴宁市| 碌曲县| 石家庄市| 胶南市| 祁连县| 乌兰县| 仁布县| 朝阳县| 襄汾县| 通州市| 瑞金市| 夏邑县| 沂水县| 庆云县| 买车| 饶阳县| 长寿区| 洪湖市| 宝丰县| 贵定县|