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

Lab 3-scanning

The following demonstration will be a more detailed Nmap lab to reinforce what you have learned earlier in the chapter. This lab uses Kali Linux running in VMware:

  1. Open Nmap in Kali.
  2. Open a terminal in Kali and type nmap.

When you do so, Nmap will display its help screen, as shown in the following screenshot:

  1. Let's try to use the -sS and -sT scans.

Using Nmap's basic syntax, type in the following:

          nmap <scantype> IP address

We get results like those shown in the following screenshot, showing all of the TCP ports that are open on our target machine and the default service for each port:

  1. Next, we can scan for a specific port or port range.

Nmap uses the -p switch to designate a port or port range. So, if we were only looking for ports 100-200, we could use the following:

          kali > nmap 192.168.10.70 -p100-200

As you can see, this command scans and reveals only the ports in that port range.

主站蜘蛛池模板: 中卫市| 苏尼特左旗| 三门县| 玉溪市| 赤城县| 千阳县| 绥滨县| 蒙城县| 黔江区| 怀化市| 孙吴县| 海南省| 丰城市| 马尔康县| 和平区| 花垣县| 伊宁市| 常德市| 双柏县| 西乌珠穆沁旗| 秭归县| 岳阳县| 泸西县| 宝坻区| 东乡族自治县| 顺昌县| 泰来县| 通辽市| 襄垣县| 神木县| 凤翔县| 禹州市| 哈密市| 东乡| 塔河县| 凤山市| 敦化市| 汉阴县| 蒙城县| 永康市| 罗源县|