<?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 Anon_Y0gi on Medium]]></title>
        <description><![CDATA[Stories by Anon_Y0gi on Medium]]></description>
        <link>https://medium.com/@anonymousyogi?source=rss-105e709d6f5f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_TOZBC4w7AGHdAsufKK5rQ.png</url>
            <title>Stories by Anon_Y0gi on Medium</title>
            <link>https://medium.com/@anonymousyogi?source=rss-105e709d6f5f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 03:44:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anonymousyogi/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[Buy any  Products For Free From Bewakoof.com || Bug-Bounty $$]]></title>
            <link>https://anonymousyogi.medium.com/buy-any-products-for-free-from-bewakoof-com-bug-bounty-3c93c2724994?source=rss-105e709d6f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c93c2724994</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Anon_Y0gi]]></dc:creator>
            <pubDate>Thu, 10 Feb 2022 14:51:57 GMT</pubDate>
            <atom:updated>2022-02-10T14:51:57.160Z</atom:updated>
            <content:encoded><![CDATA[<h3>Buy any Products For Free From Bewakoof.com || Bug-Bounty $$</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a63uirGw5OvlcA3Km0KtFw.jpeg" /></figure><p>Hi, It’s Y0gi here, back again with a new writeup . Here we are going to look at one vulnerability which i discovered back in December 2021 while I was learning Logic bugs in depth</p><p>So It was during Christmas-eve ,and I was learning logic-bugs( Yea this line is very lame and the context is messy ,but here we are not writing a story ,so focus on the writeup ) . So I was going through the <a href="https://docs.google.com/presentation/d/1yMLYZbjERTeojwjve7Yh6Pojvljnl0UVAKTY9i-ZaSE/"><strong>Online-Shopping </strong></a>by <a href="https://twitter.com/0xAwali">@0xAwali</a> . and there were slides related to manipulation of the quantity of the cart items</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/0*PlHaybq4CBaa5KR0.jpg" /></figure><p>So after learning about that i decided to test on a real site , and don’t remember why, but Ichoose Bewakoof .com as my target . So I quickly created an account and proceeded</p><p>I added 2 same items to cart of Bewakoof and chose another item of same price as of former and added it to cart as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LfEoeWrL9owwH4Xol_OJjA.png" /></figure><p>After that, I increased the quantity of later one to 2 ,and intercepted the request in Burpsuite . Now I changed the parameter of “quantity”:2 to -2 which is a negative quantity and forward the request . And the Price of the former product got nullfied by this ,resulting in total price of 0 .Boom!!! we could buy the product for free now</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EJDG1K2yQj7V4_Ql0_aX6w.png" /></figure><p>But Wait a minute,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*LneWLrGZgxUjfJNU7LjSuA.gif" /></figure><p>When I tried to Continue to proceed to finalize the order I couldn’t . So Iadded another product to cart ,and this time I was allowed to proceed so I noticed that the reason behind this is, when I was balancing price of one product with another to 0 ,the Bag quantity is also being changed to 0 ,and server is not allowing to complete purchase with 0 value of Bag .But a third product is successfully allowing purchase of all by paying price of only one ,also another way is ,if you don’t balance the whole price of one product ,then also site is allowing you to complete payment and place order</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tPLzkHWmkc6lFtRT-d06Cw.png" /></figure><p>So I searched if Bewakoof has any RDP or VDP and I came across this <a href="https://www.bewakoof.com/contact-us/anotherquery/i-would-like-to-report-a-bug">https://www.bewakoof.com/contact-us/anotherquery/i-would-like-to-report-a-bug</a></p><p>I quickly made Poc and reported it in December through the form ,and 2 days after I got a response like they have forwarded the concern to the dev.</p><p>On February 6th I got response which looks like <a href="https://twitter.com/AnonY0gi/status/1491362388054274048?s=20&amp;t=R5JZNtFQ0bdSHhjQ0FRcmg">this </a>. I rewrote them saying at least a proper Thanks is expected ,and they literally send the same mail again with different name from Customer care on 8th February .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*kbPDOTuffAF_9v4J" /></figure><p>I am like WTF yaar . Some people may say eehh you are doing BegBounty .No I am not expecting a bounty ,or any reward or anything but I can expect a proper appreciation in response like a manual reply not some copy paste bot message . Anyway here is the bug writeup . I hope you enjoy this writeup</p><p>For more cyber sec content you can subscribe to my you-tube channel as I post videos there regarding to bug-bounty <a href="https://www.youtube.com/channel/UCNlqBZY36HeKE3pPj6nvOrA">https://www.youtube.com/channel/UCNlqBZY36HeKE3pPj6nvOrA</a> and you can also follow me on twitter too <a href="https://twitter.com/AnonY0gi">https://twitter.com/AnonY0gi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c93c2724994" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JSON CSRF : CSRF that none talks about]]></title>
            <link>https://anonymousyogi.medium.com/json-csrf-csrf-that-none-talks-about-c2bf9a480937?source=rss-105e709d6f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2bf9a480937</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bugs]]></category>
            <category><![CDATA[csrf]]></category>
            <category><![CDATA[infosecurity]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Anon_Y0gi]]></dc:creator>
            <pubDate>Fri, 24 Sep 2021 05:30:38 GMT</pubDate>
            <atom:updated>2021-09-24T05:30:38.304Z</atom:updated>
            <content:encoded><![CDATA[<h3>JSON CSRF : CSRF that none talks about</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xDyZWPDQ_sG9H2v2PI_b7g.png" /></figure><p>Y0gi here back again with another interesting blog .In this blog i am going to talk about JSON CSRF , something which you have might heard or not but you don’t come across this often or haven’t seen much people talking about this … So what the fuck is this JSON CSRF?</p><p>Before diving into that let’s take a quick look of <strong>What CSRF is ?</strong></p><p><strong>Cross-site request forgery (also known as CSRF)</strong> is a web security vulnerability that allows an attacker to induce users to perform actions that they do not intend to perform. It allows an attacker to partly circumvent the same origin policy, which is designed to prevent different websites from interfering with each other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LMnVWSdYKEQoniZv.png" /></figure><p><strong>And What can be it’s Impact ?</strong></p><p>An Adversary can carry out CSRF attack to modify the details of a victim and also can take over the victim Account. .Also atatcker can buy goods ,add something to victim’s shopping cart ,disable 2FA etc</p><p>If you want to know CSRF in more details then please refer to <a href="https://portswigger.net/web-security/csrf">https://portswigger.net/web-security/csrf</a><br> <a href="https://owasp.org/www-community/attacks/csrf">https://owasp.org/www-community/attacks/csrf</a></p><p><strong>Now What ’s the deal with JSON CSRF?</strong></p><p>It’s nothing much different ; In <strong>JSON CSRF</strong> the data sent to the server is in JSON format and the Content-Type is <strong>Content-Type: application/json</strong>, now the problem is that we can’t send Content-Type: application/json, using a regular HTML form, it is only possible through an XMLHTTP Request or in simple words through an AJAX requests to the server, but due to CORS policy we can’t do that unless the server allows over custom <strong>Origin</strong> and <strong>Access-Control-Allow-Credentials: true</strong> is set in the response.</p><p>Let’s look at a request to understand the scenario better</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mUsmm3opubHnN54_.jpg" /></figure><p>So what’s going on ; {“id”:1025274966 …..} the data is sent in the form of json format instead of id=1025274966… ,</p><p>You can’t create a proof of concept like the one normally you create ,or by using Burp enagagement tools , to create CSRF poc</p><p><strong>So What to do now?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*dndJRixVuHa01I6W" /></figure><p>Well if we change the Content-Type from <strong>application/json</strong> to <strong>text/plain</strong> and there are no errors in the response and the form is submitted successfully than we can perform a CSRF Attack by creating an HTML Form with an attribute <strong>enctype=”text/plain”</strong>.</p><p><strong>But Vmro what if it doesn’t accept by text/plain , then?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*QFgTQpNShu_pOs2j" /></figure><p>Now if the text/plain method is not working then we also have another option, to check if the server accepts the data in form of <strong>Content-Type: application/x-www-form-urlencoded</strong>. or <strong>application/xml</strong></p><p>Now if the server accepts any one of these 3 then we can create a POC form like this to send the json data</p><pre>&lt;html&gt;<br>  &lt;body&gt;<br>  &lt;script&gt;history.pushState(&#39;&#39;, &#39;&#39;, &#39;/&#39;)&lt;/script&gt;<br>    &lt;form action=&quot;https://site url&quot; method=&quot;POST&quot; enctype=&quot;text/plain&quot;&gt;<br>     &lt;input type=&quot;hidden&quot;<br>     name=&#39;{&lt;json data&gt;,&quot;padding&quot;:&quot;&#39;value=&#39;something&quot;}&#39; /&gt;<br>     &lt;input type=&quot;submit&quot; value=&quot;Submit request&quot; /&gt;<br>    &lt;/form&gt;<br>  &lt;/body&gt;<br>&lt;/html&gt;</pre><p>Insert the json data in&lt;json data&gt; and the endpoint url in site url</p><p>So if the json data in site is this {“newsletter”:false,“email”:“<a href="/service/mailto:20btbeaexs@popcornfarm7.com">20btbeaexs@popcornfarm7.com</a>”,“name”:“Y0gi”} the line should be ‘{“newsletter”:false,“email”:“<a href="/service/mailto:20btbeaexs@popcornfarm7.com">20btbeaexs@popcornfarm7.com</a>”,“name”:“Y0gi”,“padding”:“‘value=‘something”}’ in the form</p><p><em>Trick: Sometimes the url endpoint remain confusing , mostly in case of api endpoint ,so you can check through burp csrf poc generator , what will be the url in the form</em></p><p><strong><em>Note: All of this is only possible if there is no Anti-CSRF protection token or some other CSRF protection mechanisim</em></strong>.</p><p>So still now what’s going on ? that lead to our bypass</p><p>Actually Server was looking for json formatted data but don’t validate the Content-type that’s why we were able to send the request by different methods</p><p><strong>But What if Server looking for json formatted data and validate the Content-type as well, i.e application/json?</strong></p><p>Now things are getting really really complex here ,If the Server is validating the Content-type what we should do now ? Is it a dead-end for us?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NyhnroLkYztkDPyP.jpg" /></figure><p>But</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*qUWM0gNjaT2fqrNY" /></figure><p>Here even if application is validating the Content-type and data format, this attack can be achieved using flash and 307 redirect.</p><p>First we will need a specially crafted crafted SWF flash file</p><p>This flash (.swf) file have our json formatted data which attacker have to post on the target application, and link to hosted php file in it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/0*Ts8g-ML3tZQRI9SR.png" /></figure><p>2nd we gonna need a CrossDomain XML File</p><pre>&lt;cross-domain-policy&gt;<br>&lt;allow-access-from domain=&quot;*&quot; secure=&quot;false&quot;/&gt;<br>&lt;allow-http-request-headers-from domain=&quot;*&quot; headers=&quot;*&quot; secure=&quot;false&quot;/&gt;<br>&lt;/cross-domain-policy&gt;</pre><p>This file should be hosted on attackers website’s root directory, so flash file can make request to attacker’s host.<br> <em>Note: You don’t need crossdomain file if flash file &amp; redirector page is on same domain.</em></p><p>Next we need a PHP File with 307 Status Code</p><pre>&lt;?php</pre><pre>// redirect automatically</pre><pre>header(&quot;Location: https://victim.com/user/endpoint/&quot;, true, 307);</pre><pre>?&gt;</pre><p>Flash file request for this php file, this will make 307 redirect to mentioned application endpoint, and as 307 is special redirect which will post the JSON data as well which got received from the flash file to the target endpoint and CSRF will take place successfully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/0*OwvOAwiooHYlaMjQ.png" /></figure><p>That’s it ,this CSRF issue is quite complex and in lot of cases using flash for browser is Out Of Scope ,so carefully read the scopes of programs if you have encountered this scenario</p><p>This method of CSRF is originally posted by <a href="https://twitter.com/emgeekboy">https://twitter.com/emgeekboy</a> .So kudos to the pro</p><p>One interesting thing i wanna share is the first valid CSRF that I found is json-csrf ,and i also got Hall Of Fame due to it ….</p><p>Anyway if you like this writeup and if it proves to be helpful for you like and upvote this post</p><p>Want to get updates about my cybersec journey .follow me on twitter <a href="https://twitter.com/AnonY0gi">https://twitter.com/AnonY0gi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2bf9a480937" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Response manipulation to Account takeover]]></title>
            <link>https://anonymousyogi.medium.com/response-manipulation-to-account-takeover-7a3efce36fad?source=rss-105e709d6f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a3efce36fad</guid>
            <category><![CDATA[bugs]]></category>
            <category><![CDATA[bugcrowd]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Anon_Y0gi]]></dc:creator>
            <pubDate>Fri, 13 Aug 2021 16:18:21 GMT</pubDate>
            <atom:updated>2021-08-14T05:11:47.324Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*1AmBSvV_3FsTc8ePpEJbKg.jpeg" /></figure><p>Hello everyone I am back again with another blog ,in this blog i will going to tell about an easy P1 bug I encountered while hunting</p><p>Before proceeding to the reproduction phase ,we need to know a little about <strong>Authentication Bypass</strong></p><p><strong>So What is Auth Bypass?</strong></p><p>Authentication Bypass is a dangerous vulnerability which is found in Web-Applications. Attackers can bypass the control mechanisms which are used by the underlying web application like OTP, Captcha, 2FA, Email verification etc. <br> An Attacker can perform a complete Account takeover of Victim.</p><p>So let’s proceed to the thing now</p><p>Let’s consider our target as <strong>AnonY0gi.com</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*jAB6y6kpFeq43wNo" /></figure><p>It’s an ecommerce site ,so I tried to find logic flaws in payments and carts ,csrf ,xss , host header ,but didn’t get any success .One thing our target AnonY0gi.com’s Hall Of fame is a large list ,and it’s also a very old program. Hmm so things will not be easy</p><p>Ok one of the feature the site is we can login through OTP ,and also in password reset we need the right OTP to change password, so i immediately tried to bypass the OTP in login but didn’t get result</p><p>Ok now i went to Forgot password and typed my email and sent password reset OTP</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/0*vxygZ-sYUdI0tHI9.png" /></figure><p>Back in mailbox we get the OTP ,and after typing the write OTP I intercepted the response to that request ,and i got something interesting in the json code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/0*KyDghIitIAYaJDB1.png" /></figure><p>The json data is like this in response</p><p>{&quot;status&quot;:&quot;success&quot;,&quot;user_id&quot;:80113945,&quot;redirect&quot;:&quot;https:\/\/www.AnonY0gi.com\/&quot;}</p><p>Next i typed wrong OTP ,and also intercepted the response to this request</p><p>The json data looks like this now</p><p>{&quot;status&quot;:&quot;fail&quot;,&quot;errors&quot;:[{&quot;key&quot;:&quot;otp&quot;,&quot;value&quot;:&quot;2899&quot;,&quot;message&quot;:&quot;Incorrect OTP.&quot;}]}</p><p>Ok so what if I changed all this to the correct json data of previous one<br> I changed the status from fail to success added user_id and redirection url ,and Forward the response<br> And YES i am able to change the password of that user ,and we successfully bypassed OTP</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*mAIaJ_l-lenUh8tS" /></figure><p>OK you must be thinking but how will i get the victim user_id right? that is unknown to us ,<br> Fortunately I was able to bypass ratelimiting in the site ,and hence by bruteforcing we can get the right user_id</p><p>Yes I did try for IDOR by replacing the user_id with a diff account id ? Yes i did that ,but no success</p><p>Anyway I was very happy after i find such a logic flaw in the application ,I immediately reported the bug to the security team</p><p>2 days later i got this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/0*UKl3ot58YWYkwohV.png" /></figure><p>And my heartbroke since it was my first P1 and it turned out to be a duplicate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/72/0*CV1zOkOheS6EkTZ_.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/72/0*0p333ghUSOrvhPjy.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/0*LzEy_56IW0eqq_r9.png" /></figure><p>Anyway if you like the blog and if it is helpful for you ,like my post and follow me on twitter <a href="https://twitter.com/AnonY0gi">https://twitter.com/AnonY0gi</a></p><p>Good Night, Shabba Khair Kailash kher . Wish you a happy married life</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a3efce36fad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kickstart your hacking Dream with TryHackME]]></title>
            <link>https://anonymousyogi.medium.com/kickstart-your-hacking-dream-with-tryhackme-3f8c4e89be29?source=rss-105e709d6f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f8c4e89be29</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Anon_Y0gi]]></dc:creator>
            <pubDate>Mon, 12 Jul 2021 15:32:37 GMT</pubDate>
            <atom:updated>2021-07-12T15:36:59.710Z</atom:updated>
            <content:encoded><![CDATA[<p>Are you one of those who got fascinated by hacking movies , cool hackers in hoodie breaking into banks and powergrid? Are you one of those who get attracted by black terminal with green font ?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*FE_pKkhR4A9T-0BPtILQSA.gif" /></figure><p>So you came to see this post ,means you want to learn hacking ,So let me guide you through out .No matter if you are an absolute beginner or just started out in the field but confused about what to do or you have done some haxorrr thing in termux .So whatever position you are in But by the end of this article there will be clear mindmap infront of you…</p><p>One of the challenging thing that every beginner faced is study materials ,like where do they can clear the basics ,you need to learn networking and web fundamentals but from where to where,and after learning where to practice? What if I tell you that these all hinderances are getting vanished day by day Because of great platforms and learning areas.<br> But first, let me introduce you with</p><h3>“What actually Cyber security is?”</h3><p>Cyber security is the practice of defending computers, servers, mobile devices, electronic systems, networks, and data from malicious attacks. It’s also known as information technology security or electronic information security. The term applies in a variety of contexts, from business to mobile computing, and can be divided into a few common categories like Network Security , Application Security, Informational Security, Operational Security and so on…</p><h4>Let us just summarize things to learn first before entering into Cyber security domain ⇒</h4><ol><li>Introduction to Cyber security</li><li>Proper knowledge of Networking Terms and fundamentals</li></ol><ul><li>OSI Model (Base of Networking)</li><li>TCP/IP</li><li>IP Addresses</li><li>Subnetting</li><li>Learn how data is transmitted through networks(Packets and frames)</li><li>Routers, Switches, Port Forwarding</li><li>Firewalls(WAFs), VPN,</li></ul><p>3. Know about how the Internet and Web services work and theory behind it.</p><p>4. Learn any OS</p><ul><li>Linux</li><li>Windows</li><li>Mac</li></ul><p>Now, Being a <em>complete beginner</em>, You must be little bit shaking in your head that these topics are looking so uncommon and really hard. But, In reality these are the most basic things required to get started in Cyber-Sec domain.</p><p>You:- Ok, But from where to learn these ? How will I get these all things in a systemised manner/order? I can’t always prepare notes, coz its really lengthy work, any alternative?</p><h3>Chill, Yogi is here to get your way through.</h3><p>Let me introduce you to a great platform for such a great kickstart i.e <a href="https://tryhackme.com/"><strong>TryHackMe</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*1xQIcXZHHUFPXCi2sCkjfA.png" /></figure><p>TryHackMe is an online platform that teaches cyber security through short, gamified real-world labs. It has content for both complete beginners and seasoned hackers, incorporating guides and challenges to cater for different learning styles.</p><p>Sign up to Tryhackme there, Buy the premium membership which is just $10/month. <br> <strong>But</strong> At the very beginning, I won’t recommend you to spend any money. Instead, Start learning for free from such an amazing Platform.</p><p>So, What’s next ? <br> Tryhackme has total 6 paths as of now that will absolutely lead you from <strong>Noob to PRO</strong><br> The path you beginners need to start from is one and only⇒<a href="https://tryhackme.com/path/outline/presecurity"><strong>Pre-Security Learning Path By TryHackme</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N9Xa9NQjTuWDUw6Ebbd6Bw.png" /></figure><p>Let’s take a quick glance at the captures that you will get in this path!!!</p><p>Exactly the same things Imentioned earlier in this blog while summarizing the first few important topics to learn. This learning path will teach you the pre-requisite technical knowledge to get started in cyber security. To attack or defend any technology, you have to first learn how this technology works.</p><p>You will learn about Networking ,Web ,Linux and Windows Fundamentals</p><h4>Another Important thing to know, You will be earning a certificate of completion for the completing the full path whichever it is on Tryhackme. Just share those certs anywhere on your socials and let world know about your achievements. Sounds cool right!! Take a look at this</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UHxARwX-5Urub9gwLmIYcg.png" /></figure><ol><li><strong>Where will you stand after completing this Path?</strong></li></ol><blockquote><strong><em>Ans. If you survived this, that means You are good with most basic understanding needed while learning basics further in this field.</em></strong></blockquote><p><strong>2. What to do next?</strong></p><blockquote><strong><em>Ans. Good Question!! Now, I will suggest you to buy Tryhackme subscription and Go for Complete Beginner’s path. This path will prepare you like a complete beginner. After completing this you will be having Loads of knowledge to broaden them, Explore them, Use them.</em></strong></blockquote><blockquote><a href="https://tryhackme.com/paths">Complete Beginner Path</a></blockquote><p>After that you can go to either Defensive Pathway or Offensive Pathway</p><p>CyberDefensive path</p><p>Offensive Path which will go Pentest+ =&gt; Offensive Pathway</p><h3>Now, Time for a Surprise.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/221/0*pRYwU6Yd38mj7OO9.png" /></figure><h4>Tryhackme is celebrating the release of our new Pre Security learning path — complete a room that’s part of this path and win tickets, get 3 of the same to redeem a prize. If you’re a free user you can win 1 ticket, however subscribed users can win 2 tickets.</h4><p><strong>The ticket promotion ends on the 15th of July</strong></p><p><strong>Tryhackme have over $5,500 worth of prizes up for grabs!</strong><br> Collect tickets completing Security path through getting tickets and get a chance to win Following prizes⇒</p><ul><li>Lucky Title</li><li>Streak Freeze</li><li>10% Swag Discount</li><li>Tryhackme Stickers</li><li>1 Month THM Voucher Worth $10</li><li>Swag Voucher Worth $20</li><li>Throwback Voucher Worth $60</li><li>3 Month THM Voucher Worth $30</li><li>Security+ Voucher Worth $275</li><li>OSCP Voucher Worth $1000 Each</li></ul><p>Click on link to know more about this celebration⇒ <a href="https://tryhackme.com/room/tickets1">Learn and Win Prizes</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*7SnrDXfTyttgLus0mJoM9A.gif" /></figure><p>Hope this blog will be useful to you .For more cybersec content follow me at <a href="https://twitter.com/AnonY0gi">https://twitter.com/AnonY0gi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f8c4e89be29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Found bug at Swiggy]]></title>
            <link>https://anonymousyogi.medium.com/how-i-found-bug-at-swiggy-55bc2015407f?source=rss-105e709d6f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/55bc2015407f</guid>
            <category><![CDATA[bug-hunting]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Anon_Y0gi]]></dc:creator>
            <pubDate>Sat, 26 Jun 2021 07:57:39 GMT</pubDate>
            <atom:updated>2021-10-14T06:37:15.879Z</atom:updated>
            <content:encoded><![CDATA[<p>Well this bug is P4 ,but if swiggy devs were little more unconscious i would have hit the jackpot ; anyway let’s jump into the topic</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*EQtmRbH2Mi4Is7JqcppPtw.jpeg" /></figure><p>It was just an another day when i was super tired after my classes ,and i was thinking to get some snacks ,and being lazy enough i opened Swiggy and ordered some food ,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/0*YVsr9DeAW4s-2uWd" /></figure><p>While my delivery was on its way ,i just came up with a casual idea “Hey, I should try to find bugs on swiggy site ,if something come up”</p><p>So as usual I opened the swiggy and logged in and was analyzing all the request and responses</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*binj49YblYknM13n" /></figure><p>And after sometime i found the response after inputting OTP is interesting</p><p>{&quot;statusCode&quot;:0,&quot;statusMessage&quot;:&quot;done successfully&quot;,&quot;data&quot;:{&quot;addresses&quot;:[],&quot;verified&quot;:true,&quot;mobile&quot;:&quot;**********&quot;,&quot;juspay&quot;:{&quot;cards&quot;:{&quot;cards&quot;:[],&quot;merchantId&quot;:&quot;com.swiggy&quot;,&quot;customer_id&quot;:&quot;88298457&quot;},&quot;merchant_name&quot;:&quot;Swiggy&quot;,&quot;merchant_id&quot;:&quot;com.swiggy&quot;,&quot;return_to_url&quot;:&quot;http://www.swiggy.com/justpay/response.php&quot;},&quot;otp&quot;:&quot;218678&quot;,&quot;attempt&quot;:1,&quot;token&quot;:&quot;96c78b5f-3447-4cc3-aa66-33d0947e7d21f4b28a48-cdba-471d-bc29-ca83b334ec2f&quot;,&quot;emailVerified&quot;:false,&quot;signupSource&quot;:&quot;SWIGGY&quot;,&quot;referral_code&quot;:&quot;00DGO6&quot;,&quot;name&quot;:&quot;asdfgh&quot;,&quot;hasWallet&quot;:false,&quot;customer_id&quot;:&quot;88298457&quot;,&quot;email&quot;:&quot;piwene3552@brayy.com&quot;,&quot;mobileUpdateVerified&quot;:true,&quot;optional_map&quot;:{&quot;SWIGGY_PAY&quot;:{&quot;meta&quot;:{&quot;schemaVersion&quot;:&quot;5.0.0&quot;},&quot;value&quot;:{&quot;swiggyPayEnabled&quot;:true}},&quot;SUPER_DETAILS&quot;:{&quot;meta&quot;:{&quot;schemaVersion&quot;:&quot;1.0.0&quot;}},&quot;IS_SUPER&quot;:{&quot;meta&quot;:{&quot;schemaVersion&quot;:&quot;1.0.0&quot;},&quot;value&quot;:{&quot;superStatus&quot;:&quot;NOT_SUPER&quot;}}}},&quot;tid&quot;:&quot;c54779b4-3767-4afa-89a9-92528edcfbea&quot;,&quot;sid&quot;:&quot;tz95dee3-6299-4a23-a947-3712a00c1e31&quot;,&quot;deviceId&quot;:&quot;ed4d835f-4d3d-40af-acb1-f562ae742fad&quot;,&quot;csrfToken&quot;:null}</p><p>So i tried to see the response by entering wrong OTP</p><p>and it was like this</p><p>{&quot;statusCode&quot;:1,&quot;statusMessage&quot;:&quot;OTP expired&quot;,&quot;tid&quot;:&quot;3c79e125-d1f5-4807-887e-684994649be0&quot;,&quot;sid&quot;:&quot;tz95dee3-6299-4a23-a947-3712a00c1e31&quot;,&quot;deviceId&quot;:&quot;ed4d835f-4d3d-40af-acb1-f562ae742fad&quot;,&quot;csrfToken&quot;:null}</p><p>I tried to change the boolean value and status code but nothing came up ,then i copied the response of the correct request ,and paste it in the response of invalid one and forward the request</p><p>i successfully bypassed the login without entering the correct OTP</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/0*_VyIRhs0SAkMGroZ" /></figure><p>Yea! well but the catch is you can’t move too much things in it , like all i can do is just login ,that’s it if i try to see all the account details ,i was getting logged out ,and that’s why it made the impact low :( :(</p><p>But weak endpoints in scenerio like this can leads to complete Account takeover which would have make a larger impact….</p><p>I hope this writeup is useful for you ….You can follow me up in twitter <a href="https://twitter.com/AnonY0gi">https://twitter.com/AnonY0gi</a> for more cybersec content ….</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55bc2015407f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CMesS Writeup TryHackMe]]></title>
            <link>https://anonymousyogi.medium.com/cmess-writeup-tryhackme-5eaac8f1f68?source=rss-105e709d6f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5eaac8f1f68</guid>
            <category><![CDATA[oscp]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[tryhackme]]></category>
            <dc:creator><![CDATA[Anon_Y0gi]]></dc:creator>
            <pubDate>Tue, 11 May 2021 13:32:34 GMT</pubDate>
            <atom:updated>2021-05-11T13:38:14.613Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone ,this is my first writeup on THM room in medium. I will be trying to write this up in a lucid way ….</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*PfQF_GRpENbhaWguypu0dw.png" /></figure><p>First things first we’re told to add the hostname to our /etc/hosts file.So just open /etc/hosts with nano or vim or any text editor you like ;and simply add the hostname <strong>&lt;ip&gt; cmess.thm</strong></p><p>Now let’s proceed to a nmap scan ,and let’s see what we get; <strong>nmap -sV -T4 -A &lt;machine ip&gt;</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/1*0nHzVCoR9Io21raDpkxCXw.png" /></figure><p>As we can see ,port 22 and port 80 are open ,with port 80 running a web server. Heading over to port 80 we see a simple and pretty empty home page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mQGwtVqr36InIKVO9oE0jQ.png" /></figure><p>We can see Gila CMS is running on it ,and there’s also nothing important in robots.txt ,we have already seen that in our nmap scan ,so let’s move on to see if we can find hidden directories.Fire up dirbuster and let’s see</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tHrtfAsTkq0XrAztF6IQGQ.png" /></figure><p>Proceeding to /admin ,we can see an admin panel .After a lot of tries ,it seems nothing is working ,so i looked for the hint given in the room ,and as per the hint ,we need to fuzz for subdomain. There are lot of ways to fuzz including using burpsuite turbo intruder ,but still I choose to stick to <strong>wfuzz </strong>(Reason : speed matters)</p><p><strong>wfuzz -c -f subdomains.txt -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt -u “http://cmess.thm/” -H “Host: FUZZ.cmess.thm” — hl 107</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MG2nUQRzWTimwABO_lSGwg.png" /></figure><p>Almost instantly it gave a result ;Interesting huh!!</p><p>We added this to /etc/hosts too, then navigated to the site and boom! We found some chat-looking thing with some credentials in it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sIgCjBhY4TwJZ6_ni1Rd_w.png" /><figcaption>Blurred the credentials so that you all try by yourself</figcaption></figure><p>After getting the cred ,I tried to ssh in with these but no luck ; so went and tried this cred in admin panel <strong>cmess.thm/admin</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UU0VStpiZs_5E5DIGo-4Pw.png" /></figure><p>Boom! We are in , now let’s try to find a place to upload our shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iHovrYSAQVCdW3DtNTb21w.png" /></figure><p>Great stuffs !! we see we have some type of directory listing now with some upload functionality, so lets see if we can upload a shell. (We are going to use Pentest monkey reverse shell)</p><p>We managed to upload a payload which goes in to the “assets” directory. Lets start a listener back in our machine; <strong>sudo rlwrap nc -lvnp 1234</strong> (note: the port number should be same we gave in reverse shell) and then browse to <a href="http://cmess.thm/assets/php-reverse-shell.php"><strong>http://cmess.thm/assets/reverseShell.php</strong></a><strong> </strong>to get the server to process the payload.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*MFZ2mWi66edrGZeocNR6tQ.png" /></figure><p>Awesome !! we are in ; now let’s proceed for enumeration ,so we will open a python server back in our machine and in our compromised machine ,we will move on to /tmp and download linenum from our machineby wget for enumeration</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*0HCMsnCQBY6FYLINcg-AcQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*jy9RlUu8gDO7m3Sv9tloAw.png" /></figure><p>After giving permission to execute ,run it by <strong>./linenum.sh</strong></p><p>Now let’s see if we get something interesting ;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hz8j81wF-ZQwLleoYsJUVw.png" /></figure><p>Hola ,we can see some password file is there /opt ,let’s see what’s in it :)</p><p>On opening it ,we will get to see andre’s password ,now let’s ssh into the machine as Andre</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*7-07cVqS1FoRf5AeEIgJdw.png" /></figure><p>Awesome ,now on doing ls ; we will see user.txt ,open it and we will find our first flag</p><p>Great, during enumeration we also did find something interesting in /crontab.Looking into our results from linenum we see that a cronjob is running as root in every 2 mins.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*5UkGbkADcGUqUTlHI6tPpw.png" /></figure><p>In the last line we can see thejob is running a tar command to backup the andre users “backup” directory and everything in it and because this tar job is running with the “*” wildcard parameter we can do a wildcard exploit.</p><p>Now we will proceed via Priv esc techniques of wildcard exploit ,but instead of using the traditional method of creating a msfvenom payload and starting a listener ,we will just proceed in a little different way</p><p>We will copy /bin/bash to /tmp/bash ,and will give execute permission and place it in /home/andre/backup ,followed by running tar commands</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*FafuEnuGQz4_YWIS9o6lCQ.png" /></figure><p>After that we will wait for a min for our bash script to get executed and to trigger it ,we will type <strong>/tmp/bash -p</strong></p><p>Viola ,we are in as root ,rest find the flag and enjoy!!!!</p><p>To conclude : This was a great box and really demonstrated the issues behind using wildcard’s in automated jobs or scripts, and how a hacker can leverage these vulnerabilities to gain higher privileges.</p><p>I hope this writeup will be helpful for you;Thank you……</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5eaac8f1f68" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I cracked eJPT successfully ; eJPT Review]]></title>
            <link>https://anonymousyogi.medium.com/how-i-cracked-ejpt-successfully-ejpt-review-d9e3c34bae8a?source=rss-105e709d6f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9e3c34bae8a</guid>
            <category><![CDATA[oscp]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[ejpt]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Anon_Y0gi]]></dc:creator>
            <pubDate>Tue, 27 Apr 2021 06:05:53 GMT</pubDate>
            <atom:updated>2022-01-16T16:10:30.154Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>How I cracked eJPT successfully ; eJPT Review</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/309/1*jzynk2dcrRxKfoSnvQcmqg.png" /></figure><p>The elearn security certifications are growing in terms of popularity and I was thinking for quite a few months to test my skills ,somewhere in an exam scenario. One of my dearest friend recommended me to give eJPT for that which I of course didn’t pay heed to it at first . But he gave me a voucher of 50% discount on the exam and that’s what exactly instigated me to give the exam :) HE HE !</p><p>A little background of me goes kinda like ; I am not an infosec guy ,neither I had taken computer science after 10th Boards and far away from any thing which relates to any kind of computer LOL!! ; same scenario in my college .But I always cherished an interest in hacking and cybersecurity. I am not a very regular CTF player in <a href="https://www.vulnhub.com/"><strong>Vulnhub</strong></a> and <a href="https://www.hackthebox.eu/"><strong>Hack The Box</strong></a> , but have solved a couple of Rooms in<strong> </strong><a href="https://tryhackme.com/"><strong>Try Hack Me</strong></a> and few machines of VulnHub(Of course with a little bit of hints and what not).</p><h4>KEY TAKEAWAYS</h4><ul><li>Everything you need to pass the eJPT exam is covered in the Penetration Testing Student (PTS) learning path on INE, which is part of the free Starter Pass</li><li>You have 72 hours to complete your exam and 1 free retake if you fail</li><li>The exam is hands-on and has 20 multiple choice questions based on your findings</li><li><a href="https://checkout.ine.com/starter-pass">PTS Training</a> for Free</li><li>Because the PTS training is free, you’ll only have to pay for the $200 <a href="https://elearnsecurity.com/product/ejpt-certification/">eJPT voucher</a> to get certified.</li></ul><h4>How I studied PTS at first</h4><p>I started with networking and I hit a wall. Most probably as per me ,this is one of the hardest thing you need to gulp down ,(and the most probable exorcist you are going to face in exam with poor networking skills ). I did N+ course of Mike Meyers ,which you can get at udemy ,but if you are a free loader like me ,you are just one step away from Googling it out and download for free. My best recommendation when things get difficult in this course is to keep going(philosophy af ,in reality only 50% of people follows it ,rest are suckers like me). I read all of the slides and watched all the videos and did the labs twice except the 3 Black Boxes . I kept the BlackBox Labs for last 2 days to solve and to my misfortune the labs were down in the very last 2 days before appearing for exam .I thought it’s extremely important to understand the theory, but because of my intimidation, I spent way too much time on it. and eventually overlooked the important part of it.Looking back, I understand why I would get stuck….</p><h4>PTS study recommendations</h4><p>Make sure to focus on networking skills ,and pcap file analysis with Wireshark ,cuz that’s what you need for the exam ,if you complete that part in exam trust me 80% of your exam is over ,atleast that happened for me</p><p>Go through the <strong>INE PTS</strong> materials more than once</p><p>And if you can ,just complete the <a href="https://tryhackme.com/paths"><strong>Complete Beginner</strong></a> pathway of TRY HACK ME(not manditory but will help you in exploitation first).It won’t cost you more than 10$ ,but if you have some good connections ,you can manage a free voucher.</p><h4><strong>Exam Experience</strong></h4><p>This is probably the part which most people must be waiting for. So here’s the deal with the exam, you’ll hear a lot of people saying that the exam is damn easy and easy to pass which I agree . However, it’s not that easy also ,atleast not like the people saying … So the exam format is like this :-</p><p>-20 multiple choice questions with one or more than one.</p><ul><li>In order to answer these questions, you’ll be given a letter of engagement and a VPN pack with which you’ll have to connect to their network and perform a penetration test. Read the letter very carefully word toword.</li><li>The time to complete the exam is three days or 72 hours. I took me around eight and half hours to complete it with a score of 19/20 .</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3UFJFH6exWL-jTcqXi5bxw.png" /></figure><ul><li>The networking section took me more than 5 hours to dig out the problem ,and rest went on smoothly .My previous experience in Vulnhub and THM helped me to complete the exploitation .Once I was in a rabbit hole while solving the windows machine but recovered and another thing I faced during exam is sometimes after 6 hours they close the lab ,you may need to check if your connection is up .I didn’t noticed that and successfully wasted almost half an hour in a dilemma of why aren’t the commands executing successfully</li><li>The exam setting was so cool, something which I was already missing the moment my exam got over. But the experience was awesome…</li></ul><h4><strong>Few points about the exam which you should take care and not make the mistakes I made:</strong>-</h4><p>1-Try imagining the network structure (this will help you with the routing thing if you got stuck)</p><p>2-Don’t rush into things and get excited about something ,which I did and in that Adrenaline rush ,I ran into a silly problem early on , after which I took a step back to take a look at what was I not able to see only to find the answer staring back at me.</p><p>3-Maybe the payload isn’t suitable with the system? or whatever you have done for the same scenario in Lab; you need to think something ahead of that.</p><p>4-Think like a hacker ,you can use Metasploit ,so try to utilize it’s power ,you may have to do trial and error looking for the exact exploit to work ,and in this context take help from youtube and google .And also lemme tell you Old systems may have more than one vulnerability ,you can try looking for other exploits to get a system shell ;)</p><p>5-Keep a calm head, the answer will probably the first thing which you had thought of but dismissed it thinking that it would have been too easy.Also don’t waste your time in useless heavy nmap scans, the basic scan will suffice.</p><h4>Final words of encouragement</h4><ul><li>You have a whole community of people rooting for you.</li><li>If I can do it, why not you?</li></ul><p>I hope this write-up will be helpful to you and you will also pass the exam with flying colors …. Follow me on twitter for cybersec content <a href="https://twitter.com/AnonY0gi">https://twitter.com/AnonY0gi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9e3c34bae8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>