<?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 Adventures in Cyber Security on Medium]]></title>
        <description><![CDATA[Stories by Adventures in Cyber Security on Medium]]></description>
        <link>https://medium.com/@Miraj50?source=rss-d7f17590cc4b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*SZFWcgdpgPDXGWOD6o44aA.jpeg</url>
            <title>Stories by Adventures in Cyber Security on Medium</title>
            <link>https://medium.com/@Miraj50?source=rss-d7f17590cc4b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 06:46:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Miraj50/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[How I hacked my University’s Fee Payment System #MyFirstBug]]></title>
            <link>https://medium.com/@Miraj50/how-i-hacked-my-universitys-fee-payment-system-myfirstbug-df94f2e34fbb?source=rss-d7f17590cc4b------2</link>
            <guid isPermaLink="false">https://medium.com/p/df94f2e34fbb</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[payment-systems]]></category>
            <dc:creator><![CDATA[Adventures in Cyber Security]]></dc:creator>
            <pubDate>Thu, 13 Dec 2018 18:10:54 GMT</pubDate>
            <atom:updated>2018-12-13T18:10:54.894Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*Zkms67oclFgz1p1AMffReg.jpeg" /></figure><p>I am a <strong><em>budding</em></strong> hacker/security researcher. I have always been amazed when I read articles on how people found bugs in big companies websites/services/platforms and had always wanted to do the same. I used to try their tricks on other websites, but to no avail (at least according to me). I had been waiting for my first bug 🐞 since a long time. One day it had to come!!</p><p>It was the internship season in my college. Students had to upload their <em>résumé’s </em>for getting verified. But before they could do so, they had to make a fixed payment of ₹800. I went to the payment page and the page had an option like this ! (Showing just a part of the page ).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/236/1*vd2UnCWeu9BGlhlQ1LPRfQ.png" /><figcaption>Schematic</figcaption></figure><p>This seemed a little weird to me as, if the payment is fixed then why have this peculiar page in the first place?! One should directly be forwarded to the bank payment page, right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*KtzPeDxjICaadHB_7r8YUw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*P04qA75O529s58dboOp-Hw.jpeg" /></figure><p>I turned on <strong><em>Burp </em></strong>and intercepted the request to the payment page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pXgd3ZpvLc-fVDbd-B2j_Q.jpeg" /></figure><p>Two parameters struck out and they were <strong><em>AmountDue</em></strong> and <strong><em>amount, </em></strong>both of whose value is<em> 800</em> (as expected).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*xdLzAagvgDrrQGzYf94T0w.jpeg" /></figure><p><strong><em>Zero</em></strong>’s have no value, right? Or do they? 😜. I changed the value of both the parameters to ₹8 and proceeded. I came to the bank payment page where the amount was updated to ₹8 ! (Of course I hope one realizes that one has full control over the amount one can pay).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*0CsMi4-qTx9e8jwLLkVTag.png" /></figure><p>I carried out the payment successfully and guess what the payment was confirmed by the bank and I was allowed to register !!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*NjSRVBR3JVwgdjTuasKaLA.png" /></figure><h4>Moral</h4><p>It was a grave mistake on the part of that person who designed the<strong><em> </em></strong>payment<strong><em> </em></strong>system like this, which relies on client side validation and not <strong><em>server side validation</em></strong> and nothing is done to check if the request was tampered (use a hash, for instance). Just because the <strong><em>general</em></strong> public doesn’t care about it doesn’t mean that no one will. <strong><em>Security </em></strong>is an important aspect and one should not take it so casually !</p><p>Enough with the sentiments 😜!! I am very happy to find my first 🐞 and I really hope this is the first of many to come.</p><p>If you enjoyed it please do clap 👏🏻 and till then <strong><em>Happy Hacking</em></strong> !!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*-tDrhfzOpNBinTZE.jpg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df94f2e34fbb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to see saved WiFi passwords in Mi Phones]]></title>
            <link>https://medium.com/@Miraj50/how-to-see-saved-wifi-passwords-in-mi-phones-43c70d5fb143?source=rss-d7f17590cc4b------2</link>
            <guid isPermaLink="false">https://medium.com/p/43c70d5fb143</guid>
            <category><![CDATA[qr-code]]></category>
            <category><![CDATA[passwords]]></category>
            <category><![CDATA[wifi]]></category>
            <dc:creator><![CDATA[Adventures in Cyber Security]]></dc:creator>
            <pubDate>Tue, 17 Jul 2018 16:58:47 GMT</pubDate>
            <atom:updated>2018-07-17T16:58:47.237Z</atom:updated>
            <content:encoded><![CDATA[<p>This <strong><em>simple hack</em></strong> that I came up with was because I had removed <em>Ubuntu 16.04</em> and installed <strong><em>Ubuntu 18.04</em></strong>. So of course my PC didn’t have those saved passwords from before. But the thing is my cellphone connects automatically to this network and hence the challenge was to figure out this password without getting into the mess of going <strong><em>root</em></strong>.</p><p>There is a feature in<strong><em> Xiaomi</em></strong> phones called <strong><em>Tap to Share Password , </em></strong>with which you can share a network to which you are connected with other people.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*V-yFIHPkxUvXKCsVdPHn2g.jpeg" /></figure><p>So this is how it works.</p><p>When I tap on it, it gives me a<strong><em> QR code</em></strong> which contains the <strong><em>SSID</em></strong> and the <strong><em>password</em></strong>. So, what I thought was to use the <strong><em>Scanner</em></strong> <strong><em>App </em></strong>on my phone and scan the QR code (basically the screenshot of the QR code). But lo! I got this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cYSaq_9odKqej_TAcuGdxQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W-5MR0Ypu5aUeh8-wpKO5Q.png" /></figure><p>Due to some reason (I am not too sure if this a feature of Mi phones only), the password is hidden (asterisked). So the only thing left to do is use some other scanning tool. Now there are thousands available in the form of online tools or linux commands and so on…. So, just choose one and scan it. Here, I have shown the output of one command line utility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*Z4K2M0xFugeciA5t2UH5Ww.jpeg" /></figure><p>There you go. A small <strong><em>hack</em></strong>, but a <strong><em>hack</em></strong> nonetheless.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43c70d5fb143" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting up Burp Suite and OWASP WebGoat in Linux for learning Web Application Security]]></title>
            <link>https://medium.com/@Miraj50/setting-up-burp-suite-and-owasp-webgoat-in-linux-for-learning-web-application-security-f8a25b5fdba3?source=rss-d7f17590cc4b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8a25b5fdba3</guid>
            <category><![CDATA[proxy]]></category>
            <category><![CDATA[webgoat]]></category>
            <category><![CDATA[burpsuite]]></category>
            <dc:creator><![CDATA[Adventures in Cyber Security]]></dc:creator>
            <pubDate>Sat, 05 May 2018 18:20:28 GMT</pubDate>
            <atom:updated>2018-05-05T18:49:40.322Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong><em>Setting up Burp Suite :</em></strong></h3><p>Download and install Burp Suite Community Edition (the free version) from <a href="https://portswigger.net/burp/communitydownload">PortSwigger</a> who are its developers. For installing one can follow this <a href="https://www.youtube.com/watch?v=OsSPwe-DUOU">tutorial on YouTube</a>.</p><p>In simple terms, Burp is an <strong><em>intercepting proxy</em></strong>, which means (after configuring it to do so) it acts like a <strong><em>Man In The Middle (MITM)</em></strong><em> </em>and intercepts and analyzes all the requests and responses to and from the web application that one is using. I think it will all be clear after we have properly set it up.</p><p>Once it has been installed, we need to configure it to act as a proxy. So we configure our Browser (I use Firefox 🙂) to send all of its traffic to Burp, which will then take matters in its own hands. Next we need to setup a network proxy in our browser.</p><p>One can setup a network proxy in <strong>Preferences -&gt; General</strong> and then scrolling all the way down to <strong>Settings</strong> under <strong>Network Proxy</strong>. But there is a better way to do it. We shall use an extension for it, called <a href="https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-standard/"><strong><em>FoxyProxy</em></strong></a><strong><em> </em></strong>🦊 !</p><p>Once installed click on the extension and go to <strong><em>Options</em></strong> (at the bottom)<em>. </em>You should get something like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SJJhVnsfCbpkQzCxAsX64A.png" /><figcaption>Fig.1 : FoxyProxy</figcaption></figure><p>Click on <strong><em>Add</em></strong> and fill out the details of your proxy. Now HTTP listens on port 8080, so we need Burp to listen on some other port, say 8000 (Burp will be unable to listen on 127.0.0.1:8080 because another process is already doing so). Hence we shall tell our browser to send all the traffic to port 8000.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZKBNX6W2N7x_7O-miMHr7g.png" /><figcaption>Fig.2 : Settings for our Burp proxy</figcaption></figure><p>Now <strong><em>Save</em></strong> it and you will see that you have an option to use it whenever you want.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/431/1*o_zI16Qo3uognMAlfUyvUg.png" /><figcaption>Fig.3 : New Proxy setting in FoxyProxy</figcaption></figure><h3>Setting up WebGoat 🐐 :</h3><p>As stated on its page, <strong><em>WebGoat</em></strong> is a deliberately insecure web application maintained by OWASP designed to teach web application security lessons.</p><p><a href="https://github.com/WebGoat/WebGoat/releases/download/7.1/webgoat-container-7.1-exec.jar">Download</a> it.</p><p>To run it type the command <strong><em>java -jar ~/Downloads/webgoat-container-7.1-exec.jar</em></strong><em> </em>(don’t forget to edit the location) on the terminal (I created an <em>alias</em> for it 😉 <em>alias webgoat “java -jar ~/Downloads/webgoat-container-7.1-exec.jar</em>&quot;).</p><p>You will see that now you can run this application in your browser by typing <em>localhost:8080/WebGoat </em>.</p><h3>Time to see these two in Action !</h3><p>Remember our browser was sending all the traffic to port 8000. So lets tell Burp to lie in wait there.</p><p>Start Burp and open the <strong><em>Proxy</em></strong> tab and go to <strong><em>Options</em></strong>. Select the proxy listener and <strong><em>Edit</em></strong> it by changing the port to 8000.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xS0rYkmjbJV5zi-E9QIV5g.png" /><figcaption>Fig.4 : Tell Burp to listen on Port 8000</figcaption></figure><p>Now let it run by <em>ticking</em> on the bullet below <em>Running</em>.</p><p>Reload the WebGoat page (Don’t forget to turn on the proxy in your browser i.e. the circled option in Fig.3 above).</p><p>Oops! It doesn’t load 😰. That’s because Burp intercepted your request. Open Burp and you will see that the <strong><em>Intercept</em></strong> tab is <em>orange</em> and you can see the intercepted request. Click on <strong><em>Forward</em></strong> and there you go, the page will load.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*g1k7XfJczc_U5DcWVNlSOQ.png" /><figcaption>Fig.5 You can see the intercepted request</figcaption></figure><p>Now, there are lots of things that one can do using Burp (Of Course!). This was just to set up the environment and give one a little bit of <em>feel</em> about it. So play with it and <strong><em>Happy Hacking</em></strong> !! 😎</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*KQL02wKYVLs0K8WD.jpg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8a25b5fdba3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>