<?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 Ghost on Medium]]></title>
        <description><![CDATA[Stories by Ghost on Medium]]></description>
        <link>https://medium.com/@amalashoka434?source=rss-5a725ac96f14------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ToR0oTB7I-3Wf79DJYK1jw.jpeg</url>
            <title>Stories by Ghost on Medium</title>
            <link>https://medium.com/@amalashoka434?source=rss-5a725ac96f14------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 06:32:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@amalashoka434/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[Forgot Password Functionality Can Be Hacked Easily if Not Correctly Implemented]]></title>
            <link>https://medium.com/@amalashoka434/forgot-password-functionality-can-be-hacked-easily-if-not-correctly-implemented-45abcec468d5?source=rss-5a725ac96f14------2</link>
            <guid isPermaLink="false">https://medium.com/p/45abcec468d5</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Ghost]]></dc:creator>
            <pubDate>Fri, 05 Jun 2026 10:09:35 GMT</pubDate>
            <atom:updated>2026-06-05T10:09:35.318Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3osGqUcgtpvWYbZnm4ppZw.png" /></figure><p><strong>How can hackers take over a victim account without needing his password and MFA OTP?</strong></p><p><em>The answer to that question lies below. Note — this is only one of the methods hackers use to exploit weak password reset functionality to take over or hack a victim’s account. There are multiple ways. This exploit method was born inside my head!</em></p><blockquote>Let me tell a little bit about <strong>weak password reset functionality vulnerabilities</strong>. When the developers don’t properly follow security practices while developing the application, a hacker AKA me will exploit that and take over their account.</blockquote><p><em>Let the HACKING begin</em></p><p><strong>Steps</strong></p><ol><li>I used my account to access the forgot password functionality of the application, provided my mail ID, and clicked on the “Continue” button.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*DR5J9f8StSUKhzlK81UmgA.png" /></figure><p>2. Provided the OTP that landed in my mail ID and clicked on the “Verify” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*VYHyi_PcShRZQx-nIivmhg.png" /></figure><p>3. Then I typed in a new password for my account and clicked on “Continue” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*Fh_VNQrPJ4VDNDlkthD1cA.png" /></figure><p>4. Intercepted the password reset request and observed the userid, createdby, and emailid parameters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oxG3X4zeCsr_lg7Bn_6nSg.png" /></figure><p>5. I modified the userid, emailid, and createdby parameters with the values which belonged to the victim and got a successful response mentioning that the password has been updated successfully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7eqOaRF0xtz7EdBGEr3cLw.png" /></figure><p>6. Later I accessed the application login page, typed in the victim’s email ID and the updated password for his/her account and clicked on the “Login” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*xXDykD4SIYTswKJMN7AO5A.png" /></figure><p>7. Voilà — the victim’s account was hacked successfully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Jh_v9tCmDgS0suukVdpHA.png" /></figure><p><strong>Question and Answers</strong></p><p><strong>How did I know the victim’s ID’s and email ID?<br></strong>In real attacks, email IDs can be gathered through social engineering or other sources. For this penetration test, I created a demo account to obtain the victim’s details easily.</p><p><strong>Was this a real-world attack or a lab exercise?</strong> <br>This was a real-world attack performed during a penetration test of a web application.</p><blockquote>Remediation — Developer buddies, you guys are much better than this — code with security in mind!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45abcec468d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Curiosity, never giving up, and a little adventure — that’s all it takes!]]></title>
            <link>https://medium.com/@amalashoka434/curiosity-never-giving-up-and-a-little-adventure-thats-all-it-takes-9827ab5f58a0?source=rss-5a725ac96f14------2</link>
            <guid isPermaLink="false">https://medium.com/p/9827ab5f58a0</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[hacker]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Ghost]]></dc:creator>
            <pubDate>Tue, 19 May 2026 05:57:07 GMT</pubDate>
            <atom:updated>2026-05-19T05:57:07.774Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tf7yrGO4pEprJtXQ_XJ40A.png" /></figure><p><strong><em>You guys want to see some real hacking? Well, get ready — let’s goooooooooooooooooooooooooooooooooo!</em></strong></p><blockquote><em>I could tell you all about the hard work and study I’ve put into exploiting issues like this, but honestly, this one came out of nowhere. I had an idea, I tried it, and boom — </em><strong><em>Admin account compromised!</em></strong></blockquote><p><em>I know you guys are excited — without further ado, let’s hack</em></p><h4><strong><em>heeeeeeyaaaaaaaaaa</em></strong><em>!</em><br> <br> <strong>Steps</strong></h4><ol><li>I already knew the admin username — it’s so simple that even a kid could guess it. I typed in the wrong password because I don’t know his password and clicked on login button</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*uAhQCbKco5kBjXG-U-e6ew.png" /></figure><p>2. I intercepted the login request and noticed something interesting in the login request — response body: a parameter called <strong>“IsFirstTimeLoggedIn”</strong> along with other parameters<br> <strong>Note</strong> — Normally, when a user logs in for the first time, they’re asked to reset their password</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E1Ocw4nvkv2PkXU481UTMA.png" /></figure><p>3. I just modified the login request — response body. How did I know which values to be used in the response parameters? Because I had studied the application’s functionality and APIs. A good hacker always does their information gathering first</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ABfjyGtX1gpSufqcRKxUUQ.png" /></figure><p>4. The password change page popped up. I didn’t know the superadmin’s old password, but I had nothing to lose, so I filled in the required details and clicked on <strong>Change Password</strong> button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*QBbmw05zj276yfC5z6nHrA.png" /></figure><p>5. I intercepted the change password request and its response. At first, I thought it wouldn’t work without the original password, but I wasn’t about to give up after coming this far</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6GKUGN-UbAqQIXs3jv04KA.png" /></figure><p>6. I modified the response status code and response body for the change password request</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ZCsNzcfte717jF1z2vG1Q.png" /></figure><p>7. Got a success message — wait, will it actually work? That’s exactly what I was thinking!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*z0vjHiWjQnuV5sVplYj_7A.png" /></figure><p>8. The moment of truth: I typed in the new password for the superadmin account and clicked on login button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*g4h3Eq7O0Sv3n6oPOgNA_w.png" /></figure><p>9.<strong>Yesssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss!</strong> It worked. This was one of the closest moments I’ve had to feeling like a real hacker. I was proud of myself!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*BcwABA03A-dLexpMf9NTPg.png" /></figure><p><strong>Remediation</strong><br><em>Hi developers — please code with security in mind, or folks like me (well, I mean the bad guys) will put your company out of business!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9827ab5f58a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Remote Code Execution through DLL Hijacking]]></title>
            <link>https://medium.com/@amalashoka434/remote-code-execution-through-dll-hijacking-3fa06d23c6a9?source=rss-5a725ac96f14------2</link>
            <guid isPermaLink="false">https://medium.com/p/3fa06d23c6a9</guid>
            <category><![CDATA[hacker]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[thick-client-pentesting]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Ghost]]></dc:creator>
            <pubDate>Thu, 14 May 2026 14:28:02 GMT</pubDate>
            <atom:updated>2026-05-14T14:28:02.226Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GoWgUO7Yrcv-ch21NSTfPQ.png" /></figure><p><strong>RCE </strong>— Taking control of a victim’s device and gaining full access.</p><p><strong>DLL Hijacking </strong>— This is an attack that can be exploited in thick client applications (desktop apps). I won’t explain everything here — do some research on your own!</p><p><strong>Let’s hack, baby</strong></p><blockquote>I spent almost two days on this attack, sleep-deprived and frustrated. I had been pentesting a desktop application for several days without finding any solid vulnerabilities. Honestly, I felt sad and discouraged because all the studying I had done on thick client pentesting seemed wasted.</blockquote><blockquote>At first, normal DLL hijacking didn’t work. But my gut told me it was possible. I kept pushing, determined to establish remote code execution and take over the victim system.</blockquote><h4>Steps</h4><p>1. Found a DLL missing from the thick client application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*uBFScjl2iLf3bhsw_WJVoQ.png" /></figure><p>2. Created a malicious DLL using msfvenom with the name of the DLL missing from the thick client application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*YzOivo0JkRVzPuINdN9-nQ.png" /></figure><p>3. Placed the malicious DLL inside the victim’s thick client application directory</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*rsxkcJZzOqB823urUaNioA.png" /></figure><p>4. Victim opened the thick client application in his system</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eyslFiqZxksKLu1yT21Txg.png" /></figure><p>5. Attacker (me) successfully received a reverse shell connection</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*RxS3IytBaA7Ccb6sGraVww.png" /></figure><p>6. Full control of the victim’s system was achieved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*1DHoKHTwi6n7wKpDYmPJdQ.png" /></figure><h4>Remediation</h4><p>Honestly, I don’t really know — I’m not an expert at fixing things, I’m an attacker.</p><blockquote><strong>Always trust your gut feeling in the world of hacking. All those sleepless nights and study sessions didn’t go to waste.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3fa06d23c6a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploiting Misconfigured GraphQL]]></title>
            <link>https://medium.com/@amalashoka434/exploiting-misconfigured-graphql-acd0da47ed51?source=rss-5a725ac96f14------2</link>
            <guid isPermaLink="false">https://medium.com/p/acd0da47ed51</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[Ghost]]></dc:creator>
            <pubDate>Sun, 26 Apr 2026 18:38:23 GMT</pubDate>
            <atom:updated>2026-04-27T17:09:02.353Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2wYqRHBjVsSZGUhiqL9ArQ.png" /></figure><p>It’s all about API testing. I’m not going to explain it — go do some research, hehehe.</p><p><em>While GraphQL is much better compared to other APIs, it is also very dangerous if misconfigured. Let me show you how dangerous it can be — let’s go!</em></p><p><strong>Note:</strong> This is going to take some time, buckle up guys.</p><p><strong>Steps</strong></p><ol><li>Basically, the target was hosting a GraphQL endpoint</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jIuh28naGW8WgfdA5nzncQ.png" /></figure><p>2. I’m not going to waste your time — this GraphQL API was misconfigured and vulnerable to introspection. I selected a user query and sent it through the repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9cWVCr_uJb3NB2Py2jEwSA.png" /></figure><p>3. As you can see in the user query, I got user details exposed in the response of the GraphQL API</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gx0ZZ1lrK6aa3p534O8sMw.png" /></figure><p>4. I tried the exposed credentials, but they didn’t work — obviously</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EM-vwPTfiPkBx-Lcovs40g.png" /></figure><p>5. So why not try to update the user password using a query</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sedVfiNjxcJF5YTRFYz0EQ.png" /></figure><p>6. I filled in the details for updating the password and vola it worked</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ant4TNjRSqbhshxiDO0Lew.png" /></figure><p>7. I was able to update the exposed user password and log into his/her account</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*90-H-P6Uu_9rcV8Z4fhmSA.png" /></figure><p>8. At that time, something clicked in my mind: why not try to create an admin account using a query? To be honest, I had done so much trial and error and found that we could create an admin account using a createUser query — don’t believe everything you see on social media</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qLyu2lDhhgx7SwMWMSZcIw.png" /></figure><p>9. I filled in the details for creating an admin account and got a valid response <strong><em><br>Note: </em></strong><em>Later I found that this endpoint didn’t even need authentication for creating users</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5c1vYNz1PmyuQ66EjZDFJA.png" /></figure><p>10. I created an admin account and logged in successfully. Looks easy, right? But believe me, I was literally exhausted by the time I reached here!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uJXiak8eZqOC4D8ieCP0hQ.png" /></figure><p><strong>Remediation</strong><br>Configure GraphQL correctly.</p><p><strong><em>Thanks for reading, folks! I was literally writing this while tired, so I couldn’t put my full creativity into it today. Hope you guys enjoyed this.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=acd0da47ed51" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Browser Back Button]]></title>
            <link>https://medium.com/@amalashoka434/browser-back-button-93dbed745017?source=rss-5a725ac96f14------2</link>
            <guid isPermaLink="false">https://medium.com/p/93dbed745017</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Ghost]]></dc:creator>
            <pubDate>Sat, 18 Apr 2026 10:40:34 GMT</pubDate>
            <atom:updated>2026-04-27T17:18:31.088Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BmrqvN-0D0bZiwo723DlGQ.png" /></figure><p>Mmmmm, it’s theory time. Well, you guys are lucky because I don’t do theory at all, but it’s needed for your basics. Trust me, after going through the process of juicing on those theory bits, the real fun begins, because now we can use all that knowledge in the real world for hacking………</p><blockquote>Testing for the browser back button is simple: after a user logs out, you hit the back button. If the app still shows sensitive stuff, boom — that’s the vulnerability. That’s it. The rest I’ll show you in practice, so let’s gooooooooooo!</blockquote><p><strong>Steps</strong></p><ol><li>Walking around, I found someone’s laptop open with an application login page, interesting. I clicked the browser back button</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*04veQLOHwspo8A313iaebQ.png" /></figure><p>2. I was redirected to the application dashboard (sensitive stuff — that’s why they are in red). I clicked on the user profile button and then clicked on the reset password button. Normally, I thought this would not be much of an issue, maybe the developer forgot to put cache mechanisms in place, and this was just cached… I was wrong</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rDZQkx4Wij0JrbXJI3XSEw.png" /></figure><p>3. Since I am pentesting this site, I already knew the current password, but for a hacker, he might need to find it. Since I am a white hat hacker, I skipped that process, typed the details, and clicked on the Update button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*Qq_kw6G9FDaAnkiyJJNbOw.png" /></figure><p>4. Got a successful message, hehehehehehe</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*BuItZYFuXa7CnHhI9fPfug.png" /></figure><p>5. Typed in the poor soul’s username, entered the updated password, and clicked on the sign-in button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wfxwWX6aJHxFwUHeCIWigA.png" /></figure><p>6. Logged in like a ninja, who slips in without anyone noticing. This was simple but powerful, as said by an actor in the famous malayalam movie — Premam.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*Y0y-ouXHxJ_fMO2nglGCoA.png" /></figure><p><strong><em>Note — </em></strong><em>Basically, I could do anything when I clicked on the browser back button. And guess what — I even created an admin account instead of resetting the password, because resetting a password requires the previous password, which only the victim knows. It was much easier to just create a new admin account and mess with the application like a “Hacker”. But unfortunately, I lost the screenshots of that. I know it’s sad, but keep in mind — sometimes these small browser back buttons are pure magic!</em></p><p><strong>Remediation</strong><br>Implement some cache mechanism and expire the user session from the server side. That ought to do it.</p><p><strong><em>Premam movie dialogue<br> </em></strong><em>Simple! Java is very simple! Powerful! It is so powerful, isn’t it? Then safe, Java is very safe</em><strong><em>.<br> </em></strong><br><strong>Thanks for reading, my dear hackers, wannabe hackers, colleagues, and anyone needing this!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93dbed745017" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Race Condition]]></title>
            <link>https://medium.com/@amalashoka434/race-condition-7552aa278630?source=rss-5a725ac96f14------2</link>
            <guid isPermaLink="false">https://medium.com/p/7552aa278630</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Ghost]]></dc:creator>
            <pubDate>Sun, 05 Apr 2026 13:31:24 GMT</pubDate>
            <atom:updated>2026-04-27T17:25:14.308Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TngmO46VTBeyf-Pg3dGbtQ.png" /></figure><p>A <strong>race condition</strong> happens when a system gets confused because two actions occur at the same time. Hackers exploit this timing to break the system or make it behave in unintended ways.</p><p>Have you guys ever annoyed anyone by flooding their email? If not, I’ll teach you hehehe. This is only for educational purposes — I’m not responsible for whatever you do with this. I’m just sharing knowledge, and knowledge is power.</p><ol><li>Once upon a time, there was a beautiful website with a “Forgot Password” module. I didn’t know the victim’s password, but I did know their email. So, just for fun, I typed it in and clicked <em>Send email</em></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*rnbdUeJ9rx045KImGuynTA.png" /></figure><p>2. Normally, the site would say: <em>“A reset email has already been sent.”</em> End of story, right? Not quite. I captured that first request, duplicated it again and again in Burp’s repeater window, and lined them up like soldiers ready for battle</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z2fNn94rgHW09mtUkt5Awg.png" /></figure><p>3. Then came the secret trick — I told Burp to fire all those requests in parallel. One click, and off they went</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zRj-PBFyNGdjZEAm-5C7Wg.png" /></figure><p>4. <strong>Boom!</strong> The victim’s inbox was instantly flooded with password reset emails. Mission accomplished. The victim was annoyed, and in my little tale, the monk and the victim wander off into a glowing sunset, mischief complete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QqUODZyZqJja__PgW19gGw.png" /></figure><p><strong>Remediation<br></strong>Prevent race conditions by adding proper synchronization and safeguards so only one request can update or send at a time.</p><p><strong>Thanks for reading! It’s been a while since I wrote something — I could say I was busy, but honestly, I was probably just a little lazy. Catch you soon, bye-bye!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7552aa278630" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[D001 to V001 — Hacked Your Account!]]></title>
            <link>https://medium.com/@amalashoka434/d001-to-v001-hacked-your-account-cae2b5b881dc?source=rss-5a725ac96f14------2</link>
            <guid isPermaLink="false">https://medium.com/p/cae2b5b881dc</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Ghost]]></dc:creator>
            <pubDate>Tue, 24 Feb 2026 10:41:52 GMT</pubDate>
            <atom:updated>2026-04-27T17:38:13.591Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kCg0z9R6moqjJa-U6GAOzw.png" /></figure><p><strong>Vulnerability<br></strong>Weak Password Change or Reset Functionalities.</p><p><strong>Theory</strong> <br>A <strong>weak password reset attack</strong> is like having a flimsy lock on your front door. Even though it looks like it’s protecting you, it’s actually easy for someone to break in.<br> <br>Whenever I tell people I’m an ethical hacker, they immediately ask, “So… can you hack others account?” And I have to reply with the boring professional line: <em>“I only hack with permission.”</em> But deep down, my brain is screaming: <em>“Of course I can, watch me!”</em> Anyway, let’s keep those thoughts inside and get to the fun part — the attack.<br> <br><strong>Steps</strong></p><ol><li>I was testing an application (no, I won’t tell you which one — professional secrecy, folks). I entered the email ID of the victim — poor guy — and clicked on the “<strong>Continue”</strong> button</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*YanpJ86uEvpL7j8MrtKxuQ.png" /></figure><p>2. Normally, you’d enter the victim’s email, and the system would send an OTP to their account. But since I didn’t have access to it, I just entered a wrong OTP: “1,” and clicked on the “<strong>Verify”</strong> button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*A__u2WkJdzkEdQ_BsOsqrg.png" /></figure><p>3. I intercepted the request called “ValidateOneTimePassword”, and the response came back with a status code: <strong>D001</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6u2mH5YPQwOJzLQn5K78Ww.png" /></figure><p>4. Now, here’s where the magic happens. I thought, “What if I just… change it?” So, I swapped <strong>D001</strong> for <strong>V001</strong>. How did I know this would work? Easy — I had already studied the normal workflow of the app. <strong>Rule #1</strong> of hacking: gather intel before you <strong>break stuff</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ati7sD7RILPjFdH91LN4vw.png" /></figure><p>5. Suddenly, I was staring at the password change module. My first thought: “Wait… is this actually going to work?” Second thought: “Well, it’s not my account, so I’ve got nothing to lose. Let’s proceed.” I typed in the new password and clicked on the “<strong>Continue”</strong> button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*MW6QQgmduZJmDIvxXaVAEQ.png" /></figure><p>6. Got a successful message for changing the victim’s password</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*2LBw4Pqc3yqZpN85HzTjMQ.png" /></figure><p>7. Next, I went to the application’s login page, entered the victim’s email ID and the updated password, and clicked on the “<strong>Login”</strong> button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*gtG1-J4Bx6l7XOxH-zxuAA.png" /></figure><p>8. Hacked his account. To be fair, this was way too easy, who on earth even coded this forgot password module?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*23hQPPT28KcXnYJgGsX-Xg.png" /></figure><p><strong>Remediation<br></strong>Developers, code better than this — or else I’ll hack into your application (just kidding). Validate reset codes on the server, use strong tokens, limit attempts, and notify users of password reset activity<br> <br> <strong>Thanks for reading guys!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cae2b5b881dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Just a File Upload — What Could Go Wrong?]]></title>
            <link>https://medium.com/@amalashoka434/just-a-file-upload-what-could-go-wrong-7da5220fd7a7?source=rss-5a725ac96f14------2</link>
            <guid isPermaLink="false">https://medium.com/p/7da5220fd7a7</guid>
            <category><![CDATA[web-penetration-testing]]></category>
            <category><![CDATA[offensive-security]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Ghost]]></dc:creator>
            <pubDate>Mon, 09 Feb 2026 14:08:16 GMT</pubDate>
            <atom:updated>2026-04-27T17:35:35.397Z</atom:updated>
            <content:encoded><![CDATA[<h3>Just a File Upload — What Could Go Wrong?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LT1wwolmpwyXH0pRidWpfg.png" /></figure><p><strong>Vulnerability<br></strong>Upload of Malicious Files</p><p><strong>Theory</strong>: Copilot, would you help me explain this attack in layman’s terms? Copilot, I am here for you. I have already replaced your girlfriend — this is too easy for me. Uploading a malicious file simply means putting a bad file onto a computer or website that looks normal but is secretly designed to mess things up or steal information when someone opens it.</p><p><strong>Socrates</strong>: <em>“To know is not enough; we must apply. Willing is not enough; we must do”</em></p><p><strong>Steps</strong></p><ol><li>While hacking — sorry, I forgot to use the legal term, a.k.a. penetration testing — an application, there was this feature to upload a profile pic. Cool, what could go wrong? Spoiler: everything</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HlNjh3i-D6JTEi-dhP5OwQ.png" /></figure><p>2. At first, I didn’t bother checking the upload request. Later, I sent it through Burp Repeater, hit resend, and noticed something juicy — the filename parameter carried both the name and extension of the uploaded file. Even better, the full saved path was exposed in the response. My inner hacker brain went: <em>“hello, beautiful”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HBSTphbgRVGvbGaYJJSZMw.png" /></figure><p>3. I changed the request body and filename parameter, slipped in a classic XSS payload (the one every rookie hacker tries first)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CQnrRTubsm218dZLsKT18Q.png" /></figure><p>4. And guess what? It worked. The file got saved, the app returned the file path, and I sat there thinking: <em>“Wait… that actually worked?!”</em> Sometimes curiosity is the only tool you need</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FxPyXWKmN2KHzWw267UD1A.png" /></figure><p>5. I copied the exposed file path, pasted it into the browser, and…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*4A5RHlLODfXrE81RPf6bjw.png" /></figure><p><strong>6. Boom! XSS ALERT 1.</strong> I stopped there, but honestly, I could’ve uploaded a reverse shell and gone full command-line ninja. Still, this was enough to show the developers the problem. (Confession: part of me really wanted to try the shell access, but hey, professionalism).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*-opm3GlyvoPqBecFrAwR0g.png" /></figure><p><strong>Remediation</strong><br>Simple rule: <strong>Don’t let malicious files into your application.</strong> Validate, sanitize, and filter uploads like your job depends on it — because it does.</p><p><strong>Thanks for reading!</strong> <br>As Arnold said in <em>Terminator</em>: <em>“I’ll be back.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7da5220fd7a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First Encounter with the SQL Goddess]]></title>
            <link>https://medium.com/@amalashoka434/my-first-encounter-with-the-sql-goddess-d18821856fc1?source=rss-5a725ac96f14------2</link>
            <guid isPermaLink="false">https://medium.com/p/d18821856fc1</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[web-penetration-testing]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[offensive-security]]></category>
            <dc:creator><![CDATA[Ghost]]></dc:creator>
            <pubDate>Fri, 30 Jan 2026 11:51:20 GMT</pubDate>
            <atom:updated>2026-04-27T17:32:09.805Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3GTwfwmrIQP3QYU0bhixvw.png" /></figure><p>Let me tell you the story where I once felt truly blessed by the “SQL Goddess”. She revealed herself to me through a time-delay attack. Sadly, she later abandoned me.</p><p><strong>Vulnerability<br></strong>SQL Time-Based Attack</p><p><strong>Theory</strong>: uff boring, let me make it simple for readers — a SQL time-based attack is when a hacker makes a database wait or delays its response on purpose to figure out hidden information. Kind of like asking a tricky question and timing how long it takes someone to answer. Hope you guys understand, I even asked the AI to make it simple lol.</p><p><strong>The Story</strong></p><ol><li>So there I was, pentesting a site with a search bar. I had read more articles than I care to admit (seriously, Medium owes me royalties at this point). Suddenly, I remembered that search functionalities are basically the playground where vulnerabilities like to hang out</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*SjP_2UqWneDbEWJ6yHnMig.png" /></figure><p>2. I captured the <strong>getPrivileges</strong> API and tossed in a single quote into the <strong>SearchText</strong> parameter, boom. That was the moment I felt the Goddess herself had descended upon me in the form of 500 Internal Server Error</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mDKGZH3ptdDD07HLzu8F2w.png" /></figure><p>3. Immediately, I raided GitHub for SQL payloads and shamelessly copy-pasted a time-delay payload. Burp Suite had this slick feature that tracked server response times down to milliseconds. But me? Nope. I went full caveman mode. I literally counted seconds with my hand because, as a rookie hacker, I had no clue that feature even existed. Picture me hunched over the screen, whispering “one… two… three…” like some kind of hacker monk deep in meditation, waiting for enlightenment — or at least a delayed response — and boom! time delay, the SQL Goddess had spoken</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SdPDB0WeYaX3mBbMfD_lPg.png" /></figure><p>4. To double-check, I cranked the payload up to 10 seconds. And yes, I counted again. By hand. Honestly, thinking back, it was hilarious.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WtddIfyvBfvuGP3Vc9ajPQ.png" /></figure><p>That was my first — and last — SQL injection. The Goddess left me after that. Maybe I wasn’t worthy, maybe I lacked knowledge. Or maybe she just doesn’t date guys who count seconds with their fingers. Either way, I swore to myself: one day, I’ll become the kind of hacker she loves, and she’ll return to me.</p><p><strong>Remediation</strong><br>No developers here, only hackers. We break stuff — we don’t fix it.</p><p>Thanks for reading, guys. Stay tuned for more write-ups, and may the SQL Goddess bless your payloads (but not your production servers).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d18821856fc1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Weak Password Change or Reset Functionalities]]></title>
            <link>https://medium.com/@amalashoka434/weak-password-change-or-reset-functionalities-59a0dcbf5f21?source=rss-5a725ac96f14------2</link>
            <guid isPermaLink="false">https://medium.com/p/59a0dcbf5f21</guid>
            <category><![CDATA[web-penetration-testing]]></category>
            <category><![CDATA[offensive-security]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Ghost]]></dc:creator>
            <pubDate>Tue, 27 Jan 2026 14:55:30 GMT</pubDate>
            <atom:updated>2026-04-27T17:28:31.696Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*unFskMXC9_RfEjneEhOhHg.png" /></figure><p>Hi folks, today I’m here to share a vulnerability I stumbled upon while doing some pen-testing… or let’s just call it what it is: I hacked the application! Enough chit-chat, let’s dive straight into the action.</p><p><strong>Vulnerability<br></strong>The application was vulnerable to <strong>“Weak Password Change or Reset Functionalities”.</strong></p><p>A tiny bit of theory (ugh, can’t escape it):<br>Weak password change or reset basically means it’s way too easy for attackers to hijack accounts.</p><p>Alright, theory class dismissed. Let’s get to the fun part.</p><p><strong>Scenario: </strong>An attacker (a.k.a. me) can reset the password of any victim user by tricking the application into sending the victim’s OTP straight to the attacker’s email.</p><p><strong>Steps:<br></strong>1. I entered the victim’s email ID and clicked the <strong>“Continue”</strong> button in the <em>Forgot Password</em> module</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*Gp_O1Xyntawoe7RB4u8Qhg.png" /></figure><p>2. I intercepted the <strong>GenerateOTP</strong> API request and noticed the victim’s email was sent in plain text. My hacker instincts kicked in (thank you, years of mischief), so I modified the <strong>Email</strong> parameter and let the request fly</p><p>Original request:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*M2LE6Jt4w-suMVCz_TldVg.png" /></figure><p>Changed request:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*uEJlrQQkbOd5zG7yVwWtJw.png" /></figure><p>3. Boom ! The victim’s OTP landed in my personal inbox. At this point, I was hooked — like a kid who just found free candy</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*S3jHuVY_JCkntCtFbcVm7Q.png" /></figure><p>4. I entered the stolen OTP and clicked <strong>“Verify”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*J679KIOeSXlOU8zIdPiXfg.png" /></figure><p>5. Updated the victim’s account password and clicked the ‘Continue’ button — felt a tiny pang of sympathy for the poor guy… but nah, the real blame goes to the developer who coded this mess!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*PgLOMIoGmkH2mjhplxzVAQ.png" /></figure><p>6. Got a shiny success message, my heart was racing — was this real or was the app trolling me?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*t6pU0mo9em0o9fTbPZyLHA.png" /></figure><p>7. Entered the updated credentials for the victim’s account and clicked “Login”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*OF1RVImpFDkQEJcLDGEtEA.png" /></figure><p>8. Finally… Destiny fulfilled: professional account thief, also known as ‘ethical hacker’ when HR asks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*Yg8--_dVygyj646Kj5EJLQ.png" /></figure><p><strong>Remediation<br></strong>Nope, no free answers. My blog is all about the thrill of hacking, not the boring patch notes.</p><p>Thanks for reading, folks. I’ll be back with another hack soon. Stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59a0dcbf5f21" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>