<?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 Muzammil khan on Medium]]></title>
        <description><![CDATA[Stories by Muzammil khan on Medium]]></description>
        <link>https://medium.com/@muzammilkhan13?source=rss-c7d0afa82d5d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*DAgxOjP5QYMsA5ZpRDyj3A.webp</url>
            <title>Stories by Muzammil khan on Medium</title>
            <link>https://medium.com/@muzammilkhan13?source=rss-c7d0afa82d5d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 03:03:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@muzammilkhan13/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[Nmap Commands Guide: From Basic to Advanced
A practical guide for penetration testers and bug…]]></title>
            <link>https://medium.com/@muzammilkhan13/nmap-commands-guide-from-basic-to-advanced-a-practical-guide-for-penetration-testers-and-bug-a977a629ee3d?source=rss-c7d0afa82d5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/a977a629ee3d</guid>
            <category><![CDATA[nmap-commands-guide]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[bug-hunter]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Muzammil khan]]></dc:creator>
            <pubDate>Sun, 26 Apr 2026 07:49:01 GMT</pubDate>
            <atom:updated>2026-04-26T07:49:01.710Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Nmap Commands Guide: From Basic to Advanced<br>A practical guide for penetration testers and bug bounty hunters</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LG2iXYVYnseJ0yRn0cwgAQ.jpeg" /></figure><p>⚠️ Legal Disclaimer: Only scan systems you own or have explicit written permission to test. Unauthorized scanning is illegal under computer crime laws in most countries.</p><p><strong>Introduction</strong></p><p>Nmap (Network Mapper) is a powerful open-source tool used to discover hosts, identify open ports, detect services, and uncover potential vulnerabilities.</p><p>This guide is structured from basic to advanced, combining essential commands with practical usage for real-world bug bounty hunting and penetration testing.</p><p><strong>1. Basic Nmap Commands</strong></p><p>1.1 Scan a Single Target<br>nmap &lt;target-ip&gt;<br>Scans the most common 1000 TCP ports on the target.</p><p>1.2 Scan Multiple Targets<br>nmap &lt;ip1&gt; &lt;ip2&gt;<br>Scans two or more specific IPs in one command.</p><p>1.3 Scan a Range of IPs<br>nmap 192.168.1.1–100<br>Scans all IPs from 192.168.1.1 to 192.168.1.100.</p><p>1.4 Scan an Entire Subnet<br>nmap 192.168.1.0/24<br>Discovers all live hosts across the entire /24 network.</p><p>1.5 Disable Ping (Scan Even if Host Blocks ICMP)<br>nmap -Pn &lt;target&gt;<br>Skips host discovery and treats the target as online — useful when ICMP is blocked by a firewall.</p><p><strong>2. Port Scanning Techniques</strong></p><p>2.1 Scan Specific Ports<br>nmap -p 80,443 &lt;target&gt;<br>Scans only port 80 (HTTP) and 443 (HTTPS).</p><p>2.2 Scan All Ports<br>nmap -p- &lt;target&gt;<br>Scans all 65,535 TCP ports. Use when thorough coverage is needed.</p><p>2.3 Fast Scan (Top 100 Ports)</p><p>nmap -F &lt;target&gt;<br>Scans only the top 100 most common ports for quick results.</p><p>2.4 Sequential Port Scan<br>nmap -r &lt;target&gt;<br>Scans ports in sequential order instead of random order.</p><p><strong>3. Service and Version Detection</strong></p><p>3.1 Detect Service Version<br>nmap -sV &lt;target&gt;<br>Identifies which service and version is running on each open port.</p><p>3.2 OS Detection<br>nmap -O &lt;target&gt;<br>Attempts to identify the operating system of the target. Requires root/admin privileges.</p><p>3.3 Aggressive Scan<br>nmap -A &lt;target&gt;<br>Combines service version detection (-sV), OS detection (-O), default scripts (-sC), and traceroute in a single scan.<br>⚠️ Noisy — avoid on production systems as it will trigger IDS/IPS alerts.</p><p><strong>4. Scan Types</strong></p><p>4.1 TCP SYN Scan (Stealth Scan)<br>nmap -sS &lt;target&gt;<br>Half-open scan — sends SYN, never completes the handshake. Less likely to appear in application logs. Requires root privileges.</p><p>4.2 TCP Connect Scan<br>nmap -sT &lt;target&gt;<br>Completes the full TCP handshake. Used when SYN scan is not possible (no root privileges).</p><p>4.3 UDP Scan<br>nmap -sU &lt;target&gt;<br>Scans UDP ports. Slow but critical — services like DNS (53), SNMP (161), and DHCP (67) run on UDP.</p><p>4.4 Null Scan<br>nmap -sN &lt;target&gt;<br>Sends packets with no TCP flags set. Used for firewall evasion. Does not work on Windows targets.</p><p>4.5 FIN Scan<br>nmap -sF &lt;target&gt;<br>Sends only the FIN flag. Another firewall evasion technique. Does not work reliably on Windows.</p><p>4.6 Xmas Scan<br>nmap -sX &lt;target&gt;<br>Sets FIN, PSH, and URG flags simultaneously — lights up like a Christmas tree. Used for firewall evasion. Does not work on Windows.</p><p><strong>5. Timing &amp; Performance</strong></p><p>Controls scan speed and noise level:</p><p>| Flag | Name | Description |<br>| — — — | — — — | — — — — — — -|<br>| -T0 | Paranoid | Slowest, maximum stealth |<br>| -T1 | Sneaky | Very slow |<br>| -T2 | Polite | Slower, reduced bandwidth usage |<br>| -T3 | Normal | Default setting |<br>| -T4 | Aggressive | Fast — recommended for labs and CTFs |<br>| -T5 | Insane | Fastest but unreliable on slow networks |</p><p>nmap -T4 &lt;target&gt;<br>Use -T3 for real engagements. Use -T4 only in lab or CTF environments.</p><p><strong>6. Output Format</strong></p><p>Normal Output<br>nmap -oN output.txt &lt;target&gt;<br>Saves results in human-readable format.</p><p>XML Output<br>nmap -oX output.xml &lt;target&gt;<br>Saves results in XML format — useful for importing into other tools.</p><p>Grepable Output<br>nmap -oG output.gnmap &lt;target&gt;<br>Saves results in a format easy to parse with grep or awk.</p><p>All Formats at Once<br>nmap -oA result &lt;target&gt;<br>Saves normal, XML, and grepable output simultaneously. Always use this — you’ll thank yourself during reporting.</p><p><strong>7. Nmap Scripting Engine (NSE)</strong></p><p>Default Script Scan</p><p>nmap -sC &lt;target&gt;<br>Runs a set of default scripts for common enumeration tasks.</p><p>Run Vulnerability Scripts<br>nmap — script vuln &lt;target&gt;<br>Checks for known CVEs, misconfigurations, and weak services.<br>⚠️ Aggressive and loud — some scripts can crash unstable services. Never run on production systems without explicit authorization.</p><p>Run a Specific Script<br>nmap — script http-title &lt;target&gt;<br>Runs a single named NSE script. Replace http-title with any script name as needed.</p><p><strong>8. Host Discovery</strong></p><p>ICMP Ping<br>nmap -PE &lt;target&gt;<br>Standard ICMP echo request to check if host is alive.</p><p>TCP SYN Ping<br>nmap -PS &lt;target&gt;<br>Sends a SYN packet to check host availability — useful when ICMP is blocked.</p><p>ACK Ping<br>nmap -PA &lt;target&gt;<br>Sends an ACK packet for host discovery — can bypass some stateless firewalls.</p><p>Skip Host Discovery<br>nmap -Pn &lt;target&gt;<br>Skips ping entirely and scans directly — use when the target blocks all ping methods.</p><p><strong>9. Firewall Evasion Techniques</strong></p><p>Fragment Packets<br>nmap -f &lt;target&gt;<br>Breaks packets into smaller fragments to bypass some IDS/IPS rules.</p><p>Decoy Scan<br>nmap -D RND:10 &lt;target&gt;<br>Mixes your real IP with 10 random decoy IPs to obscure the source of the scan.</p><p>Spoof Source IP<br>nmap -S &lt;fake-ip&gt; &lt;target&gt;<br>Sends packets with a spoofed source IP address.<br>⚠️ Evasion techniques are not always reliable — results depend heavily on the target’s security stack.</p><p><strong>10. Practical Commands (Bug Bounty Focus)</strong></p><p>Quick Recon<br>nmap -T4 -F &lt;target&gt;<br>Fast scan of top 100 ports for initial reconnaissance.</p><p>Full Deep Scan<br>nmap -p- -T4 -A &lt;target&gt;<br>Scans all ports with aggressive detection — thorough but noisy.</p><p>Stealth Scan with Version Detection<br>nmap -sS -sV -T3 &lt;target&gt;<br>Balances stealth and information gathering for real engagements.</p><p>Scan and Save All Results<br>nmap -A -oA scan_result &lt;target&gt;<br>Aggressive scan with output saved in all three formats.</p><p><strong>11. Real-World Workflow</strong></p><p>Step 1 — Find Live Hosts<br>nmap -sn 192.168.1.0/24</p><p>Step 2 — Scan All Open Ports<br>nmap -p- &lt;target&gt;</p><p>Step 3 — Identify Services<br>nmap -sV &lt;target&gt;</p><p>Step 4 — Run Default Scripts<br>nmap -sC &lt;target&gt;</p><p>Step 5 — Deep Scan<br>nmap -A &lt;target&gt;</p><p><strong>12. Key Takeaways</strong></p><p><strong>Always get written permission before scanning any target</strong><br>- Start with low-noise scans — don’t go aggressive immediately<br>- Use -T3 for real engagements, -T4 for labs and CTFs only<br>- Avoid -A blindly on production systems — it is loud<br>- Always save results using -oA<br>- Scan all ports with -p- when thorough coverage is needed<br>- UDP scans are slow but critical — do not skip them<br>- Null, FIN, and Xmas scans do not work reliably on Windows<br>- NSE vulnerability scripts can crash unstable services — use carefully<br>- Firewall evasion is not guaranteed to work</p><p><strong>Conclusion</strong></p><p>Nmap is not just a tool — it is a complete framework for reconnaissance and enumeration. Mastering it will sharpen your skills across bug bounty hunting, penetration testing, and real-world security assessments.</p><p>Start simple, understand every response, and gradually move towards advanced techniques like stealth scanning and evasion.</p><p><strong><em>If you found this useful, follow for more practical cybersecurity content.</em></strong></p><p>#Cybersecurity#Nmap#Penetration Testing#Ethical Hacking#Bug Bounty #Network Security#Information Security#Red Team#CTF# #Reconnaissance#Kali Linux#PortScanning#NmapCommands# WebSecurity#HackTheBox#TryHackMe</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a977a629ee3d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Cracked the eJPT Certification — Preparation Tips, Tools, and My 20-Hour Exam Experience]]></title>
            <link>https://medium.com/@muzammilkhan13/how-i-cracked-the-ejpt-certification-preparation-tips-tools-and-my-20-hour-exam-experience-067ae09fed4a?source=rss-c7d0afa82d5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/067ae09fed4a</guid>
            <dc:creator><![CDATA[Muzammil khan]]></dc:creator>
            <pubDate>Wed, 11 Mar 2026 05:19:00 GMT</pubDate>
            <atom:updated>2026-03-11T05:19:00.325Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi, I’m Muzammil Khan, a junior penetration tester and a part-time bug hunter. In this post, I will be sharing my journey of how I cracked the eJPT (eLearn Security Junior Penetration Tester) certification. If you are reading this article, there is a good chance that you are preparing for the eJPT exam or are curious to learn more about it and how to approach it.<br>Before attempting the exam, I read several articles and write-ups on the internet, especially on platforms like Medium and LinkedIn. Those articles provided useful insights about the exam, explaining what the exam environment looks like and how to prepare for it in general. In this post, I want to share my personal experience and the approach I followed while preparing for and attempting the exam so that anyone planning to take the eJPT can get a clearer idea of what to study and how to approach it.<br>In this article, I will explain the exam structure, my preparation strategy, the tools I used, and practical tips that helped me pass the eJPT exam.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*-uKnj-RWkL7PCKz3vIlWaQ.jpeg" /></figure><p><strong>What is the eJPT Exam? (A Common Question)</strong></p><p>The eJPT (eLearn Security Junior Penetration Tester) is an entry-level cybersecurity certification designed for beginners with basic knowledge of networking and security. The exam focuses on practical penetration testing skills such as foot printing, scanning, enumeration, vulnerability assessment, system and network attacks, web application testing, exploitation using the Metasploit framework, post-exploitation, host and network auditing, social engineering basics, and newer AI-enhanced penetration testing concepts.<br>It is mainly a practical exam where candidates identify vulnerabilities and exploit systems in a lab environment to answer the questions.</p><p><strong>eJPT Exam Information</strong><br><strong>Number of Questions: 45 (including flags)</strong><br><strong>Passing Score: 70% (around 32 out of 45)</strong><br><strong>Exam Nature: Open book — you can use your notes and even take help from AI tools for guidance</strong><br><strong>Test Delivery: Online (you can start the exam whenever you are ready)</strong><br><strong>Test Duration: 48 hours</strong><br>There’s no need to write a report like for OSCP or similar exams. You simply need to answer the questions and capture the required flags from the lab environment.<br><strong>My Story</strong><br>I purchased the eJPT exam voucher in late 2025 during a promotional offer.<br>The package included two exam vouchers valid for 6 months and access to the learning materials for 3 months.<br>Along with my college studies, I dedicated around 2–3 hours daily to learning and focused on understanding the concepts while maintaining proper notes.<br>The learning path includes video classes, MCQs, labs, and a CTF.</p><p><strong>My Approach to the Exam</strong><br>On exam day, I started the exam at around 10 AM. Since the exam does not require scheduling, I simply clicked Start Exam when I was ready.<br>After launching the lab, it took a few minutes to load the environment, which provided a browser-based Kali Linux system connected to the target machines.I began by reading the questions and started enumerating the network to identify the hosts that needed to be attacked.<br>During the exam, I noted every host I discovered along with its IP address and important details in my notebook.My main approach was to enumerate each system, find vulnerabilities, exploit them, and gain a reverse shell. The lab environment included multiple machines and services such as web applications like WordPress and Drupal that needed to be exploited.Whenever I got stuck on a question, I moved on to the next one instead of spending too much time on a single task. Taking short breaks helped me stay focused. After resting for a while, I returned and retried the difficult parts from the beginning.The exam took me around 20 hours to complete. Before submitting the exam, I carefully rechecked all the flags and answers to make sure everything was correct.</p><p><strong>The Lab Environment (Without Spoilers)</strong><br>This section explains the lab structure without revealing exam answers.<br>You have to find the hosts you want to attack because the exam does not provide IP addresses.<br>You must enumerate the network and discover vulnerabilities for each system.<br>The environment contains both Windows and Linux machines.<br>After identifying a vulnerability, you may need to exploit it and then perform privilege escalation, so it is important to understand privilege escalation techniques for both Windows and Linux.<br>In some situations, you may also need to crack password hashes.<br>Using the correct wordlists is important because they may contain the passwords. Understanding which wordlist to use can save a lot of time during brute-force attempts.<br>Patience is important. Since this is a beginner-level exam, you should avoid overthinking and carefully test each possible vulnerability.<br>Always read all the questions carefully because they often provide useful hints.<br>These tips helped me during the exam and may also help others preparing for the eJPT certification.</p><p><strong>Tools I Used During the Exam</strong><br>Some of the tools that helped me during the exam include:<br><strong>Nmap </strong>— used for network scanning and host enumeration<br><strong>Metasploit Framework</strong> — used for exploiting known vulnerabilities<br><strong>Hydra</strong> — used for brute-force attacks on login services<br><strong>WPScan </strong>— used for discovering vulnerabilities in WordPress installations<br>These tools helped me perform scanning, enumeration, exploitation, and password attacks during the exam.</p><p><strong>Final Words</strong><br>If you follow these tips and practice the labs thoroughly, your chances of passing the exam will increase significantly.<br>There are some ready-made cheatsheets available online that claim to contain the answers, but they may be incorrect. It is always better to rely on your own notes because they reflect what you actually learned during the training.<br>In my opinion, there is nothing more you need to study beyond the Penetration Testing Student learning path if you understand it well and practice the labs properly.</p><p><strong>Is eJPT Worth It?</strong><br>If you want hands-on knowledge in penetration testing, then it will definitely help you. As many professionals say in cybersecurity, strong fundamentals and networking knowledge are extremely important.<br>This certification helps you build that strong foundation and gives you practical experience with real penetration testing concepts.<br>This blog was written mainly to document my journey and experience, and I hope it can also help others who are preparing for the exam</p><p><strong><em>If you found this article helpful, consider following me on Medium for more cybersecurity and penetration testing content.<br></em></strong>#eJPT</p><p>#CyberSecurity</p><p>#PenetrationTesting</p><p>#EthicalHacking</p><p>#InfoSec</p><p>#BugBounty</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=067ae09fed4a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>