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

Using a list

Often, we will want to scan a list of IP addresses and not an entire subnet. We can use any text editor and create a list of IP addresses, and then feed this list to Nmap. Here, I am using Leafpad, which is built into Kali (any text editor will work), to put together a list of IP addresses I want to scan:

Then I can use this list of IP address in Nmap rather than having to retype these IP addresses each time I scan. Type pwd to see the working directory. Then we can create our scanlist file there with a text editor. We will be adding 192.168.10.2, 192.168.10.50, 192.168.10.70, 192.168.10.100, and 192.168.10.200. Type nmap -iL scanlist.txt:

As you can see, Nmap scanned all five IP addresses that I listed in my text document, but only found two IP addresses among them.

主站蜘蛛池模板: 房产| 呼伦贝尔市| 武宁县| 万宁市| 佛山市| 沙湾县| 乌拉特中旗| 金昌市| 思南县| 南雄市| 栖霞市| 峨山| 噶尔县| 原阳县| 定安县| 宝坻区| 自治县| 南宫市| 新蔡县| 安徽省| 昌吉市| 章丘市| 达孜县| 来安县| 建阳市| 通许县| 普兰县| 兴文县| 谢通门县| 台中市| 海伦市| 霞浦县| 高淳县| 沅江市| 垣曲县| 北安市| 兴城市| 平遥县| 行唐县| 竹北市| 盐源县|