<?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 Ripperhunter on Medium]]></title>
        <description><![CDATA[Stories by Ripperhunter on Medium]]></description>
        <link>https://medium.com/@ripperhunter235?source=rss-0069a809b413------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*BevYOrKjxcBjGrke</url>
            <title>Stories by Ripperhunter on Medium</title>
            <link>https://medium.com/@ripperhunter235?source=rss-0069a809b413------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 22:40:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ripperhunter235/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[Pwntilldawn snare 10.150.150.18]]></title>
            <link>https://medium.com/@ripperhunter235/pwntilldawn-snare-10-150-150-18-bf8a38315fcd?source=rss-0069a809b413------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf8a38315fcd</guid>
            <dc:creator><![CDATA[Ripperhunter]]></dc:creator>
            <pubDate>Mon, 24 Nov 2025 11:43:02 GMT</pubDate>
            <atom:updated>2025-11-24T11:43:02.449Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*yGxySymJWqVtqi6o86iiCw.png" /></figure><h3>Enumerating using Nmap</h3><p>nmap -p- -sCV 10.150.150.18</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*65RHLuW3PUHZZ0y11Gidxg.png" /></figure><p>Port scanning revealed two accessible services: SSH on port 22 (OpenSSH 8.2p1, Ubuntu) and HTTP on port 80 (Apache 2.4.4)</p><p><strong>SSH</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*8Iz_HwojUHawKpJ2OMj7_A.png" /></figure><p>Password Authentication SSH access was configured to allow password‑based authentication, increasing exposure to credential‑guessing attempts compared to key‑based authentication 🥸</p><p><strong>HTTP(80)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*DUMDGWC4eMrQRVLUbpKSuw.png" /></figure><p>we can see a input field in our url which is an hint for file inclusion . lets try remote file inclusion by running a simple python server on our machine to upload a reverse shell and also set up a connection‑goblin 🕵️.</p><p>my reverse-shell is ready</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*drvzaJMLY-qFKanpnROv1g.png" /></figure><p>this is my <em>python server</em> use Hosting payloads or scripts to download via wget/curl on a target machine also for quich sharing of file on a local network and<em> my connection‑goblin(netcat)</em> that is use for creating simple TCP or UDP connections, sending and receiving data, and testing network communication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*d03JVbo7pGTZAajEQAJO9g.png" /></figure><p>Returning to the browser, I modified the query parameter to point to the file hosted on my test server. The application fetched it successfully, confirming remote file inclusion and giving me command execution on the system</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/1*4D0qvqf2vF70UnACQEE7xQ.png" /></figure><p>By updating the URL parameter to pull content from my local HTTP server, the vulnerable page executed the supplied payload, providing the expected system access</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*DVHnEi3hlrGNXAincMbVDQ.png" /></figure><p>After obtaining the first flag, further enumeration revealed that /etc/shadow was readable by an unprivileged user. This is a severe misconfiguration, as it exposes password hashes and significantly weakens system security.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*lwp0YNQP6OWcxlq1-i8qRg.png" /></figure><p>Given that /etc/shadow was readable by an unprivileged user, further review indicated that its permissions were improperly configured. This misconfiguration meant the file could potentially be overwritten, allowing an us to remove the root password hash and gain unauthorized root acces</p><p>echo “ root::18586:0:99999:7:::” &gt; /etc/shadow</p><p>this command will overwrite the previous /etc/shadow file to get unauthorized access</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*_-H91BHs4q918Fzb7wAn_A.png" /></figure><p>now we have our second flag which is FLAG2.txt</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf8a38315fcd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>