<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									How can scan a specific range of IP addresses with Nmap? - Cyber Security				            </title>
            <link>https://www.hacktheforum.com/cyber-security/how-can-scan-a-specific-range-of-ip-addresses-with-nmap/</link>
            <description>Hack The Forum Discussion Board</description>
            <language>en</language>
            <lastBuildDate>Sun, 19 Apr 2026 08:48:58 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>How can scan a specific range of IP addresses with Nmap?</title>
                        <link>https://www.hacktheforum.com/cyber-security/how-can-scan-a-specific-range-of-ip-addresses-with-nmap/#post-465</link>
                        <pubDate>Mon, 12 Aug 2024 16:39:14 +0000</pubDate>
                        <description><![CDATA[To scan a specific range of IP addresses with Nmap, you can use a variety of syntax options. Here are some common methods to achieve this:
Scanning a Range of IP Addresses

Specify a Rang...]]></description>
                        <content:encoded><![CDATA[<p>To scan a specific range of IP addresses with Nmap, you can use a variety of syntax options. Here are some common methods to achieve this:</p>
<h3>Scanning a Range of IP Addresses</h3>
<ul>
<li><strong>Specify a Range Using a Hyphen:</strong> You can specify a range of IP addresses by using a hyphen (<code>-</code>). For example, to scan all IPs from <code>192.168.1.10</code> to <code>192.168.1.20</code>, you would use:</li>
</ul>
<div class="dark bg-gray-950 rounded-md border- border-token-border-medium">
<div class="overflow-y-auto p-4" dir="ltr">
<pre contenteditable="false">nmap 192.168.1.10-20</pre>
</div>
</div>
<ul>
<li><strong>Specify a Range Using CIDR Notation:</strong> If you want to scan a subnet, you can use CIDR notation. For instance, to scan all IPs in the <code>192.168.1.0/24</code> subnet (which covers <code>192.168.1.1</code> to <code>192.168.1.254</code>), you would use:</li>
</ul>
<div class="dark bg-gray-950 rounded-md border- border-token-border-medium">
<div class="flex items-center relative text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md"> </div>
<div class="overflow-y-auto p-4" dir="ltr">
<pre contenteditable="false">nmap 192.168.1.0/24</pre>
</div>
</div>
<br />
<ul>
<li><strong>Scan Multiple Specific IPs or Ranges:</strong> If you need to scan multiple specific IP addresses or ranges, you can list them separated by spaces. For example, to scan <code>192.168.1.10</code>, <code>192.168.1.15</code>, and <code>192.168.2.0/24</code>, you would use:</li>
</ul>
<div class="dark bg-gray-950 rounded-md border- border-token-border-medium">
<div class="flex items-center relative text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md"> </div>
<div class="overflow-y-auto p-4" dir="ltr">
<pre contenteditable="false">nmap 192.168.1.10 192.168.1.15 192.168.2.0/24</pre>
</div>
</div>
<br />
<ul>
<li><strong>Use a File with IP Addresses:</strong> If you have a large number of IP addresses, you might want to use a file containing a list of IPs or ranges. Create a file (e.g., <code>iplist.txt</code>) with each IP or range on a new line, then use the <code>-iL</code> option:</li>
</ul>
<div class="dark bg-gray-950 rounded-md border- border-token-border-medium">
<div class="overflow-y-auto p-4" dir="ltr">
<pre contenteditable="false">nmap -iL iplist.txt</pre>
</div>
</div>]]></content:encoded>
						                            <category domain="https://www.hacktheforum.com/cyber-security/">Cyber Security</category>                        <dc:creator>kajal</dc:creator>
                        <guid isPermaLink="true">https://www.hacktheforum.com/cyber-security/how-can-scan-a-specific-range-of-ip-addresses-with-nmap/#post-465</guid>
                    </item>
							        </channel>
        </rss>
		