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

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
主站蜘蛛池模板: 日喀则市| 邵阳市| 彭山县| 乌苏市| 治多县| 古浪县| 北碚区| 新泰市| 淳安县| 梅州市| 邵阳市| 江津市| 吕梁市| 城固县| 界首市| 铜川市| 亳州市| 安化县| 康定县| 乐安县| 许昌县| 咸宁市| 武平县| 沁源县| 且末县| 荣昌县| 岢岚县| 尼玛县| 民县| 大港区| 镇安县| 吉水县| 论坛| 慈利县| 长治市| 阳新县| 西城区| 鹤岗市| 定安县| 丰县| 蒙山县|