<?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/">
  <channel>
    <title>DEV Community: Rameen Rizwan</title>
    <description>The latest articles on DEV Community by Rameen Rizwan (@rameen_rizwan01).</description>
    <link>https://dev.to/rameen_rizwan01</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4210315%2Fd9ae9cfc-a6f6-4d36-8f91-22bce395f06c.jpg</url>
      <title>DEV Community: Rameen Rizwan</title>
      <link>https://dev.to/rameen_rizwan01</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rameen_rizwan01"/>
    <language>en</language>
    <item>
      <title>Tryhackme Junior Pentester Path: Setting up dirb with WSL</title>
      <dc:creator>Rameen Rizwan</dc:creator>
      <pubDate>Tue, 27 Oct 2026 08:48:45 +0000</pubDate>
      <link>https://dev.to/rameen_rizwan01/tryhackme-junior-pentester-path-setting-up-dirb-with-wsl-5e4g</link>
      <guid>https://dev.to/rameen_rizwan01/tryhackme-junior-pentester-path-setting-up-dirb-with-wsl-5e4g</guid>
      <description>&lt;p&gt;I'm currently working through the Junior Penetration Tester path on TryHackMe, and I hit an immediate wall on the very first room: Offensive Security Info.&lt;/p&gt;

&lt;p&gt;The room expects you to run Linux tools like dirb from your own machine. If you're on Linux, great — you're done. But if you're on Windows, there's no built-in way to run these commands.&lt;/p&gt;

&lt;p&gt;This guide is exactly what I wish existed when I started: a step-by-step way to get a real Linux terminal on Windows so you can follow along in real time.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Prerequisite: Windows 10 or 11. No dual-boot, no VM, no extra downloads needed.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Install WSL (Windows Subsystem for Linux)&lt;/strong&gt;&lt;br&gt;
WSL lets you run a full Linux kernel inside Windows — no rebooting into another OS, no VirtualBox.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Press the Windows key, type PowerShell.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Right-click → Run as administrator.&lt;br&gt;
Run:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wsl &lt;span class="nt"&gt;--install&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;Wait for it to finish, then restart your computer when prompted.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Choose and Install a Linux Distribution&lt;/strong&gt;&lt;br&gt;
After restarting, open PowerShell as admin again.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;List what's available:&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wsl &lt;span class="nt"&gt;--list&lt;/span&gt; &lt;span class="nt"&gt;--online&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You'll see options like Ubuntu, Debian, and Kali. For pentesting, Ubuntu is a solid default (and Kali is available too if you want the full toolkit later).&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Install your pick:&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wsl &lt;span class="nt"&gt;--install&lt;/span&gt; Ubuntu-24.04
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On completion, a terminal window opens asking you to create a username and password. This is your Linux sudo account — it doesn't need to match your Windows credentials.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw99iet1424u3qhzu92n5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw99iet1424u3qhzu92n5.png" alt=" " width="799" height="308"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Install dirb&lt;/strong&gt;&lt;br&gt;
Open your new Linux terminal — either from PowerShell by typing ubuntu, or by pressing the Windows key and launching the Ubuntu app directly.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Then:&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt update
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;dirb &lt;span class="nt"&gt;-y&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 4: Verify It Works&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dirb http://example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you see a list of discovered directories and files, you're fully set up. 🎉&lt;/p&gt;

&lt;p&gt;Now head back to the TryHackMe room and run the same command against the target IP provided in Task 3.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A Note on the Rest of the Room&lt;/strong&gt;&lt;br&gt;
Once your environment works, the room itself is straightforward:&lt;/p&gt;

&lt;p&gt;Tasks 1–2 are intro reading and simple questions.&lt;br&gt;
Task 3 is where &lt;code&gt;dirb&lt;/code&gt; does the heavy lifting — point it at the target and read the output.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Wrapping Up&lt;/strong&gt;&lt;br&gt;
Setting up WSL takes about ten minutes and removes the single biggest friction point for Windows users starting in offensive security. Every future room in the Junior Pentester path gets easier from here.&lt;/p&gt;

&lt;p&gt;If this saved you some frustration, drop a 👍 — and follow along as I work through more of the path.&lt;/p&gt;

</description>
      <category>tryhackme</category>
      <category>cybersecurity</category>
      <category>pentesting</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
