<?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 Saher Mahtab on Medium]]></title>
        <description><![CDATA[Stories by Saher Mahtab on Medium]]></description>
        <link>https://medium.com/@mahtabanam544?source=rss-855de7fbfc77------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Jaoe9V4_PoAHFzSP</url>
            <title>Stories by Saher Mahtab on Medium</title>
            <link>https://medium.com/@mahtabanam544?source=rss-855de7fbfc77------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 17:08:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mahtabanam544/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[Docker Demystified: What I Learned as a Beginner]]></title>
            <link>https://medium.com/@mahtabanam544/docker-demystified-what-i-learned-as-a-beginner-8ff913f92f7e?source=rss-855de7fbfc77------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ff913f92f7e</guid>
            <dc:creator><![CDATA[Saher Mahtab]]></dc:creator>
            <pubDate>Wed, 11 Feb 2026 12:40:16 GMT</pubDate>
            <atom:updated>2026-02-17T06:07:27.423Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Problem: “It Works on My Machine”</h3><p>If you’ve ever worked on a team project, you’ve probably heard this:</p><blockquote>“It works on my machine.”</blockquote><p>And somehow…it never works on anyone else’s.</p><p>Different developers use different setups:</p><ul><li>Different operating systems</li><li>Different versions of Node, Python, or Java</li><li>Different database configurations</li><li>Different environment variables</li></ul><p>One developer runs Node 16.<br>Another has Node 18.<br>Someone forgot to install Redis.<br>Someone else is missing a system dependency.</p><p>And when a new developer joins the team?<br>They spend <strong>half a day just setting up the project.</strong></p><p>That’s when I realized:<br><strong>The real problem isn’t the code.</strong></p><p>It’s the <strong>environment.</strong></p><h3>Enter Docker: The Game Changer</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*fXu1gKTa1ml19vUO9e-4Xw.png" /></figure><p>Docker solves this exact problem.</p><p>In simple terms:</p><p><strong>Docker lets you package your application along with everything it needs to run-into a single container.</strong></p><p>That includes:</p><ul><li>The runtime (Node, Python, Java, etc.)</li><li>System libraries</li><li>Dependencies</li><li>Configuration</li></ul><p>For example, imagine I build a Node.js app that needs:</p><ul><li>Node 18</li><li>Express</li><li>MongoDB</li><li>Specific environment variables</li></ul><p>With Docker, I can bundle all of that into <strong>one container</strong>.</p><p>Now, instead of telling someone:</p><blockquote><em>“Install Node 18, then MongoDB, then run </em><em>npm install…”</em></blockquote><p>I just say:</p><blockquote><em>“Run this Docker container.”</em></blockquote><p>And it works. <strong>Everywhere.</strong></p><p>That’s why Docker became so popular - it removes environment inconsistencies completely.</p><h3>Containers vs Virtual Machines</h3><p>Before learning Docker, I kept hearing about <strong>Virtual Machines (VMs)</strong>. So what’s the difference?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JS6dA4_TMNMuNzdK71evVg.png" /></figure><p><strong>Virtual Machines:</strong></p><ul><li>Each VM includes a full operating system</li><li>Heavy and resource-intensive</li><li>Slower to start</li></ul><p><strong>Containers:</strong></p><ul><li>Share the host OS kernel</li><li>Lightweight</li><li>Start in seconds</li><li>Use fewer resources</li></ul><p>Think of containers as <strong>isolated environments inside your system-</strong>but without needing a full OS for each one.</p><p>That’s why they’re faster, smaller, and more efficient.</p><h3>Core Docker Concepts</h3><p>Before running any commands, I had to understand a few key concepts:</p><h4>Docker Image</h4><p>An <strong>image</strong> is like a blueprint.<br> It contains:</p><ul><li>Application code</li><li>Dependencies</li><li>Instructions to run</li></ul><p>Images are <strong>read-only templates-</strong>you can’t change them once they’re built.</p><h4>Docker Container</h4><p>A <strong>container</strong> is a running instance of an image.</p><p>If an image is a class, a container is an <strong>object</strong> created from that class.<br> You can <strong>start, stop, and delete containers</strong> easily.</p><h4>Dockerfile</h4><p>A <strong>Dockerfile</strong> is a text file with instructions to build an image.<br> It defines:</p><ul><li>Which base image to use</li><li>What dependencies to install</li><li>What command to run</li></ul><p>Think of it as the <strong>recipe for your image</strong>.</p><h4>Docker Registry</h4><p>A <strong>registry</strong> stores Docker images.<br> The most popular one is <strong>Docker Hub</strong>.</p><p>You can:</p><ul><li><strong>Pull images</strong> (download)</li><li><strong>Push images</strong> (upload)</li></ul><h4>Volumes</h4><p>Containers are temporary by default.<br> When a container stops, its internal data can be lost.</p><p><strong>Volumes</strong> let you <strong>persist data outside the container</strong> -very useful for databases.</p><h4>Ports &amp; Networking</h4><p>Containers are isolated by default.</p><p>If your app runs on port 3000 inside the container, you need to <strong>map it to your host</strong> to access it:</p><ul><li>Container port: 3000</li><li>Host port: 3000</li></ul><p>Now you can open it in your browser.</p><h3>How Docker Actually Works (Behind the Scenes)</h3><p>Docker has <strong>three main components</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*73SovBLxVEB0k_a08Ur5Ag.png" /></figure><h4>Docker Client</h4><p>This is what you interact with.<br> When you run commands like:</p><pre>docker build<br>docker run</pre><p>You’re using the <strong>client</strong>.</p><h4>Docker Daemon</h4><p>The daemon runs in the background.<br> It’s responsible for:</p><ul><li>Building images</li><li>Running containers</li><li>Managing networks and volumes</li></ul><p>The <strong>client talks to the daemon</strong> to get things done.</p><h4>Docker Registry</h4><p>A registry <strong>stores images</strong>.<br> If an image isn’t available locally, Docker <strong>pulls it from the registry</strong>.</p><h3>Workflow</h3><p>The flow looks like this:</p><p><strong>Client → Daemon → Image → Container</strong></p><ol><li>You give a command</li><li>The daemon processes it</li><li>An image is built or pulled</li><li>A container is created and runs</li></ol><p>It’s much simpler once you see the <strong>big picture</strong>.</p><h3>Building Your First Docker Image</h3><p>Let’s build a simple <strong>Node.js app</strong> and turn it into a Docker image.</p><h4>Step 1: Create a simple app</h4><pre>// app.js<br>const express = require(&quot;express&quot;);<br>const app = express();<br><br>app.get(&quot;/&quot;, (req, res) =&gt; {<br>  res.send(&quot;Hello from Docker!&quot;);<br>});<br>app.listen(3000, () =&gt; {<br>  console.log(&quot;Server running on port 3000&quot;);<br>});</pre><h4>Step 2: Create a Dockerfile</h4><pre>FROM node:18<br>WORKDIR /app<br>COPY package*.json ./<br>RUN npm install<br>COPY . .<br>EXPOSE 3000<br>CMD [&quot;node&quot;, &quot;app.js&quot;]</pre><h3>What each instruction does</h3><ul><li><strong>FROM</strong> → sets the base image</li><li><strong>WORKDIR</strong> → sets the working directory inside the container</li><li><strong>COPY</strong> → copies files from your local system into the container</li><li><strong>RUN</strong> → runs commands during the build (like installing dependencies)</li><li><strong>EXPOSE</strong> → documents which port the container will use</li><li><strong>CMD</strong> → default command when the container starts</li></ul><h3>Mini Demo: From Code to Running Container</h3><p>This was the moment everything clicked for me.</p><h4>Step 1: Build the image</h4><pre>docker build -t my-node-app .</pre><h4>Step 2: Check images</h4><pre>docker images</pre><h4>Step 3: Run the container</h4><pre>docker run -p 3000:3000 my-node-app</pre><p>Then I opened my browser at:</p><pre>http://localhost:3000</pre><p>And saw:</p><blockquote><em>Hello from Docker!</em></blockquote><p><strong>My app was running inside a container</strong>.</p><h3>Running &amp; Managing Containers in Real Life</h3><p>Here are the basic commands I actually use:</p><h4><strong>Image Commands</strong></h4><pre>docker build<br>docker images<br>docker rmi</pre><h4>Container Commands</h4><pre>docker run<br>docker ps<br>docker stop<br>docker rm</pre><p>Instead of trying to memorize everything, I focused on <strong>just four actions</strong>:</p><ul><li><strong>Build</strong></li><li><strong>Run</strong></li><li><strong>Stop</strong></li><li><strong>Remove</strong></li></ul><p>That’s enough to get started and feel in control.</p><h3>Understanding Image Layers, Caching &amp; Hashes</h3><p>This part made Docker feel <strong>really powerful</strong>.</p><p>Docker images are built in <strong>layers-</strong>each instruction in the Dockerfile creates a new layer.</p><p>That’s why:</p><ul><li>Builds can be <strong>cached</strong></li><li>Rebuilds are faster</li><li>Small changes don’t require rebuilding everything</li></ul><p>Each image also has a <strong>unique ID (hash)</strong>.<br>That hash represents its layers and content.<br>If nothing changes, Docker <strong>reuses existing layers</strong>.</p><p><strong>Smart, efficient, and time-saving.</strong></p><h3>What I Personally Learned About Docker</h3><p>At first, I was confused about:</p><ul><li>Image vs Container</li><li>Why my changes weren’t reflecting</li><li>Port mapping</li></ul><p>What finally clicked:</p><ul><li><strong>Image = Blueprint</strong></li><li><strong>Container = Running app</strong></li></ul><p>I also realized that Docker is <strong>not just about commands</strong>.<br>It changes how you think about applications -<strong>environments, isolation, reproducibility</strong>.</p><p>That mindset shift is powerful.</p><h3>When Should You Use Docker (And When Not To)</h3><p><strong>Use Docker When:</strong></p><ul><li>Working in teams</li><li>Building microservices</li><li>Setting up CI/CD pipelines</li><li>Deploying to cloud</li><li>Needing consistent environments</li></ul><p><strong>Maybe Don’t Use It When:</strong></p><ul><li>Writing a tiny script</li><li>Learning programming basics</li><li>Building something extremely simple</li></ul><p>Docker is <strong>powerful</strong>, but not always necessary.</p><h3>What’s Next After Docker?</h3><p>Once you’re comfortable with Docker, you can explore:</p><ul><li><strong>Docker Compose</strong> (multi-container apps)</li><li>Running <strong>database + backend together</strong></li><li><strong>Kubernetes</strong> (container orchestration)</li><li><strong>CI/CD integration</strong></li><li>Deploying to <strong>cloud providers</strong></li></ul><p>Docker is just the beginning.</p><h3>Finally</h3><p>Before Docker, deployment felt messy.<br>After learning Docker, I see applications differently.</p><p>It’s no longer:</p><blockquote><em>“It works on my machine.”</em></blockquote><p>It’s now:</p><blockquote><em>“It works everywhere.”</em></blockquote><p>And honestly, that’s a <strong>huge confidence boost</strong> as a developer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ff913f92f7e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hacking the Web, One Request at a Time: A Deep Dive into Burp Suite]]></title>
            <link>https://medium.com/@mahtabanam544/hacking-the-web-one-request-at-a-time-a-deep-dive-into-burp-suite-78ab31407d3f?source=rss-855de7fbfc77------2</link>
            <guid isPermaLink="false">https://medium.com/p/78ab31407d3f</guid>
            <dc:creator><![CDATA[Saher Mahtab]]></dc:creator>
            <pubDate>Thu, 08 May 2025 23:58:55 GMT</pubDate>
            <atom:updated>2025-05-31T09:33:51.329Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>“Security is not a feature. It’s a foundation.”</strong><br> Ever wondered how secure your web apps really are? Let’s dig deep — with Burp Suite.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LQlKVgKnVNvCt-fnQVDeqQ.jpeg" /><figcaption>How Does Burp Suite Work?</figcaption></figure><h3>Meet Burp Suite: The Swiss Army Knife of Web Security Testing</h3><p>Picture this: You’re a detective, but instead of chasing bad guys through dark alleys, you’re hunting down security bugs in your web app. That’s basically what <strong>Burp Suite</strong> lets you do — except it’s way cooler and involves less running.</p><p>Built by the folks at <strong>PortSwigger</strong> (seriously talented people), Burp Suite is basically every web security tool you could want, all rolled into one. Think of it as your personal security assistant that sits between your browser and the web server, watching everything that goes back and forth. Pretty neat, right?</p><h3><strong>Why Should You Even Care?</strong></h3><p>Look, I get it. You’ve got deadlines, sprint goals, and a product manager breathing down your neck. But here’s what I’ve learned after years in this game — finding security bugs after launch is like finding termites after buying a house. Expensive and really, really annoying.</p><p>In the old days, we’d just ask “<strong>Does it work?</strong>” Now we need to ask “<strong>Can someone break into it?</strong>” And honestly? They probably can. That’s where Burp comes in clutch.</p><h3>What is Burp Suite?</h3><p>Alright, let’s break this down. <strong>Burp Suite</strong> is essentially a <strong>proxy-based security testing platform</strong> that lets you mess with web traffic in ways that would make your InfoSec team either really happy or really nervous (depending on whether you told them first).</p><p>The beauty of it? It works like a middleman. Your browser talks to Burp, Burp talks to the server, and you get to see (and change) everything in between. It’s like having X-ray vision for HTTP requests.</p><h3><strong>Who Actually Uses This Thing</strong>?</h3><ul><li>Security researchers (the good guys in hoodies)</li><li>QA teams who’ve seen some stuff</li><li>DevSecOps folks trying to shift left</li><li>Developers who are tired of getting security bug reports</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cAAEAiDMZ7ou8ZEBwpdraA.png" /></figure><p><em>Developer Thought:</em></p><blockquote><em>“I thought Burp was only for hackers. Then I used it to test my login form and found three vulnerabilities. Mind = blown.”</em></blockquote><h3><strong>The Tools That’ll Make You Feel Like a Hacker</strong></h3><p>Burp Suite comes packed with powerful tools to supercharge your web security testing. Here’s a quick look at its key features:</p><h4>The Proxy</h4><p>This is your bread and butter. It catches all the traffic between your browser and the server. Want to see what data your app is actually sending? Boom. There it is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*Zc6648-CGLsTVtOBd5qktQ.jpeg" /></figure><h4>Repeater</h4><p>My personal favorite. Found an interesting request? Send it to Repeater and tweak it to your heart’s content. Change parameters, add headers, break things — it’s surprisingly therapeutic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*9xWau16HRR0Zth1wfpvwDw.jpeg" /></figure><h4>Intruder</h4><p>This is where things get spicy. Need to test 1000 different inputs? Intruder’s got your back. Perfect for when you want to check if someone used “password123” as their password (spoiler: someone did).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*LEIT1hSrvDPiEEVy15x4gg.jpeg" /></figure><h4><strong>Scanner (If You’ve Got Pro)</strong></h4><p>The lazy person’s dream. It automatically finds vulnerabilities while you grab coffee. Not perfect, but it catches the obvious stu ff you might miss when you’re tired.</p><h4>Sequencer</h4><p>Tests if your random tokens are actually random. Turns out, Math.random() isn’t always your friend.</p><h4>Extender</h4><p>Because someone, somewhere, has already written a plugin for that weird thing you’re trying to do.</p><h3><strong>How It Actually Works (The Fun Part)</strong></h3><p><strong>When you fire up Burp, here’s what happens:</strong></p><p>Your Browser → Burp (catches everything) → The Internet</p><p>But here’s where it gets interesting. Burp doesn’t just watch — it lets you pause, rewind, and remix. It’s like TiVo for web requests.</p><p>Pro tip: First time using it? Just turn on intercept and watch your jaw drop as you see all the stuff your browser sends behind the scenes. Cookies, headers, that tracking pixel from 2019 — it’s all there.</p><p>Here’s a quick flow of how Burp processes and manipulates traffic:</p><pre>[Browser] → [Burp Proxy] → [Web Server]<br>       ↕<br>   [Repeater]<br>   [Intruder]<br>   [Scanner]</pre><p><strong>What’s Happening Here?</strong></p><ul><li><strong>Burp Proxy</strong> intercepts requests from your browser so you can inspect, modify, or forward them.</li><li><strong>Repeater</strong> lets you manually re-send requests with tweaks to test different inputs.</li><li><strong>Intruder</strong> is your brute-force tool — useful for fuzzing, testing for weak credentials, and more.</li><li><strong>Scanner</strong> (Pro) automatically scans the traffic for common vulnerabilities like XSS, SQLi, and CSRF.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*nSMKPzYzFODc43BSfRibrA.png" /></figure><p><em>Developer Tip:</em></p><blockquote><em>“Turn Intercept </em><strong><em>on</em></strong><em>, load your app, and watch the magic happen. It’s like debugging… but for security.”</em></blockquote><h3>Why is Burp Suite Popular in the Cybersecurity World?</h3><p>Real talk? It’s because it works. Unlike that testing framework you tried once and gave up on, Burp actually makes sense after you use it for like, 20 minutes.</p><ul><li>It’s got everything in one place (no juggling 15 different tools)</li><li>You can customize literally everything</li><li>The community is huge and surprisingly helpful</li><li>It’s used in actual bug bounty programs (where people make real money)</li></ul><h3>Why Integrate Burp Suite into QA Processes?</h3><p>I’ve seen too many teams treat security testing like that gym membership they bought in January good intentions, zero follow-through. But here’s why Burp changes the game:</p><ul><li><strong>Find bugs early</strong> = Fix them when it’s cheap (not when TechCrunch is writing about your data breach)</li><li><strong>One tool, many tests</strong> = Your QA folks can do security testing without a PhD in cryptography</li><li><strong>Money talks</strong> = The cost of Burp Pro is nothing compared to one security incident. Trust me on this one.</li></ul><h3>Why Use Burp Suite for Web App Pentesting?</h3><p>Burp Suite is central to every stage of the <strong>web application pentesting workflow</strong>:</p><ol><li><strong>Mapping the Application</strong>: Discover endpoints and understand architecture.</li><li><strong>Intercepting Traffic</strong>: Analyze request/response cycles.</li><li><strong>Testing &amp; Exploiting Vulnerabilities</strong>: Manual and automated methods.</li><li><strong>Reporting</strong>: Document and communicate findings professionally.</li></ol><h3>Compared to OWASP ZAP?</h3><p>While OWASP ZAP is a great free alternative, <strong>Burp Suite</strong> offers:</p><ul><li>More robust tools (especially in the Pro edition).</li><li>A more powerful automated scanner.</li><li>Better extensibility through BApp Store.</li><li>Stronger community and resources.</li></ul><h3>Installing and Setting Up Burp Suite</h3><h3>Step 1: <strong>Getting Started (It’s Not That Scary)</strong></h3><ul><li>Head to PortSwigger’s site and grab Burp. Community edition is free (perfect for learning).</li><li>Install it like any other app. No weird dependencies or Docker containers required.</li><li>Fire it up. Click through the setup — just hit “Next” if you’re not sure. You can’t break anything (yet).</li></ul><h3>Step 2: Intercepting HTTP Traffic</h3><ul><li>In Burp, go to Proxy → Intercept and turn it ON</li><li>Use Burp’s built-in browser (it launches with one click)</li><li>Visit literally any website</li><li>Watch Burp catch the request like a boss</li><li>Click “Forward” to let it through</li><li>Toggle Intercept OFF when you’re done playing</li></ul><p>Congrats, you just did your first intercept. How does it feel to see the Matrix?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OTHu-gRB7gUAygjMOF5Nyw.png" /></figure><h3>Step 3: Modifying and Setting Target Scope for HTTP Requests</h3><h4><strong>Here’s a fun exercise:</strong></h4><ul><li>Find a test site (use PortSwigger’s labs — they’re meant to be hacked)</li><li>Add something to a shopping cart</li><li>Intercept the request</li><li>Find where it says “price=100”</li><li>Change it to “price=1”</li><li>Forward the request</li><li>Check if you just got a 99% discount</li></ul><p>If it worked, congrats — you found a vulnerability! If not, the developers actually did their job.</p><h4>Setting Target Scope</h4><ul><li>Define what you’re testing (your app, not Amazon)</li><li>In Target → Site map, right-click your site and add to scope</li><li>Filter out all the noise from ads, analytics, etc.</li><li>Stay in your lane</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*UX2lbrliHYVkD2lo2lJZ-g.png" /></figure><h3>Step 4: Using Burp Repeater to Reissue Requests</h3><ul><li>Find an interesting request in your HTTP history</li><li>Right-click → Send to Repeater</li><li>Change stuff, hit Send, see what happens</li><li>Repeat until you find something interesting or get bored</li></ul><p>I once spent 3 hours in Repeater testing edge cases. Found 5 bugs and forgot to eat lunch. Worth it.</p><h3>Step 5: Running a Vulnerability Scan</h3><p><strong>If you’ve got Pro (or using the trial):</strong></p><ul><li>Dashboard → New scan</li><li>Enter your target URL</li><li>Pick “Lightweight” unless you’ve got time to kill</li><li>Let it run while you do actual work</li><li>Come back to a list of potential issues</li></ul><p>Remember: automated scans find the obvious stuff. The fun bugs require human creativity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*LB0EBIYvvsqBolO6Ed7GnA.png" /></figure><h4>Proxy Configuration (Firefox Example)</h4><p>To intercept browser traffic:</p><ol><li>Go to Firefox Settings → Network Settings → Manual Proxy.</li><li>Set HTTP Proxy: 127.0.0.1 and Port: 8080.</li><li>Check “Use this proxy for all protocols”.</li><li>Install Burp’s CA certificate to intercept HTTPS traffic.</li></ol><h3>Real-Life Use Case: Brute-Forcing a Login</h3><h4>Step-by-step walkthrough:</h4><ol><li><strong>Launch Burp Suite</strong></li></ol><ul><li>Start Burp, turn <strong>Proxy → Intercept</strong> to <strong>On</strong>.</li><li>Set your browser to use Burp’s proxy.</li></ul><p><strong>2. Intercept Login Request</strong></p><ul><li>Visit a login page.</li><li>Enter dummy credentials.</li><li>Burp intercepts the POST request with username/password.</li></ul><p><strong>3. Send to Repeater</strong></p><ul><li>Right-click → <strong>Send to Repeater</strong>.</li><li>In Repeater, tweak values and observe responses.</li></ul><p><strong>4. Try Brute-Force via Intruder</strong></p><ul><li>Highlight username/password fields → Send to <strong>Intruder</strong>.</li><li>Under <strong>Positions</strong>, select attack type (e.g., Sniper).</li><li>Under <strong>Payloads</strong>, add username/password lists.</li><li>Click <strong>Start attack</strong> and analyze responses for successful attempts.</li></ul><h3>Common Vulnerabilities Testable with Burp Suite</h3><ul><li><strong>SQL Injection: </strong>Still alive and kicking in 2025. Try adding a single quote to input fields.</li><li><strong>XSS: </strong>JavaScript in places it shouldn’t be<strong>. Try &lt;script&gt;alert(‘XSS’)&lt;/script&gt; </strong>in every field.</li><li><strong>Broken Auth: </strong>Sessions that last forever, predictable tokens, the classics.</li><li><strong>CSRF: </strong>Making requests on behalf of users without them knowing.</li><li><strong>Insecure Deserialization: </strong>Complex but devastating when you find it.</li></ul><h3>Best Practices for QA Engineers</h3><ul><li><strong>Integrate Early</strong>: Incorporate Burp Suite into the early stages of development to catch vulnerabilities sooner.</li><li><strong>Collaborate with Developers</strong>: Share findings promptly to facilitate quick fixes.</li><li><strong>Continuous Learning</strong>: Stay updated with the latest security threats and Burp Suite features.</li><li><strong>Define Target Scope</strong>: Limit testing to authorized areas.</li><li><strong>Avoid Unauthorized Scanning</strong>: Never test production environments without permission.</li><li><strong>Regularly Save Projects</strong>: Prevent data loss by saving your work frequently.</li><li><strong>Utilize Browser Extensions</strong>: Tools like FoxyProxy can simplify proxy management.</li><li><strong>Learn Keyboard Shortcuts</strong>: Enhance efficiency by mastering Burp’s shortcuts.</li></ul><h3><strong>Extensions That’ll Level Up Your Game</strong></h3><p>Hit up the BApp Store and grab these:</p><ul><li><strong>Logger++</strong>: Because Burp’s default logging is… basic</li><li><strong>Autorize</strong>: Finds access control bugs while you sleep</li><li><strong>ActiveScan++</strong>: Makes the scanner actually good</li><li><strong>J2EEScan</strong>: For when you’re stuck testing Java apps</li></ul><h3>Challenges and Limitations</h3><ul><li><strong>Steep learning curve</strong> for beginners.</li><li><strong>Advanced features are Pro-only</strong>.</li><li><strong>Limited support for mobile or thick clients out-of-the-box</strong> (but possible with setup).</li></ul><h3>Conclusion</h3><p>Burp Suite isn’t just a tool — it’s a <strong>powerful ally</strong> for anyone serious about web application security. Whether you’re a developer trying to understand how data flows through your app, or a security enthusiast probing for bugs, Burp offers everything you need under one roof.</p><p>Ready to get your hands dirty?</p><p><strong>Download Burp Suite</strong> and try intercepting traffic from your own app.<br>Explore the PortSwigger Web Security Academy for hands-on labs.</p><p>And remember: The earlier you test, the safer your app will be.</p><h3>Further Resources</h3><ul><li><a href="https://portswigger.net/web-security">PortSwigger Web Security Academy</a></li><li><a href="https://owasp.org/www-project-juice-shop/">OWASP Juice Shop</a></li><li><a href="https://www.hackerone.com/">HackerOne</a> / <a href="https://www.bugcrowd.com/">Bugcrowd</a></li><li>YouTube Channels:<br> 🎥 <a href="https://www.youtube.com/c/InsiderPhD">InsiderPhD</a><br> 🎥 <a href="https://www.youtube.com/c/STOKfredrik">STÖK</a></li></ul><blockquote>And that’s a wrap! Keep it ethical, keep it sharp — and let Burp Suite help you track down those sneaky bugs before they cause trouble.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78ab31407d3f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Car Booking System with MERN Stack & DevOps: A Fullstack + CI/CD Journey]]></title>
            <link>https://medium.com/@mahtabanam544/building-a-car-booking-system-with-mern-stack-devops-a-fullstack-ci-cd-journey-a8546d1c3ee1?source=rss-855de7fbfc77------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8546d1c3ee1</guid>
            <dc:creator><![CDATA[Saher Mahtab]]></dc:creator>
            <pubDate>Tue, 29 Apr 2025 11:08:20 GMT</pubDate>
            <atom:updated>2025-04-29T11:08:20.533Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>From React to Railway — how I built and deployed a scalable car booking app using modern DevOps practices.</blockquote><h3>Introduction</h3><p>In the world of rapid software delivery, building apps isn’t just about writing code — it’s about deploying and maintaining them efficiently. That’s where <strong>DevOps</strong> comes in.</p><p>In this blog, I’ll walk you through how I built a <strong>Car Booking Web App</strong> using the <strong>MERN Stack</strong> and incorporated <strong>DevOps tools</strong> like <strong>GitHub Actions</strong>, <strong>Vercel</strong>, and <strong>Railway.app</strong> to automate testing and deployment.</p><h3>What is DevOps?</h3><p><strong>DevOps</strong> is a set of practices that combines software development (<strong>Dev</strong>) and IT operations (<strong>Ops</strong>). It aims to shorten the systems development life cycle and provide continuous delivery with high software quality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*q1otdq8sN2CFrh5O.png" /></figure><h3>DevOps Lifecycle</h3><p>The DevOps lifecycle encompasses the following phases:</p><ul><li><strong>Plan</strong>: Define project requirements and goals.</li><li><strong>Develop</strong>: Write and review code.</li><li><strong>Build</strong>: Compile code and manage dependencies.</li><li><strong>Test</strong>: Automated testing to ensure code quality.</li><li><strong>Release</strong>: Prepare for deployment to production.</li><li><strong>Deploy</strong>: Deploy applications to the production environment.</li><li><strong>Operate</strong>: Manage and monitor applications in production.</li><li><strong>Monitor</strong>: Continuously monitor performance and user feedback.</li></ul><h3>Tech Stack Overview</h3><h3>Frontend</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*croNaCrHrDdcN84UNBDtwg.jpeg" /></figure><ul><li><strong>React.js</strong> — A JavaScript library for building user interfaces.</li><li><strong>Tailwind CSS</strong> — A utility-first CSS framework for rapid UI development.</li><li><strong>Material UI</strong> — A React component library implementing Google’s Material Design.</li><li><strong>Axios</strong> — A promise-based HTTP client for making API requests.</li></ul><h3>Backend</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*ChBGHMGxG8R6BDEGL_ESMQ.jpeg" /></figure><ul><li><strong>Express.js</strong> — A minimal and flexible Node.js web application framework.</li><li><strong>MongoDB</strong> — A NoSQL database for storing application data.</li></ul><h3>Middleware</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/433/1*22xmarew3OgKhOWXI5tDTQ.jpeg" /></figure><ul><li><strong>JWT</strong> — Secure authentication</li><li><strong>Cloudinary</strong> — Cloud-based image and video management.</li><li><strong>Multer</strong> — Middleware for handling multipart/form-data, primarily for file uploads.</li><li><strong>Nodemailer</strong> — Module for sending emails from Node.js applications.</li></ul><h3>DevOps Tools</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*xBGGYd_lfS4CIGmCS7Bpsw.png" /></figure><ul><li><strong>GitHub Actions</strong> — CI/CD automation</li><li><strong>Vercel</strong> — Frontend hosting</li><li><strong>Railway.app</strong> — Backend deployment &amp; DB</li></ul><h3>Frontend: Booking Cars Made Easy</h3><p>The UI is built using <strong>React + Tailwind CSS + Material UI</strong>, offering a responsive and clean experience.</p><h3>Car Listing Page</h3><pre>// src/components/CarCard.jsx<br>import { Card, CardContent, Typography, Button } from &quot;@mui/material&quot;;<br><br>function CarCard({ car }) {<br>  return (<br>    &lt;Card className=&quot;m-4&quot;&gt;<br>      &lt;img src={car.imageUrl} alt={car.name} className=&quot;w-full h-48 object-cover&quot; /&gt;<br>      &lt;CardContent&gt;<br>        &lt;Typography variant=&quot;h6&quot;&gt;{car.name}&lt;/Typography&gt;<br>        &lt;Typography variant=&quot;body2&quot;&gt;{car.description}&lt;/Typography&gt;<br>        &lt;Button variant=&quot;contained&quot; color=&quot;primary&quot;&gt;Book Now&lt;/Button&gt;<br>      &lt;/CardContent&gt;<br>    &lt;/Card&gt;<br>  );<br>}</pre><h3>Axios Example for Fetching Cars</h3><pre>// src/api.js<br>import axios from &#39;axios&#39;;<br><br>export const getCars = async () =&gt; {<br>  const response = await axios.get(`${import.meta.env.VITE_API_URL}/cars`);<br>  return response.data;<br>};</pre><h3>Backend: Express.js + MongoDB API</h3><p>The backend is a RESTful API built with <strong>Express.js</strong>, interfacing with <strong>MongoDB</strong> to manage data related to users, cars, and bookings.</p><h3>Booking Route</h3><pre>// routes/bookings.js<br>const express = require(&quot;express&quot;);<br>const router = express.Router();<br>const Booking = require(&quot;../models/Booking&quot;);<br>const { verifyToken } = require(&quot;../middleware/jwt&quot;);<br><br>router.post(&quot;/&quot;, verifyToken, async (req, res) =&gt; {<br>  try {<br>    const newBooking = new Booking(req.body);<br>    await newBooking.save();<br>    res.status(201).json(newBooking);<br>  } catch (err) {<br>    res.status(500).json({ error: err.message });<br>  }<br>});<br><br>module.exports = router;</pre><h3>JWT Middleware</h3><pre>// middleware/jwt.js<br>const jwt = require(&quot;jsonwebtoken&quot;);<br><br>exports.verifyToken = (req, res, next) =&gt; {<br>  const token = req.headers.authorization?.split(&quot; &quot;)[1];<br>  if (!token) return res.status(403).json({ message: &quot;No token provided&quot; });<br>  jwt.verify(token, process.env.JWT_SECRET, (err, decoded) =&gt; {<br>    if (err) return res.status(401).json({ message: &quot;Invalid token&quot; });<br>    req.user = decoded;<br>    next();<br>  });<br>};</pre><h3>Image Uploads with Cloudinary and Multer</h3><p>Users can upload images of cars, which are then stored in <strong>Cloudinary</strong>. <strong>Multer</strong> is used to handle the file upload process.</p><pre>// middleware/upload.js<br>const multer = require(&quot;multer&quot;);<br>const storage = multer.memoryStorage();<br>module.exports = multer({ storage });</pre><pre>// utils/cloudinary.js<br>const cloudinary = require(&quot;cloudinary&quot;).v2;<br><br>cloudinary.config({<br>  cloud_name: process.env.CLOUD_NAME,<br>  api_key: process.env.CLOUD_KEY,<br>  api_secret: process.env.CLOUD_SECRET,<br>});<br><br>exports.uploadToCloudinary = async (buffer) =&gt; {<br>  return new Promise((resolve, reject) =&gt; {<br>    cloudinary.uploader.upload_stream((error, result) =&gt; {<br>      if (result) resolve(result);<br>      else reject(error);<br>    }).end(buffer);<br>  });<br>};</pre><h3>Nodemailer: Sending Booking Confirmation</h3><p>Upon successful booking, users receive a confirmation email.</p><pre>// utils/email.js<br>const nodemailer = require(&quot;nodemailer&quot;);<br><br>exports.sendBookingEmail = async (userEmail, car) =&gt; {<br>  const transporter = nodemailer.createTransport({<br>    service: &quot;Gmail&quot;,<br>    auth: {<br>      user: process.env.EMAIL_ID,<br>      pass: process.env.EMAIL_PASS,<br>    },<br>  });<br><br>await transporter.sendMail({<br>    from: &#39;&quot;CarBooking&quot; &lt;no-reply@carbooking.com&gt;&#39;,<br>    to: userEmail,<br>    subject: &quot;Booking Confirmed!&quot;,<br>    html: `&lt;h2&gt;Your booking for ${car.name} is confirmed.&lt;/h2&gt;`,<br>  });<br>};</pre><h3>GitHub Actions: CI/CD Pipeline</h3><p><strong>GitHub Actions</strong> is used to automate the build and deployment process whenever changes are pushed to the repository.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*iuDBt3pM-vrlKh07.png" /><figcaption>Automate Your Workflow with GitHub Actions</figcaption></figure><p>Each time I push code to GitHub, a workflow is triggered to build, lint, and deploy the app.</p><pre># .github/workflows/deploy.yml<br>name: Deploy Frontend<br><br>on:<br>  push:<br>    branches: [ main ]<br><br>jobs:<br>  build:<br>    runs-on: ubuntu-latest<br>    steps:<br>      - name: Checkout code<br>        uses: actions/checkout@v2<br><br>      - name: Install dependencies<br>        run: npm install<br><br>      - name: Build<br>        run: npm run build<br><br>      - name: Deploy to Vercel<br>        run: vercel --prod --token=${{ secrets.VERCEL_TOKEN }}</pre><p>Easily build, package, release, update, and deploy your project in any language — on GitHub or any external system — without having to run code yourself.</p><h3>Deployment</h3><h3>Frontend on Vercel</h3><p>I deployed the frontend of my car booking system on <strong>Vercel</strong>, a platform built for frontend frameworks like React. One of the best features of Vercel is its <strong>automatic deployment</strong> — every time I push code to the main branch on GitHub, Vercel picks it up, builds the app, and deploys it instantly. This means I can focus on coding while Vercel handles the heavy lifting of hosting and deployment.</p><p>It also offers <strong>instant rollback</strong> capabilities. If a deployment introduces a bug, I can revert to a previous version with just one click — no complicated configurations required.</p><p>And out of the box, Vercel provides <strong>HTTPS</strong> (secure by default) and a <strong>global CDN</strong>, ensuring my frontend loads quickly and securely, no matter where users are accessing it from.</p><ul><li>Automatic deployment on main branch push</li><li>Instant rollback capability</li><li>HTTPS &amp; CDN by default</li></ul><h3>Backend on Railway</h3><p>For the backend, I chose <strong>Railway</strong> — a developer-friendly platform that makes deploying backends feel effortless. My Express.js API, along with the MongoDB database, was deployed in just a few clicks.</p><p>One of Railway’s standout features is its <strong>seamless integration with GitHub</strong>. As soon as I push changes to my repository, Railway automatically rebuilds and redeploys the backend — no manual steps needed.</p><p>It also offers a <strong>clean and intuitive dashboard</strong> where I can view <strong>logs in real time</strong>, making debugging and monitoring smooth and efficient. Managing <strong>environment variables (secrets)</strong> is straightforward too, with a dedicated section for securely storing keys like JWT_SECRET, DB_URI, and more — all without touching .env files locally.</p><p>In short, Railway simplified backend deployment and infrastructure management, letting me focus entirely on building features, not fighting servers.</p><ul><li>Deploys Express API + MongoDB</li><li>Easy logs, secrets management</li><li>Connected directly to GitHub repo</li></ul><h3>Final Output Demo</h3><p>Here’s how everything works together:</p><ul><li>User visits frontend hosted on <strong>Vercel</strong></li><li>Signs in (secured by JWT)</li><li>Uploads car image (Cloudinary + Multer)</li><li>Books a ride (MongoDB)</li><li>Gets a confirmation email (Nodemailer)</li><li>DevOps tools ensure automatic build and deployment on every commit</li></ul><h3>Conclusion</h3><p>Through this project, I realized how powerful DevOps truly is — not just in helping me write better code, but in transforming how I deliver it. With tools like <strong>GitHub Actions</strong>, <strong>Vercel</strong>, and <strong>Railway</strong>, I was able to automate deployments, ensure continuous integration, and push updates with <strong>zero downtime</strong>. These tools elevated my full-stack development skills by making the process faster, more reliable, and production-ready — all without the usual deployment headache</p><p>Thanks for reading! 🙌</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8546d1c3ee1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>