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

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.

主站蜘蛛池模板: 即墨市| 舞钢市| 佛坪县| 平远县| 竹山县| 阿拉善左旗| 黎川县| 乌拉特中旗| 吴忠市| 临洮县| 济宁市| 乳源| 桐城市| 佛坪县| 固安县| 东方市| 固原市| 白朗县| 尤溪县| 资源县| 鄂托克前旗| 韶关市| 汉阴县| 清水河县| 南川市| 两当县| 开鲁县| 谷城县| 马山县| 夏河县| 石泉县| 罗定市| 商都县| 佛教| 磐石市| 浑源县| 新营市| 镇原县| 安顺市| 襄樊市| 泰州市|