<?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 Aryamevada on Medium]]></title>
        <description><![CDATA[Stories by Aryamevada on Medium]]></description>
        <link>https://medium.com/@aryamevada2853?source=rss-d4dacd862100------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*69s6P_1xERFtVqy4UfmjJA.png</url>
            <title>Stories by Aryamevada on Medium</title>
            <link>https://medium.com/@aryamevada2853?source=rss-d4dacd862100------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 12:00:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aryamevada2853/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[Open Redirect on Logout Page — When Shopping Got Too Redirected]]></title>
            <link>https://medium.com/@aryamevada2853/open-redirect-on-logout-page-when-shopping-got-too-redirected-31549480a630?source=rss-d4dacd862100------2</link>
            <guid isPermaLink="false">https://medium.com/p/31549480a630</guid>
            <category><![CDATA[web-penetration-testing]]></category>
            <category><![CDATA[open-redirection]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[responsible-disclosure]]></category>
            <dc:creator><![CDATA[Aryamevada]]></dc:creator>
            <pubDate>Tue, 05 Aug 2025 12:21:26 GMT</pubDate>
            <atom:updated>2025-08-05T12:21:26.178Z</atom:updated>
            <content:encoded><![CDATA[<h3>Open Redirect on Logout Page — When Shopping Got Too Redirected</h3><p>“I came to shop, not to teleport!”<br>– Me, after discovering an Open Redirect bug on a shopping site’s logout page</p><p>So one night, I was casually poking around a shopping website. I wasn’t really hunting hard — more like passive recon + “let’s see what happens if I poke this” kinda vibe.</p><p>Nothing too flashy. Just me, my Burp Suite, and a hope that the logout button might misbehave.</p><p>I noticed the website had a logout feature that redirected me to their homepage (www.abc.com). But here’s the thing—I don’t trust redirects. They’re often hiding something... kinda like that one friend who says &quot;trust me bro.&quot;</p><p>So I intercepted the logout request in Burp and it looked something like this:</p><p>GET /logout?redirect=https://www.abc.com/home</p><p><em>A wild redirect parameter appears!</em></p><p>Naturally, I replaced <a href="https://www.abc.com/home">https://www.abc.com/home</a> with <a href="https://www.evil.com/">https://www.evil.com</a> (because… why not?)</p><p>GET /logout?redirect=https://www.evil.com</p><p>Boom. Got redirected. 💥</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/193/1*XGRQdcH4rQxZrH9BjWWePQ.jpeg" /></figure><p>To confirm it wasn’t some temporary dev mode or “browser thing,” I:</p><ul><li>Tried with multiple domains → all redirected.</li><li>Used //google.com and @ trickery → some got blocked, but not all.</li><li>Observed: No sanitization, no validation of domains, just a straight-up redirect.</li></ul><p>Basically, the logout endpoint was like:</p><blockquote>“Where do you wanna go? I’ll take you there, no questions asked.”</blockquote><h3>Impact</h3><p>While it wasn’t some remote code execution or full account takeover, Open Redirects have their own quiet power:</p><ul><li>Can be used in phishing attacks (“Click to logout!” → lands on evil domain)</li><li>Can help in bypassing redirect-based validations</li><li>And occasionally, they play a role in OAuth hijacking and session leaks</li></ul><p>So yeah — not <em>insane</em>, but <em>important</em>.</p><h3>Responsible Disclosure</h3><p>I reported it via the site’s responsible disclosure program. Sadly, no bounty (RIP my Starbucks hopes ☕), but they were super chill and patched it quickly.</p><p>No money, but hey — it was about the learning, the validation, and honestly… just the joy of getting redirected wins.</p><h3><strong>POC(proof of concept):</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZEJqN_AzdCBvFqWi1f7Ybg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dhNHPNi1Byi_vwjCoCRsCQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uTZ9z8LySKDVBznykaDc6g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31549480a630" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ How I Found a Password Reset Flaw That Led to Full Account Takeover ]]></title>
            <link>https://medium.com/@aryamevada2853/how-i-found-a-password-reset-flaw-that-led-to-full-account-takeover-9f76d138d052?source=rss-d4dacd862100------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f76d138d052</guid>
            <category><![CDATA[account-takeover]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[account-takeover-attacks]]></category>
            <category><![CDATA[forget-password]]></category>
            <category><![CDATA[passwords]]></category>
            <dc:creator><![CDATA[Aryamevada]]></dc:creator>
            <pubDate>Tue, 29 Jul 2025 12:37:49 GMT</pubDate>
            <atom:updated>2025-07-29T12:37:49.707Z</atom:updated>
            <content:encoded><![CDATA[<p>Password reset features are lifesavers when you forget your credentials, but sometimes, they’re the weakest link hackers exploit. During a recent penetration test, I came across a critical vulnerability in a “Forgot Password” flow that allowed me to hijack any user’s account with surprising ease. Here’s the story and the technical deep dive.</p><h3>The Curious Case of the “Extra Email” Injection</h3><p>While testing the password recovery mechanism, I noticed something unusual. The HTTP request responsible for initiating the password reset looked straightforward:</p><blockquote>POST /api/forgot-password</blockquote><blockquote>Content-Type: application/json</blockquote><blockquote>{</blockquote><blockquote>“email”: “victim@example.com”</blockquote><blockquote>}</blockquote><p>Simple, right? The system would generate a reset token and email it to the user’s registered address.</p><p>But curiosity got the better of me. What if I tampered with the request payload and added an extra email field?</p><blockquote>{</blockquote><blockquote>“email”: [“abc@gmail.com”,”xyz@gmail.com”]</blockquote><blockquote>}</blockquote><p>(Yes, that’s exactly what I tried — inserting a list/array of emails instead of a single string.)</p><p>The result? The system didn’t validate this input properly. Instead of sending the reset token to the legitimate victim’s email alone, it sent the token also to the other addresses I injected!</p><h3>How This Led to Account Takeover</h3><p>With the reset token now in my control, I could reset the victim’s password without their knowledge, logging into their account freely.</p><p>In essence, by manipulating the input format, I tricked the backend logic into sending password reset emails to addresses I controlled.</p><blockquote>This isn’t just a minor bug — it’s a full account takeover vulnerability.</blockquote><h3>Technical Breakdown</h3><ul><li>Input tampering: Injecting an array instead of a string in the email field.</li><li>Improper input validation: Backend failed to verify that the email parameter was a single valid string.</li><li>Token disclosure: Reset tokens were emailed to all addresses in the array.</li><li>Account compromise: Using the token received at my controlled email, I reset the victim’s password and gained access.</li></ul><h3>Proof of Concept</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jNa5hoZlVY0TDEWw" /><figcaption>fig.1 i entered legitimate user account</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xQF506lm9YbrQzwW" /><figcaption>fig.2 i saw a mail address field i can tamer with and then changed it to something like “email”: [“abc@gmail.com”,”xyz@gmail.com”]</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3--gPkiBsAXyube7" /><figcaption>fig.3 to my surprise it was my account who also got reset password token</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/214/1*x_xcVTUldpFhquPHhVkcbw.jpeg" /><figcaption>my literal reaction</figcaption></figure><p>Password recovery flows are often overlooked but represent a critical attack surface. This vulnerability highlights how simple input validation oversights can lead to devastating breaches.</p><p>Always validate and sanitize user inputs strictly, especially in security-sensitive features like password resets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/586/1*641MrbAg4ApLFtF8K8uS3A.png" /></figure><p>If you enjoyed this technical dive, feel free to connect or share your own stories! Remember — security is a team sport. Stay curious, stay ethical.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f76d138d052" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First Bug: The OTP Bypass That Made Me Feel Like a Superhacker ️‍♂️]]></title>
            <link>https://medium.com/@aryamevada2853/my-first-bug-the-otp-bypass-that-made-me-feel-like-a-superhacker-%EF%B8%8F-%EF%B8%8F-bc0c78d43697?source=rss-d4dacd862100------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc0c78d43697</guid>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[otp-bypass]]></category>
            <dc:creator><![CDATA[Aryamevada]]></dc:creator>
            <pubDate>Wed, 16 Jul 2025 06:14:08 GMT</pubDate>
            <atom:updated>2025-07-16T06:14:08.019Z</atom:updated>
            <content:encoded><![CDATA[<p>Let me set the scene.</p><p>It was 2 AM.<br>Laptop glowing.<br>Coffee cup dangerously close to tipping over.<br>Spotify blasting that <em>“study + hacker vibes”</em> playlist.<br>And there I was…staring at a login page like it was the pivot scene with Ross yelling <em>‘PIVOT! PIVOT!’</em> and me still not getting it</p><p>For months, I’d been telling myself:</p><p><em>“One day, Arya… one day you’ll find a real bug, not just play around in labs.”</em></p><p>And that night, the universe FINALLY whispered back:</p><p><em>“Hold my coffee.”</em> ☕🔥</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*RODIFjXGmESMZvCvsEBiXA.jpeg" /></figure><h3>The Rabbit Hole of OTP Bypasses</h3><p>Before I get to the good part, let me confess something.<br>I didn’t just wake up one morning knowing how to break OTP flows.<br>Nope.<br>I spent weeks reading 10–20 blogs, scrolling through write-ups on Medium, watching random YouTube videos titled <em>“Top 10 insane OTP bypasses (you won’t believe #7)”</em>.</p><p>Some were too advanced.<br>Some made no sense.<br>Some had screenshots with arrows and red circles like a conspiracy board.</p><p>But every night, I took notes.<br>“How do OTPs get validated?”<br>“What happens when you spam resend?”<br>“What if you intercept the request and replay it?”</p><p>My browser history was basically:</p><p>how to hack otp site:legal ways pls<br>burp suite otp bypass medium<br>does google hire people like me…… lol😭</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ost3sgMNdSoWzmcPKaocEw.jpeg" /></figure><h3>The Day I Met The Vulnerable OTP Flow</h3><p>Fast forward.<br>I’m enrolled in a responsible disclosure program for this mid‑sized e‑commerce site. (Yes, always legal — don’t test random sites, kids.)<br>They had this login flow where you enter your phone number, get a 6‑digit OTP, and verify. Standard stuff.</p><p>I decided to first play it safe — I entered the correct OTP to see what the response looked like.<br>Burp Suite showed me this neat little JSON:</p><p>{ “status”: “success”, “is_verified”: true }</p><p>…and that’s when my eyebrows went up.<br>There was no session token, no extra verification layer — just a simple flag saying is_verified: true. 🤨</p><p>So, my curious brain went:<br><em>“Wait… what happens if I just… change this?”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/290/1*pYVxWgQXqNtSlMyeOWa74Q.jpeg" /></figure><p>I made a second account to test (always isolate your tests!) and this time, I intercepted the response and <em>manually flipped</em> the flag:</p><p>“is_verified”: false</p><p>to</p><p>“is_verified”:true</p><p>Sent it forward… and boom.</p><p>Response: 200 OK<br>Logged in.<br>OTP? Completely bypassed.</p><p>No OTP validation, no server-side check. Just a single JSON field standing between me and the dashboard.</p><p>My brain at that moment:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/241/1*j_ZyNykD0GWZJ8yLnGpGTg.jpeg" /></figure><h3>The Adrenaline Rush</h3><p>For a moment, I sat there thinking, <em>Did I really just bypass OTP verification?</em><br>I opened the dashboard — yup, access granted.<br>I had actually found a bug. A real one.<br>Not a lab exercise. Not a CTF trick.<br>A live vulnerability.</p><p>I didn’t get paid for it. (They thanked me but had no bounty.)<br>But honestly? I didn’t care.<br>Because that moment felt better than money.<br>It felt like every late-night blog I read, every Burp payload I tried, every <em>“am I even good at this?”</em> self‑doubt… was worth it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*SQv34-JF7Kk4Cs2nxqwcNA.jpeg" /></figure><h3>Final Words</h3><p>If you’re a student or someone just starting out, trust me:<br>Your first bug will feel magical.<br>It might not make you rich, but it’ll give you something better — confidence and proof that you <em>can</em> do this.</p><p>So keep learning. Keep experimenting (legally).<br>And one day, you’ll find your own “first bug” story.<br>When that happens, remember to celebrate — maybe with pizza, maybe with memes — but definitely with pride.</p><p>Stay curious. Stay ethical.<br>Happy hunting! 🛡️💻✨</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc0c78d43697" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[So You Wanna Get Into Cybersecurity? A Confused Student’s Guide (By a Formerly Confused Student )]]></title>
            <link>https://medium.com/@aryamevada2853/so-you-wanna-get-into-cybersecurity-a-confused-students-guide-by-a-formerly-confused-student-ed1eb210bd2b?source=rss-d4dacd862100------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed1eb210bd2b</guid>
            <category><![CDATA[what-is-cybersecurity]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Aryamevada]]></dc:creator>
            <pubDate>Sat, 31 May 2025 13:46:45 GMT</pubDate>
            <atom:updated>2025-05-31T13:46:45.676Z</atom:updated>
            <content:encoded><![CDATA[<p>Let me paint you a picture.</p><p>I was in the second year of my Computer Science degree, casually surviving Java assignments, drinking too much coffee, and pretending to understand OS things. meanwhile, a friend mentioned something about cyber security. I was like, “Oh yeah, hacking and stuff?” He nodded, but what he said next hit me: “It’s not just hacking bro…there’s a whole industry behind it.” Me: “Wait…what?”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/278/1*c7uxV7EA6ygkwp9bEqlsZg.jpeg" /></figure><p>That moment set off a rabbit hole of a few late nights Googling, watching random YouTube videos, reading some Reddit threads I didn’t even understand — and now I am. A cybersecurity analyst. And this blog is for you — the slightly confused, probably-overwhelmed student who wants to do something cool, they just don’t know where to start. Let’s change that.</p><h3>So… What Is Cybersecurity Really?</h3><p>Cybersecurity is the art…..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*TCgguDcyoOzouyqIviNqHA.gif" /></figure><p>Cybersecurity is the art (and science) of protecting systems, networks, and data from unauthorized access, damage, or theft.</p><p>It’s similar to being the bouncer, bodyguard, and ninja — all in one.</p><p>But here’s the twist: cybersecurity isn’t just about <em>hacking into stuff</em>. It’s a vast universe.</p><h3>Cybersecurity Roles — Not Just “Hackers in Hoodies”</h3><p>Let’s clear the fog!Here are the primary lanes you can follow:</p><ul><li><strong>Red Team (Offensive Security)</strong> — These are the ethical hackers, penetration testers, and bug bounty hunters. Think <em>Mr. Robot </em>but legal.</li><li><strong>Blue Team (Defensive Security)</strong> — Defenders. These people analyze logs, detect threats, and patch vulnerabilities before attackers do.</li><li><strong>SOC Analysts (Security Operations Center)</strong> — The people monitoring alerts, responding to incidents in real-time. Basically, the <em>firefighters</em> of the cyber world.</li><li><strong>GRC (Governance, Risk &amp; Compliance) </strong>— Less hacking, more paperwork — but essential. They ensure security policies are followed and align with laws like GDPR.</li><li><strong>Security Engineers </strong>— They build tools, write scripts, harden infrastructure. If you love building and securing stuff, this is for you.</li><li><strong>Sales/Solutions Engineers</strong> — If you’re a people person with decent tech know-how, you can even <em>sell</em> cybersecurity tools and solutions!</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AOSxVo-LkOx8HyfgRbmSfw.jpeg" /></figure><h3>Okay But… Where Do I Begin?</h3><p>In cybersecurity, there’s no clear start — just patterns waiting to break.</p><h3>1. Understand the Basics</h3><ul><li><strong>Learn about basic computer networking.</strong> Understand the internet — IPs, DNS, HTTP, TCP/UDP. 👉 Start with NetworkChuck’s YouTube playlists(i would recommend it)</li><li><strong>Learn Basic Linux commands. </strong>You can just find any good linux tutorial video on youtube.</li><li><strong>Brush up on how websites work.</strong><br>HTML, JavaScript, Forms, Cookies — this helps if you ever get into web hacking.</li></ul><h3>2. Get Familiar with Cybersec Terminology (aka Learn to Speak Hacker-ish)</h3><p>Now, I get it — all these fancy cyber terms can sound like spells from a rejected <em>Harry Potter</em> book at first.<br>“SQL Injectionus! Cross-Site Scriptio!”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*2H1p11oh8S-0enpgnbwrwg.gif" /></figure><p>But trust me, once you start picking them up, they <em>click</em>. Start small. Know the difference between these common terms:</p><ul><li><strong>Vulnerability </strong>— A weakness in a system. Like leaving your house door unlocked.</li><li><strong>Exploit </strong>— Taking advantage of that weakness. Like a thief waltzing right in.</li><li><strong>Payload </strong>— The actual “damage” delivered via an exploit (e.g., stealing data, popping a reverse shell).</li><li><strong>Authentication vs Authorization</strong> –<br>🛂 <em>Authentication</em> is proving who you are.<br>🛑 <em>Authorization</em> is checking what you’re allowed to do once you’re in.</li></ul><p>Then there are the OG threats every beginner should know:</p><ul><li><strong>SQL Injection (SQLi)</strong> — Trick the database into spilling secrets.</li><li><strong>XSS (Cross-Site Scripting) </strong>— Sneak malicious scripts into a website.</li><li><strong>CSRF (Cross-Site Request Forgery)</strong> — Trick users into making unwanted actions.</li><li><strong>SSRF (Server-Side Request Forgery)</strong> — Make the server attack itself or others on your behalf.</li></ul><p><em>Do yourself a favor — Google “</em><a href="https://owasp.org/www-project-top-ten/"><em>OWASP Top 10</em></a><em>” and start exploring each one. It’s your cybersecurity starter pack, trust me</em></p><h3>Hands-On Time: Where The Real Magic Happens</h3><p>Reading is cool, but doing is better. Here are some LEGIT platforms where you can start hacking legally:</p><ul><li><a href="https://tryhackme.com/">TryHackMe </a>— Beginner friendly. Has structured paths like “Complete Beginner” or “Pre-Security.”</li><li><a href="https://portswigger.net/">PortSwigger </a>Web Security Academy — Great for web app security. Realistic labs. 100% free.</li><li><a href="https://hackthebox.com/">Hack The Box</a> — A bit more advanced, but incredibly rewarding once you get the hang of it.</li></ul><p>You can start with <em>TryHackMe</em> even if you’re a total beginner. I did. The “Intro to Cybersecurity” room felt like levelling up in a game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*u68O2_QRml_urSAmU2qb_w.jpeg" /></figure><h3>Tools You’ll Love (Eventually)</h3><p>You don’t need to master tools immediately, but here are the ones that’ll become your friends:</p><ul><li>Burp Suite — For web app testing</li><li>Wireshark — For packet analysis</li><li>Nmap — For network scanning</li><li>Metasploit — For exploiting known vulnerabilities</li><li>CyberChef — For data decoding wizardry</li></ul><h3>Career Paths and What Recruiters Look For</h3><p>You don’t need masters-level hacking to get a job. But here’s what helps:</p><ul><li>Skills &amp; Labs: Having practical skills versus just getting certified is important.</li><li>Certs: TryHackMe badges, Hack the Box ranks, or other entry-level certs like CompTIA Security+ or PNPT.</li><li>Portfolio: Write blogs (just like this), post your findings, post on LinkedIn/Threads — just show that you’re learning.</li><li>Internships &amp; communities: Participate in discord, follow cybersec professionals, attend CTF events, and apply for any position — even if it is small.</li></ul><h3><strong>☕ Final Thoughts From Your Confused-to-Confident Senior</strong></h3><p>You don’t need to be a coding god. You don’t need to know everything. You just need curiosity, consistency, and a little help from platforms like THM and PortSwigger.</p><p>Start small, stay consistent, and don’t fall into tutorial hell.<br>Break stuff. Fix it. Laugh at your mistakes.<br>Ask questions. Google everything. Then Google it again.<br>Cybersecurity is not just a career — it’s a mindset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/267/1*n9piVlL9Lw4j45CupZczhw.jpeg" /></figure><p>And remember:</p><p>Cybersecurity isn’t just a job — it’s digital rebellion with purpose. 😎<br>Stay curious. Stay ethical.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed1eb210bd2b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chaos Cat and a Reflected XSS]]></title>
            <link>https://medium.com/@aryamevada2853/chaos-cat-and-a-reflected-xss-e68402035af9?source=rss-d4dacd862100------2</link>
            <guid isPermaLink="false">https://medium.com/p/e68402035af9</guid>
            <category><![CDATA[reflected-xss]]></category>
            <dc:creator><![CDATA[Aryamevada]]></dc:creator>
            <pubDate>Fri, 30 May 2025 14:09:47 GMT</pubDate>
            <atom:updated>2025-05-30T14:09:47.951Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m Arya Mevada, a security analyst on a friendly company’s bug bounty program. One cloudy afternoon, armed with a latte and Burp Suite, I found something sneaky in their web application. The site allowed users to search for products by passing in a query parameter in the URL, and I noticed that whatever I put in the search box appeared on the results page exacted how I typed it. For example, visiting <a href="https://example.com/search?q=hello">https://example.com/search?q=hello</a> would render the page as “Search results for hello”. I thought to myself, “Is there XSS hiding here?”. I didn’t realize the chaos cat was just about to pounce.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/232/1*rYbzooauDmhHhZNaAfuamQ.jpeg" /></figure><h3>Spotting the Sneaky Parameter</h3><p>First, I checked how the search request worked. In Burp Proxy I intercepted the request when I typed <em>hello </em>and hit search:</p><p>GET /search?q=hello HTTP/1.1</p><p>Host: example.com</p><p>The response returned a regular HTML page, and I saw my word “hello” echoed inside a <em>&lt;span&gt; </em>element:</p><p>&lt;h1&gt;You searched for &lt;span class=”query”&gt;hello&lt;/span&gt;&lt;/h1&gt;</p><p>Seeing my input reflected like that set off red flags: if user input is echoed without sanitization, it might be vulnerable to reflected XSS. I tried a quick sanity check by changing the URL in the browser address bar to q=&lt;test&gt;. The page showed “You searched for &lt;test&gt;,” which meant my &lt; and &gt; were not being escaped. Aha! This looked promising.</p><p>Pro tip: If a parameter’s value is echoed back unescaped anywhere, it might allow a script to run. Time to test more rigorously with Burp Intruder!</p><h3>Engagement: Firing Up Burp Intruder</h3><p>I decided to let Burp Intruder automate the process of finding an XSS payload that works. Here are the steps I took:</p><ul><li>Send the request to Intruder: In Burp’s Proxy history, I right-clicked the intercepted search request and chose <em>“Send to Intruder.”</em></li><li>Configure positions: In the Intruder tab, under <em>Positions</em>, I first hit Clear § to remove all automatic markers. Then I highlighted only the q=hello part (the search query value) and clicked Add §. Now Intruder knows that the payload will go in place of hello.</li><li>Choose attack type: I selected Sniper (because we have only one injection point).</li><li>Prepare payloads: Next, under the <em>Payloads</em> tab, I chose a simple list payload set. For payloads I wanted a variety of XSS attempts. I loaded a custom list of test strings.</li><li>Launch attack: Finally, I clicked Start attack. Burp Intruder began sending requests like ?q=&lt;script&gt;alert(&#39;XSS&#39;)&lt;/script&gt;, ?q=&quot;&gt;&lt;img src=x onerror=alert(&#39;XSS&#39;)&gt; etc., replacing the hello each time. I watched the progress as Burp churned through the payloads.</li></ul><h3>Watching the Results</h3><p>After a short burst of traffic, Intruder had sent each payload and collected the responses. I switched to the Intruder &gt; Results pane. Initially, it was a wall of entries with status codes (mostly 200 OK). To find anomalies, I clicked “Length” to sort by response size. One entry caught my eye: the response was noticeably longer than the baseline, suggesting my payload text was reflected.</p><p>Clicking on that result, Burp showed the HTTP response. Indeed, my payload &lt;img src=x onerror=alert(&#39;XSS&#39;)&gt; was visible in the HTML source, inside the &lt;span&gt; element! It looked like this in the preview:</p><p>&lt;h1&gt;You searched for &lt;span class=”query”&gt;”&gt;&lt;img src=x onerror=alert(‘XSS’)&gt;&lt;/span&gt;&lt;/h1&gt;</p><p>Right away, I grinned. It was clear the HTML wasn’t escaping out of the span tag properly, allowing my &lt;img&gt; tag and onerror handler to slip in. This meant an attacker could inject arbitrary HTML/JS. Burp had highlighted the string, confirming that the “onerror” payload was literally in the response.</p><p>It felt like finding a hidden door in an old castle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/367/1*pH3qL9NiJwEKlWF0RteZXA.jpeg" /></figure><h3>Confirming the XSS</h3><p>Detecting the reflection in Burp was great, but I needed to verify it actually executed as a script in a browser. I copied the exact URL with the payload into my browser (chrome in burp repeater or a safe testing environment) to see what happens:</p><p><a href="https://example.com/search?q=">https://example.com/search?q=</a>&quot;&gt;&lt;img src=x onerror=alert(‘XSS’)&gt;</p><p>Sure enough, when the page loaded, the alert box popped up with the message “XSS”. Boom — confirmed. I had a valid reflected XSS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*nExLC0b9GdpLDdtoMbICuA.jpeg" /></figure><p><strong>Note: </strong>I can’t disclose the name of the website I tested due to confidentiality and lack of public disclosure permission. However, the methodology I used is generic and can be applied to any web app where you suspect reflected input. Always test responsibly with proper authorization.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e68402035af9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Complete Shodan guide and cheat sheet]]></title>
            <link>https://medium.com/@aryamevada2853/complete-shodan-guide-and-cheat-sheet-ee4c4a9a5c8a?source=rss-d4dacd862100------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee4c4a9a5c8a</guid>
            <dc:creator><![CDATA[Aryamevada]]></dc:creator>
            <pubDate>Tue, 27 May 2025 04:03:47 GMT</pubDate>
            <atom:updated>2025-05-27T04:03:47.613Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>INTRODUCTION</strong></p><p>Shodan stands out as a unique and powerful tool in cybersecurity and network analysis. Unlike web-based search engines that index web pages, Shodan analyses and indexes web-based search engines. This guide will teach you everything you need to know about Shodan — from accounting systems to advanced research techniques. Whether you are a security expert, researcher, or just curious, this comprehensive Shodan guide will give you the knowledge to use this tool effectively.</p><p><strong>What is Shodan?</strong></p><p>Shodan is basically a Search Engine for Internet of Things (IOT) Which allow user to find types of devices connected to internet, including servers, webcams, routers and many more. It scans through this device and provide detailed information about devices, such as their operating system, open ports, services running, software versions, and even default passwords in some cases.</p><p>It crawls the Internet, just like google and many platform does, providing much more detailed information to the user. Because of this, It is consider to be best starting point for pentesters as it assists them in identifying potential weak points within Wide Area Network(Internet).</p><p><strong>How does it work?</strong></p><p>Shodan works by searching the Internet and listing devices that answer his question. It collects information such as IP addresses, open ports, and flags that reveal information about the device and its software. This data is then indexed and searchable through Shodan’s interface<strong>.</strong></p><p><strong>Creating an Account</strong></p><p>To begin using Shodan, you’ll need to create an account. Follow these steps:</p><p>1. Visit the Shodan Website: Go to <a href="https://www.shodan.io/">Shodan.io</a>.</p><p>2. Sign Up: Click on the “Sign Up” button and enter your details. You can choose between a free account or a paid subscription, depending on your needs.</p><p>3. Verify Email: Confirm your email address to activate your shodan account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*S39SlwsOoUL41w7EUouypA.png" /><figcaption>Fig.1.1 Create your Account</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*MATRDddLFuQ3xZJsbBPQGw.png" /><figcaption>Fig.1.2 Login directly using google or Windows</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*yABZbzejwj5A_lS7tbQoIg.png" /><figcaption>Fig.1.3. Shodan Interface</figcaption></figure><p><strong>A few key features are:</strong></p><p><strong>Map of the earth</strong></p><p>You can view a map (a paid feature), which allows you to explore searches at a glance. It displays up to 1,000 results at a time, and as you zoom in/out, Maps changes the search query to only show results for the area you’re viewing. All the search engines on the main Shodan website also work on Maps.</p><p><strong>The pictures</strong></p><p>Shodan Images has a user-friendly interface around the “has screenshot filter” and is one of the services included with the Shodan subscription. It provides a quick way to search all screenshots collected by Shodan.</p><p><strong>Research</strong></p><p>This section on Shodan gives you a showcase of trending and popular searches. It includes categories such as “technical management systems”, “databases”, “network infrastructure”, and “video games”.</p><p><strong>Filters:</strong></p><p><strong>Common Operators</strong></p><p>· city: Search for devices in a specific city</p><p>· Country Searches for devices in a specific country</p><p>· geo: You can pass his coordinates</p><p>· hostname: Searches for values ​​that match the hostname</p><p>· net: Search based on IP or /x CIDR</p><p>· os: analysis based operating systems</p><p>· port: Find a unique open port</p><p>· Before/After: Find outcomes over a period of time</p><p><strong>Examples of research:</strong></p><p>Ø org:”amazon” ssl:” target” .</p><p>Ø ssl:”value” .</p><p>Ø html:”Dashboard Jenkins”.</p><p>Ø http.related item:”Jenkins”.</p><p>Ø http.title:”Received 302”</p><p>Ø http.Section”Java” no.</p><p>Ø ssl.cert.subject.cn:”value”.</p><p>Ø host name:”reserved value”</p><p>Advanced Search Techniques:</p><p>Advanced inspection techniques in Shodan enable more accurate and targeted searches, identifying specific devices or weaknesses. Here is the most useful information:</p><p>1. Combining Multiple Operators:</p><p>You can filter your searches by combining multiple search operators in a single query to get more accurate results.</p><p>Example: To find devices running Apache on port 80:</p><p>product:Apache port:80</p><p>Example: To find devices with a specific operating system and open port:</p><p>os:Windows port:22</p><p>2. Using filters for accuracy:</p><p>Filters help narrow down search results based on other criteria.</p><p>Ø Country filter: To search for devices in a specific country:</p><p>country:”India “</p><p>Ø City Filter: To see which devices are in a city:</p><p>city:”Ahmedabad”</p><p>Ø Organization Filter: To search for devices associated with a specific organization:</p><p>org: “Amazon”</p><p>3.Time-based Searches:</p><p>Shodan provides the ability to search based on the date devices were last seen or indexed.</p><p>Ø Recent Devices: To find devices that have been indexed recently:</p><p>before:2023–01–01</p><p>Ø Historical Data: To find devices indexed before a certain date:</p><p>after:2022–01–01</p><p>1. Using Geological information:</p><p>To find specific devices you need to put on latitude and longitude ranges:</p><p>Ø geo:37.7749,-122.4194</p><p>2. Search specific port:</p><p>Ø port:80 (HTTP)</p><p>Ø port:443 (HTTPS)</p><p>Ø port:3306 (MySQL)</p><p>3. Search by specific devices:</p><p>Ø product:”IP Camera”</p><p><strong>Conclusion</strong></p><p>You should now have a solid understanding of how to use shodan properly. As demonstrated, Shodan is an incredibly powerful tool, allowing penetration testers and security professionals to search the Internet for a wide range of devices, services and potential vulnerabilities</p><p>Whether you’re identifying exposed databases, identifying systems running outdated software, or infiltrating open ports and insecure systems, Shodan offers valuable insights that can give you penetration testing and safety assessments have greatly improved for</p><p>Developing accurate research questions and successful interpretation of results is key to harnessing the full potential of Shodan. As with any powerful tool, it is important to use shodan responsibly and within the legal limits of your practice. Respect privacy and legal guidelines to ensure your business makes the best contribution to cybersecurity.</p><p>Happy hunting, and may your efforts to acquire traps and equipment be productive and worthwhile!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee4c4a9a5c8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>