<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Fidha Ali on Medium]]></title>
        <description><![CDATA[Stories by Fidha Ali on Medium]]></description>
        <link>https://medium.com/@fathimafidhaalikk?source=rss-65c7a07a24df------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*XLzmKXw6DFK18mrK</url>
            <title>Stories by Fidha Ali on Medium</title>
            <link>https://medium.com/@fathimafidhaalikk?source=rss-65c7a07a24df------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 04:28:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fathimafidhaalikk/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A Practical Guide to Nmap : Essential Commands]]></title>
            <link>https://medium.com/@fathimafidhaalikk/a-practical-guide-to-nmap-essential-commands-06c277bb85e7?source=rss-65c7a07a24df------2</link>
            <guid isPermaLink="false">https://medium.com/p/06c277bb85e7</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[nmap]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[beginner]]></category>
            <dc:creator><![CDATA[Fidha Ali]]></dc:creator>
            <pubDate>Sun, 15 Nov 2026 11:23:09 GMT</pubDate>
            <atom:updated>2026-11-15T11:23:09.158Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GFmnCuSBpCKM16eJnKNNyQ.png" /></figure><blockquote><em>What is Nmap?</em></blockquote><p>Nmap, or Network Mapper, is a powerful tool used for network scanning and discovery. It is capable of discovering open ports, services running on those ports, operating systems, and devices running on those systems. Nmap sends packets to the destination during the discovery phase, showing whether the ports are open, closed, or filtered. It is widely used by network administrators, ethical hackers, and security researchers to map networks, discover hosts, detect services, and test for vulnerabilities.</p><blockquote><em>Why Nmap matters?</em></blockquote><p>Nmap is foundational in cybersecurity because it supports:</p><ul><li><strong>Host discovery</strong> (finding live devices)</li><li><strong>Port scanning</strong> (identifying open communication endpoints)</li><li><strong>Service &amp; version detection</strong> (revealing software versions)</li><li><strong>OS fingerprinting</strong> (estimating operating systems)</li><li><strong>Security auditing</strong> (detecting misconfigurations and vulnerabilities)</li><li><strong>Network troubleshooting</strong> (locating unreachable or misconfigured services)</li></ul><blockquote><strong>Nmap Basics: Essential Commands Every Beginner Should Know</strong></blockquote><p>If you are stepping into the world of network scanning and security auditing, Nmap is your best friend. Its powerful and surprisingly easy to get started with. Here is a quick cheat sheet of basic commands to help you explore networks safely and effectively.</p><ol><li>Ping Scan</li></ol><p>Checks which hosts are up without scanning ports. Useful for quickly identifying live devices on a network.</p><p>Example:</p><pre>nmap -sn 192.168.1.0/24</pre><p>2. Single Host Scan</p><p>Performs a default scan on the target IP, checking common ports and services.</p><p><strong>Example:</strong></p><pre>nmap 192.168.1.0</pre><p><strong>3. Scan Multiple Hosts</strong></p><p>Targets more than one IP in a single command.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*o9MYbGMNQjazTyRaAfKiEw.png" /></figure><pre>nmap 192.168.1.0 192.168.1.1</pre><p><strong>4. Scan an Entire Subnet</strong></p><p>Checks all hosts in the specified network range.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*FjJnA-Cm54qL1RsZ-Sd6xg.png" /></figure><pre>nmap 192.168.1.0/24</pre><p><strong>5. Service Version Detection</strong></p><p>Finds out the version of services running on open ports.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*chJIZFhd1cIz9Ds6LFNmDg.png" /></figure><pre>nmap -sV 192.168.1.0</pre><p><strong>6. Scan Specific Ports</strong></p><p>Targets only the specified ports.</p><p><strong>Example:</strong></p><pre>nmap -p 80,443 192.168.1.0</pre><p>7. Syn Scan</p><p>A fast and commonly used half‑open method that sends SYN packets to discover open ports without completing the full TCP handshake.</p><p><strong>Example:</strong></p><pre>sudo nmap -sS 192.168.1.0</pre><blockquote><em>ADVANCED SCANS IN NMAP:</em></blockquote><p>8. <strong>Aggressive Scan</strong></p><p>An Aggressive Scan in Nmap enables a set of features that gather detailed information about a target system. It’s triggered using the -A option and combines several scan types into one command.</p><ul><li><strong>OS Detection (</strong><strong>-O)</strong> — Uses active fingerprinting to guess the operating system.</li><li><strong>Version Detection (</strong><strong>-sV)</strong> — Probes services deeply to identify versions.</li><li><strong>Nmap Scripting Engine (NSE) Scripts</strong> — Runs default scripts, which can include vulnerability checks.</li><li><strong>Traceroute</strong> — Maps the network path to the target.</li></ul><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/478/1*7rLvkJ_9OC4C4x-J9V7Oxg.jpeg" /></figure><pre>nmap -A 192.168.1.0</pre><p>9. TCP Connect Scan</p><p>Uses the standard TCP handshake to detect open ports also known as a full open scan, it completes the TCP three-way handshake to reliably determine if a port is open, making it straightforward but easily detectable by intrusion detection systems.</p><p>Example:</p><pre>nmap -sT 192.168.1.0</pre><p>10. UDP Scan</p><p>Scans for open UDP ports, useful for discovering non-TCP services. A UDP scan checks for open UDP ports on a target system. It helps identify services that use the UDP protocol, which are often harder to detect than TCP services, and can reveal potential vulnerabilities and is very slow.</p><p>Example:</p><pre>sudo nmap -sU 192.168.1.0</pre><p>11. OS Detection</p><p>This scan tries to guess the operating system of the target based on how it responds to packets. This is useful to know if the target is running Windows, Linux or MacOS.</p><p>Example:</p><pre>sudo nmap -O 192.168.1.0</pre><p>12. Scan All Ports</p><p>By default, Nmap scans only the 1000 most common ports. To scan all the 65535 ports this command is used.</p><p>nmap -p- &lt;ip&gt;</p><p>This takes longer, but it finds hidden services that a normal scan would miss.</p><p>Example:</p><pre>nmap -p- 192.168.1.0</pre><p>13. Vulnerability Scan</p><p>Nmap has a built-in scripting engine called NSE. You can use it to check for known vulnerabilities. This will run a set of vulnerability detection scripts against the target.</p><p>Example:</p><pre>nmap --script vuln 192.168.1.10</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*4Mr3U1Z1Z5CSfB2sliFIQw.png" /></figure><blockquote>How to Read Nmap Output</blockquote><p>When you run a scan, you will mainly see three states:</p><p>Open: The port is listening and a service is running. You can connect to it.</p><p>Closed: The port is reachable, but no service is running on it.</p><p>Filtered: A firewall is blocking the probe, so Nmap cannot tell if the port is open or closed.</p><blockquote>Conclusion</blockquote><p>Nmap may look simple, but it is one of the most powerful tools in cybersecurity. Start simple use -sn to find live hosts, then use a basic scan to find open ports, then use -sV to identify service versions, and finally use -A when you need a detailed aggressive scan. Master Nmap, and you have mastered the first step of every penetration test: reconnaissance.</p><p>Only scan networks and systems you own or have permission to test . Scanning others without permission is illegal.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=06c277bb85e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>