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

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.

主站蜘蛛池模板: 辽宁省| 得荣县| 诏安县| 清涧县| 横山县| 洛宁县| 桃江县| 武邑县| 淮阳县| 平罗县| 厦门市| 遵义市| 麦盖提县| 霸州市| 阳谷县| 雷波县| 千阳县| 清原| 休宁县| 荆州市| 定安县| 双牌县| 马关县| 安西县| 岫岩| 黎平县| 金秀| 宁河县| 河南省| 光山县| 嵊泗县| 莱州市| 崇仁县| 寿宁县| 凤城市| 六枝特区| 灵川县| 枣强县| 林州市| 三门县| 中西区|