<?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 Ritikpatel on Medium]]></title>
        <description><![CDATA[Stories by Ritikpatel on Medium]]></description>
        <link>https://medium.com/@hackmeritik?source=rss-dc0df4995c39------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hKDKFRGVNM2yCU5SbNYnPA.png</url>
            <title>Stories by Ritikpatel on Medium</title>
            <link>https://medium.com/@hackmeritik?source=rss-dc0df4995c39------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 14:29:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hackmeritik/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[Beginner’s Walkthrough: Solving the Overpass Room on TryHackMe]]></title>
            <link>https://medium.com/@hackmeritik/hii-everyone-this-is-my-first-write-up-so-ignore-my-silly-mistakes-9fc42066f72b?source=rss-dc0df4995c39------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fc42066f72b</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[owasp]]></category>
            <category><![CDATA[overpass3]]></category>
            <dc:creator><![CDATA[Ritikpatel]]></dc:creator>
            <pubDate>Sat, 31 Jan 2026 13:46:49 GMT</pubDate>
            <atom:updated>2026-01-31T17:19:10.256Z</atom:updated>
            <content:encoded><![CDATA[<h3>“Beginner’s Walkthrough: Solving the Overpass Room on TryHackMe”</h3><blockquote><strong>Lest,s start now, so in this write-up we cover </strong><a href="https://tryhackme.com/room/overpass"><strong>overpass machine on tryhackme</strong></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7SSpQq6gNtSmdXb1kvx0mA.png" /></figure><blockquote><strong>so we saw in the machie we have to target two flags and we have some hint or something but in this article we cover only how to find first flag. not both</strong></blockquote><blockquote><strong>Hint:</strong></blockquote><p><em>What happens when a group of broke Computer Science students try to make a password manager?<br>Obviously a perfect commercial success!</em></p><p><em>There is a TryHackMe subscription code hidden on this box. The first person to find and activate it will get a one month subscription for free! If you’re already a subscriber, why not give the code to a friend?</em></p><p><em>UPDATE: The code is now claimed.<br>The machine was slightly modified on 2020/09/25. This was only to improve the performance of the machine. It does not affect the process.</em></p><blockquote><strong>so we go to the ip of a machine “we get something intresting in the web page”</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wVa-vPG1VsxXk4UKAdFluw.png" /></figure><blockquote><strong>Let’s scan the website with dirsearch and see what we get</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_1jGpegh-_s0txxYJD-X_A.png" /><figcaption><strong>We got a admin directory its interesting</strong></figcaption></figure><blockquote><strong><em>Break down :</em> dirsearch -u &lt;IP&gt; -w /usr/share/dirb/wordlists/common.txt</strong></blockquote><p><strong><em>dirsearch</em></strong> : its a <strong>directory brute</strong> forcing tool. for more info go to<strong> </strong><a href="https://github.com/maurosoria/dirsearch"><strong>github</strong></a></p><p><strong>-u</strong> : for assigning a <strong>url </strong>or a <strong>ip</strong></p><p><strong>-w</strong> : for assinging a <strong>wordlist</strong> in our case we have a<strong> common.txt</strong></p><blockquote><strong>Let,s go to the admin directory and WOW we have a admin page with login fuction</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e4MB4tL6kthvbaNQolO88g.png" /></figure><blockquote><strong>so we forget to scan the ip let,s scan the ip through nmap (Network mapper) and see what we got</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*z3JGjBlLhZwcByl5ZySY9A.png" /></figure><blockquote><strong>Okay we got two open port 22 and 80 “At this time we inspect the login page and see what we got”</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AWTKzkURiqrgq9qx1Kjkiw.png" /></figure><blockquote><strong>The login page is handled by some “javascript code”. It gets the username&amp;password and sends it to a specific endpoint to get a response</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*vg7oSYYQZzlMWBmVPSORwA.png" /></figure><p>The hint shows this is an <strong>OWASP Top 10</strong> issue, and no password guessing is required.The application saves login data in a cookie called <strong>sessiontoken</strong> Because of <strong>Broken Authentication</strong>, the app may not properly check this cookie So if we manually set the <strong>sessiontoken</strong> to any value, the app might think we are logged in.</p><blockquote><strong><em>After setting the cookie, we can open the admin page and get access without real authentication</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*G2lt_V1te7jtxdz5xwUJtQ.png" /></figure><p>On this page we find a SSH key and a note from Paradox. The SSH key has a section that says ENCRYPTED, this means we’ll probably need to crack it.For that we can use <strong>ssh2john</strong> and <strong>john</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*thDmEuESI3bV5NPTppWyXQ.png" /></figure><blockquote><strong>Now, this crack file can be used with “john” to obtain the passphrase.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*NB9xgzkICVQ05u93zwp4ww.png" /></figure><p><strong>“So This means james13 is the passphrase of the SSH private key (id_rsa )”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*U4djYRjjvCIZjdK8D54P2A.png" /></figure><p>After cracking the SSH private key passphrase, we fixed the key permissions by setting the <strong><em>id_rsa</em></strong> file to <strong>600</strong>, which is required by SSH. Using this key, we successfully logged in as the <strong>james</strong> user. Inside the user’s home directory, we found <strong><em>user.txt</em></strong>, which contained the <strong>first flag</strong>.</p><blockquote><strong><em>Its Time to get root Privilege Escalation part not that easy for me lol.</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*DOGVaqmluVjyVEN0.gif" /></figure><blockquote><strong>But here is a problem we find second flag in another article</strong></blockquote><p><strong>++TAKEAWAY FROM THIS MACHINE++</strong></p><p>This was easy box from <a href="https://tryhackme.com/p/NinjaJc01">NinjaJc01</a><br>this covers all the basic from enumeration to rooting this box , even this involved OWASP top 10..This box made sure to checkout source of each directory. phew… finally thanks for reading<br>feel free to suggest me … cheers !</p><blockquote><strong>follow me on social media platform and just search on anysocial media platform @hackmeriti</strong>k</blockquote><p>X : <a href="https://x.com/HackmeRitik">https://x.com/HackmeRitik</a></p><p>Linkdien : <a href="http://www.linkedin.com/in/hackmeritik">www.linkedin.com/in/hackmeritik</a></p><p>Youtube :<a href="https://www.youtube.com/@hackmeritik">https://www.youtube.com/@hackmeritik</a></p><p>— — — — — — — — — — — — — — — — — -end — — — — — — — — — — — — — — — — — —</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fc42066f72b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>