<?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 Aashraymt on Medium]]></title>
        <description><![CDATA[Stories by Aashraymt on Medium]]></description>
        <link>https://medium.com/@aashraymt?source=rss-90659ba94e94------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*7wXVlfH686E2Y-xy</url>
            <title>Stories by Aashraymt on Medium</title>
            <link>https://medium.com/@aashraymt?source=rss-90659ba94e94------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 10:55:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aashraymt/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[picoCTF : SQLiLite]]></title>
            <link>https://aashraymt.medium.com/picoctf-sqlilite-0fda3063bf55?source=rss-90659ba94e94------2</link>
            <guid isPermaLink="false">https://medium.com/p/0fda3063bf55</guid>
            <category><![CDATA[sql-injection]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[picoctf]]></category>
            <dc:creator><![CDATA[Aashraymt]]></dc:creator>
            <pubDate>Tue, 03 Jun 2025 06:43:15 GMT</pubDate>
            <atom:updated>2025-06-03T06:44:53.865Z</atom:updated>
            <content:encoded><![CDATA[<h3>picoCTF — SQLiLite</h3><p>Hello everyone, and welcome back to my CTF journey!<br> In this Medium article, I’m breaking down the SQLiLite challenge from PicoCTF — a classic web challenge that introduces SQL injection in its rawest form. This moderately simple yet foundational exercise walks you through bypassing login authentication using SQLi, inspecting HTML source code for hidden elements, and ultimately extracting the flag. Whether you’re new to CTFs or revisiting the basics, this challenge is a great reminder of how powerful a single quote can be. Let’s dive in!</p><p><strong>Difficulty</strong>: Medium<br> <strong>Category</strong>: Web Exploitation<br> <strong>Tags</strong>: #SQLi #authentication_bypass #source_inspection</p><h3>Introduction</h3><p>This challenge revolves around exploiting a classic SQL injection vulnerability in a login form. It’s a straightforward, real-world scenario where improperly sanitized input allows attackers to bypass authentication checks. The goal is to gain access and locate the hidden flag.</p><h3>Step-by-Step Walkthrough</h3><h3>Step 1: Analyze the Login Form</h3><p>Upon visiting the challenge URL, we’re presented with a standard login interface asking for a <strong>username</strong> and <strong>password</strong>.</p><p>Given the name SQLiLite, it&#39;s reasonable to assume SQL injection will be the vector here. Let&#39;s test a basic payload.</p><h3>Step 2: Attempt SQL Injection</h3><p>We try the classic SQL injection string in the <strong>username</strong> field:</p><pre>&#39; OR &#39;1&#39;=&#39;1&#39; --</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*nF7uryZ-zGUIIDeQuU8rGQ.png" /></figure><p>Leave the password blank and click <strong>Login</strong>.</p><p><strong>Why this works</strong>:<br> This input modifies the SQL query as follows:</p><pre>SELECT * FROM users WHERE name=&#39;&#39; OR &#39;1&#39;=&#39;1&#39; --&#39; AND password=&#39;&#39;</pre><p>The OR &#39;1&#39;=&#39;1&#39; condition always evaluates to true, and -- comments out the rest of the query (including the password check), effectively bypassing authentication.</p><h3>Step 3: Successful Login</h3><p>The page now responds with:</p><p>At first glance, no flag is visible on the main UI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*SdoYchXfy5Hcl3Lv_Hzsrw.png" /></figure><h3>Step 4: Inspect the Source</h3><p>Right-click the page and choose <strong>View Page Source</strong> (or press Ctrl+U).</p><p>Scroll through the HTML and you’ll find this hidden line:</p><pre>&lt;p hidden&gt;Your flag is: picoCTF{&lt;redacted_flag&gt;}&lt;/p&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*MeLhn5k5EQRrVwlakzCMkg.png" /></figure><p>Boom — there’s our flag hidden in plain sight!</p><h3>Key Observations</h3><ul><li>The challenge is a textbook example of SQLi via unsanitized user input in a login form.</li><li>Even though the login was bypassed, the flag wasn’t displayed directly — requiring a simple but important <strong>source inspection</strong> step.</li><li>The HTML element containing the flag used the hidden attribute, showing how flags may be obscured on the frontend even after successful exploitation.</li></ul><h3>What I Learned</h3><p>This challenge was a solid refresher on SQL injection and the importance of understanding backend query logic. It also reinforced the habit of inspecting HTML source code after exploitation — a small but essential step in many CTFs.</p><p>Key takeaways:</p><ul><li>Basic SQLi still works when input isn’t properly sanitized.</li><li>Bypassing login doesn’t always directly reveal the flag — inspect the environment further.</li><li>The -- sequence is critical to comment out unwanted SQL conditions after injection.</li></ul><p>Flag captured. Challenge complete. 💥</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0fda3063bf55" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[picoCTF — Roboto Sans]]></title>
            <link>https://aashraymt.medium.com/picoctf-roboto-sans-69c16ac890af?source=rss-90659ba94e94------2</link>
            <guid isPermaLink="false">https://medium.com/p/69c16ac890af</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[picoctf]]></category>
            <dc:creator><![CDATA[Aashraymt]]></dc:creator>
            <pubDate>Fri, 02 May 2025 16:07:18 GMT</pubDate>
            <atom:updated>2025-05-02T16:07:18.825Z</atom:updated>
            <content:encoded><![CDATA[<h3>picoCTF — Roboto Sans</h3><p><strong>Hello everyone, and welcome back to my CTF journey!</strong><br> In this Medium article, I’m diving into the <strong>Roboto Sans</strong> challenge from <strong>PicoCTF</strong> — a fun and moderately tricky web challenge that involves exploring hidden files, decoding Base64 strings, and thinking like a crawler. This writeup walks you through how I navigated the web app, uncovered clues in the page source, found a robots.txt file, and ultimately pieced together the path to the flag. Let’s get into it!</p><p>Difficulty: Medium</p><p>tags: #picoctf</p><p>Enter into the CTF page and explore the all the web pages. Also, inspect the page source and notice a message embedded in the code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/1*DBv-QAdd93RiZ3boZ6jEbA.png" /></figure><p>Since it is a web application, lets check whether it consists of a robots.txt file. Tamper and add /robots.txt/ to the URL.</p><p>Yes, it exists and seems interesting!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/408/1*fZWN03jkX2yORBL4RZbVsg.png" /></figure><p>Decode each of the text and look for the flag in each of them.</p><p>ZmxhZzEudHh0 → flag1.txt</p><p>anMvbXlmaWxlLnR4dA== → js/myfile.txt</p><p>svssshjweuiwl;oiho.bsvdaslejg → Could not decode</p><p>Visit the second decoded URL path, retrieve and submit the flag.</p><p>Hurray! <strong>CTF completed.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*NL0xpseil-hQyAch4krC1Q.png" /></figure><p>This challenge was a great reminder that <strong>even the smallest web files like </strong><strong>robots.txt can hide critical information</strong>. With the help of some basic URL tampering, decoding techniques, and attention to detail, I was able to uncover the hidden flag.</p><p>Thanks for reading, and stay tuned for more write-ups from my journey. Until next time — <strong>happy hacking!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69c16ac890af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[picoCTF — Web Decode]]></title>
            <link>https://aashraymt.medium.com/picoctf-web-decode-0a71ad402019?source=rss-90659ba94e94------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a71ad402019</guid>
            <category><![CDATA[picoctf]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[webdecode]]></category>
            <dc:creator><![CDATA[Aashraymt]]></dc:creator>
            <pubDate>Fri, 02 May 2025 15:55:56 GMT</pubDate>
            <atom:updated>2025-05-02T15:55:56.540Z</atom:updated>
            <content:encoded><![CDATA[<h3>picoCTF — Web Decode</h3><p><strong>Hello everyone, and welcome to my first Medium article!</strong><br> This post kicks off my journey into Capture The Flag (CTF) challenges, starting with a beginner-friendly one from <strong>PicoCTF</strong> called <strong>“Web Decode.”</strong> In this challenge, I learned how to inspect web pages, spot hidden Base64-encoded data, and decode it to uncover a flag. If you’re just getting started in cybersecurity or CTFs, this writeup will walk you through the steps I took, tools I used, and how I successfully solved it.</p><p>Difficulty: Low</p><p>tags: #picoctf</p><p>Go to the CTF page and inspect the About section page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K5VkbQ9ae29D5QQbmt-18w.png" /></figure><p>Notice that the flag is available in the section class but looks to be in a base64-encoded form.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*QYHLtxqAw2jRb88ffqadTQ.png" /></figure><p>Decode using online tools like CyberChef (a browser-based tool that makes encoding, decoding, and data analysis simple, visual, and fast — perfect for CTFs and real-world security tasks) and submit the decoded flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*nKSFv1DUYaevpklBX_O4uw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*pJ149ZZ07j1ogx_TocLurA.png" /></figure><p>If you’re new to cybersecurity, I highly recommend checking out <a href="https://picoctf.org/"><strong>PicoCTF</strong></a> — it’s one of the most beginner-friendly CTF platforms out there. It not only tests your problem-solving skills but also teaches you practical techniques that are used by real-world security professionals.</p><p>Thanks for reading, and stay tuned for more CTF writeups soon.<br> Feel free to drop a comment or reach out if you’d like to learn or collaborate on future challenges!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a71ad402019" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>