<?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 Maxine Reyes on Medium]]></title>
        <description><![CDATA[Stories by Maxine Reyes on Medium]]></description>
        <link>https://medium.com/@hashfive?source=rss-69606a872a09------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ZzSsPpl8ndxC_7doLy9s-A.jpeg</url>
            <title>Stories by Maxine Reyes on Medium</title>
            <link>https://medium.com/@hashfive?source=rss-69606a872a09------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 16:29:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hashfive/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[TryHackME: RootMe Walkthrough]]></title>
            <link>https://medium.com/@hashfive/tryhackme-rootme-walkthrough-3bed1e729d30?source=rss-69606a872a09------2</link>
            <guid isPermaLink="false">https://medium.com/p/3bed1e729d30</guid>
            <category><![CDATA[hackthebox]]></category>
            <category><![CDATA[root-me]]></category>
            <category><![CDATA[writeup]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[tryhackme]]></category>
            <dc:creator><![CDATA[Maxine Reyes]]></dc:creator>
            <pubDate>Sun, 19 Oct 2025 12:12:12 GMT</pubDate>
            <atom:updated>2025-10-19T12:12:12.396Z</atom:updated>
            <content:encoded><![CDATA[<p>RootMe felt like a short, satisfying story. It had a clear beginning with reconnaissance, a middle where I gained access, and an ending where I escalated to root. I treated it like a real-world engagement: stay curious, stay organized, and make every step easy to verify.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XJt8sZgUaen-HVuhgvoNRA.png" /></figure><h3><strong>PART 1 — Reconnaissance</strong></h3><p>I started with reconnaissance. Running nmap -sC -sV 10.201.17.67 showed two open ports. One was an Apache 2.4.41 web server, and the other was SSH on port 22. That quick scan already told me where to focus. I prefer mapping things carefully rather than testing everything blindly. Knowing the exact versions made later steps easier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*IzuZptcqNsWeqWWYdbHgbA.jpeg" /><figcaption>nmap -sC -sV 10.201.17.67</figcaption></figure><ul><li>Scan the machine, how many ports are open? <strong>2</strong></li><li>What version of Apache is running? <strong>2.4.41</strong></li><li>What service is running on port 22? <strong>SSH</strong></li></ul><p>Next came enumeration. Using gobuster to search for hidden directories, I found a secret path called <strong>/panel</strong>. Inside, there was a file upload form. That immediately caught my attention because upload forms often lead to remote access. I tried uploading a PHP reverse shell, but .php files were blocked. Instead of forcing it, I renamed the file with a different extension <strong>(.phtml)</strong>. The upload worked perfectly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v09i4spCW-B-ym9e47Q9Tw.jpeg" /><figcaption>gobuster dir — random-agent -u <a href="http://10.201.17.67/">http://10.201.17.67/</a> -w /usr/share/wordlists/dirb/common.txt -t 10</figcaption></figure><ul><li>What is the hidden directory? <strong>/panel</strong></li></ul><h3><strong>PART 2—Getting a Shell</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*fMfEwOyaUUn8DEd5qdTmmg.jpeg" /><figcaption>http://10.201.17.67/panel/</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/407/1*Nu_BJNgxRvjizqUgLt0W2A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*gx-iB1yTg-VYZv7Ovu5u5g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*rgGohA_dm9-DBhjz95j54A.jpeg" /><figcaption>git clone https://github.com/pentestmonkey/php-reverse-shell</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*AYFUWQp5lYeYrt9i4nBh1Q.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*PQLyXGiEA6Frf36JqoTZAg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/365/1*xggUFYI60k8NS4ou-WdJAQ.jpeg" /></figure><p>Once uploaded, I started a netcat listener and visited the uploaded file in the browser. The connection came back, and I had a shell. The first thing I did was make it stable and interactive. I used Python to spawn a proper terminal with <strong>python -c ‘import pty; pty.spawn(“/bin/bash”)’</strong>. Then I adjusted the terminal settings so I could type commands smoothly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*Rj9wKLowpeKdTgSRjA6Rbg.jpeg" /><figcaption>nc -lvnp &lt;PORT&gt;</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*FTGDWXE7oCCD1QqaAwWaog.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*EU-qYfmdO6GWvZb6vifpsw.jpeg" /><figcaption>http://10.201.17.67/uploads/</figcaption></figure><h3><strong>PART 3—Privilege Escalation</strong></h3><p>For privilege escalation, I ran a search for SUID binaries using <strong>find / -user root -perm /4000 2&gt;/dev/null</strong>. The results showed something unusual: /usr/bin/python had the SUID bit set. That is not normal and usually means there is a privilege escalation opportunity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*9Ui0AdrqUdbDEu6saeTAOw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*oLVu9eSxdRafilJ6Z9bChQ.jpeg" /><figcaption>find / -user root -perm /4000 2&gt;/dev/null</figcaption></figure><ul><li>Which weird file has SUID? <strong>/usr/bin/python</strong></li></ul><p>After that, I searched for the user flag using <strong>-type f -name user.txt 2&gt;/dev/null</strong>. I found it inside /var/www/user.txt. Reading it confirmed that my foothold was solid. That small success was motivating and proved my method was working.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*dbenO3KsbhIgT4RCaphB_Q.jpeg" /><figcaption>-type f -name user.txt 2&gt;/dev/null</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*35pmTkvGUjGTV6ZIh3xyYA.jpeg" /><figcaption>cat /var/www/user.txt</figcaption></figure><p>I used a known Python technique to open a root shell: <strong>python -c ‘import os; os.execl(“/bin/sh”, ”sh”, ”-p”)’</strong>. The command worked, and I gained root access. I then located the root.txt file and read it to complete the task.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*673cyvjqwTlAhcXhyKfQoA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*87pzGO0TDQ2MZeGIbfNk1Q.jpeg" /></figure><p>What I liked about RootMe is how logical it was. Every step had a clear reason and result. It tested both patience and creativity without being overwhelming. Throughout the process, I kept my notes neat and my commands organized. I avoided unnecessary noise, respected the system, and focused on clarity.</p><p>In the end, RootMe was not just about hacking into a box. It was about thinking critically, staying disciplined, and documenting cleanly. It reminded me that good cybersecurity work is not about flashy exploits but about steady progress and smart habits. Those are the qualities I bring to any challenge: curiosity, attention to detail, and clear, responsible execution.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3bed1e729d30" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First Time on Kali Linux: OverTheWire Bandit Levels 0–10]]></title>
            <link>https://medium.com/@hashfive/my-first-time-on-kali-linux-overthewire-bandit-levels-0-10-99262c5ddf93?source=rss-69606a872a09------2</link>
            <guid isPermaLink="false">https://medium.com/p/99262c5ddf93</guid>
            <category><![CDATA[overthewire]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[virtualbox]]></category>
            <category><![CDATA[bandit]]></category>
            <category><![CDATA[kali-linux]]></category>
            <dc:creator><![CDATA[Maxine Reyes]]></dc:creator>
            <pubDate>Wed, 13 Aug 2025 10:52:06 GMT</pubDate>
            <atom:updated>2025-08-13T10:52:06.136Z</atom:updated>
            <content:encoded><![CDATA[<p>This was my very first time using Kali Linux, and I didn’t expect to enjoy working in the terminal so much. The OverTheWire Bandit challenge feels like a puzzle game; each level gives you a new little mystery to solve, and the reward is that satisfying moment when the answer pops up on your screen. I started from Level 0 and worked my way up to Level 10, and here’s how it went.</p><p><strong>Level 0 → Level 1<br>Goal</strong>: Connect via SSH and read the password for the next level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*BeM9ZHtU-4YIWoF_Qe9wjg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*KlsoH4D3jDCmezmn60znfg.jpeg" /></figure><p>The password for Level 0 was already given on the site: <strong>bandit0</strong></p><p>Once I was logged in, <em>readme </em>contained the password for level 1: <strong>ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/1*jei0x0AICdcJDb34A35K3g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*iTsPN3eZ2N-JV8B4-nOYsQ.jpeg" /></figure><p>This was my first time actually logging into a remote machine through the terminal. I was expecting it to be more complicated, but once I saw that “Welcome to OverTheWire” banner, I started feeling like I was about to play something addictive.</p><p><strong>Level 1 → Level 2<br></strong>The file was named “-” so regular <em>cat </em>didn’t work, but <em>cat ./-</em> did. I wasn’t able to take a screenshot of that part since I accidentally misclicked and cleared it. Good thing I was able to save the password in my notes for level 2, which is <strong>263JGJPfgU6LtdEvgfWU1XP5yac29mFx</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*IjKebSDOCx5yIYeF6z9riw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*GBiLJhD8qUEjpA4ruCslng.jpeg" /></figure><p>I remember thinking, “Wait… how can a dash be a filename?” This was my first taste of how Linux can throw you off with little details. Once I figured it out, it felt like I unlocked a small secret about how the terminal thinks.</p><p><strong>Level 2 → Level 3<br></strong>In this level, I learned that file names with spaces need quotes or escaping. I was confused at first because the file name wasn’t being recognized. Adding two dashes before the actual file name fixed the issue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*bemaR6JAKWKE5qkKrewC8g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*DiVMdUP65EPBtqZOg1ASew.jpeg" /></figure><p>The password I got for level 3 is: <strong>MNk8KNH3Usiio41PRUEoDFPqfxLPlSmx</strong></p><p>This made me slow down and remember that the terminal isn’t like clicking a file in a folder; you have to tell it <em>exactly</em> what you mean, down to the spaces. It felt like I was learning to “speak terminal” for the first time.</p><p><strong>Level 3 → Level 4<br></strong>This level was the first time I used <em>ls -al</em> to see hidden files. It made me realize that in Linux, a lot can be hidden in plain sight. It’s just a matter of knowing how to look.</p><p>The password I got from the hidden file is <strong>2WmrDFRmJIq3IPxneAaMGhap0pFhF3NJ.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*8RKWCuTaI2rWDyfpO8K0TA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*GT9Vbic3nTth16UTM0CunA.jpeg" /></figure><p><strong>Level 4 → Level 5<br></strong>The goal in this level is to find the only human-readable file. This was the first level where I felt like I was being tested on patience and methodical searching. The <em>inhere </em>directory was full of files that all looked the same from the outside, no obvious hints, no special names, just a bunch of “mystery boxes.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*73r8xHoa3dpEJ_EXVQEFKg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*KoSq0FpQhcGnG0VOtbzzTg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*ERDeVu5oVaeileCKmb8tPQ.jpeg" /></figure><p>That’s when I learned about the file command, which tells you what kind of content is inside a file without actually opening it. It felt like having X-ray vision for the terminal. I knew it once I saw “ASCII text” on one of the files.\</p><p>The password from <em>-file07</em> is <strong>4oQYVPkxZOOEOO5pTW81FB8j8lxXGUQw.</strong></p><p><strong>Level 5 → Level 6<br></strong>In this level, the password was stored under a file with the following properties: human-readable, 1033 bytes in size, and not executable.</p><p>At first glance, I didn’t know where to even start with this one. The instructions felt oddly specific: “ASCII text, size 1033 bytes, not executable.” I was staring at it thinking, <em>Do I seriously have to check every file by hand?</em> That’s when I realized the challenge was trying to make me learn the power of the <em>find </em>command. This was a game-changer for me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*XCcj5vqIGlM0xLb9PHqVdA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*BDCkGEHNwk_QQ5qZZFFt5g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*ug9_ehg8qZlVdoTgogVWpw.jpeg" /></figure><p>The password I acquired in this level is <strong>HWasnPhtq9AVKe0dmk45nxy20cvUa6EG</strong>.</p><p><strong>Level 6 → Level 7<br></strong>Find file owned by <em>bandit7 </em>and group <em>bandit6</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*MUPJiXye2kyiETuNKIduOg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/535/1*4bZPtCHGJsg-a_9d5HMePA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*ed8iDkCNDaSg-MevGb9seg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*IBSzusmzbVUE9CDApnxNtQ.jpeg" /></figure><p>The first time I ran <em>find / -type f -user bandit7 -group bandit6 -size 33c</em>, my terminal exploded with “Permission denied” messages. For a second, I thought I broke something.<br><br>When I scrolled down, I found <em>/var/lib/dpkg/info/bandit7.password.</em> It made me realize that files can be hidden anywhere, and you need the right command to find them.</p><p>The password I got from <em>/var/lib/dpkg/info/bandit7.password</em> is <strong>morbNTDkSW6jIlUc0ymOdMaLnOlFVAaj</strong>.</p><p><strong>Level 7 → Level 8<br></strong>In this level, I had to find the password next to the word <em>millionth</em>. I thought it was gonna be easy to just scroll through them all and find it, but I was hit with a million words too. LOL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*5bhe8hU4EYcqwtBEj_QgJA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*3sloZTZcVLL85Cq-QJKfHQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*ay-sRsSGF39en5uyk7-urA.jpeg" /></figure><p>Using <em>grep “millionth” </em>helped me narrow it all down. It was one of those satisfying moments where you run a command and get exactly one line back, just the answer staring at you. The password beside <em>millionth </em>is <strong>dfwvzFQi4mU0wfNbFOe9RoWskMLg7eEc.</strong></p><p><strong>Level 8 → Level 9<br></strong>Here in this level, the password is inside <em>data.txt</em> and is the only line of text that occurs only once. This one was all about thinking differently. The password wasn’t about finding something obvious like a keyword; it was about spotting the odd one out. The file was filled with repeated lines, and the goal was to find the single line that didn’t have a duplicate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*znNDeW469-ys6ro-B2Vrbg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/1*njh3EexHqSURIRZPNEtF2g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*IQdAWE6ssNFhmHAfwWxMNw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*Vah_D823X-0qT9cIWK55zA.jpeg" /></figure><p><em>sort </em>and <em>uniq </em>turned out to be the perfect combo for this. Using <em>sort data.txt | uniq -c</em> filtered the number of times each alphanumeric line of code appeared.</p><p><strong>4CKMh1JI91bUIZZPXDqGanal4xvAg0JM </strong>appeared only once, and it is the password for level 9.</p><p><strong>Level 9 → Level 10<br></strong>At first, I opened <em>data.txt</em> like any other file, but it was just gibberish, weird symbols, random letters, and no obvious words. That’s when I learned about <em>strings</em>, which extract human-readable text from binary files.</p><p>Adding <em>grep “=” </em>made it even cleaner, pulling out only the line that matched the pattern. It felt like I had just uncovered a hidden code that was buried deep inside a file most people wouldn’t even know how to read. Honestly, this was one of my favorite levels so far because it made me feel like a real codebreaker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*WAgUHAE_GNTaAllfdErvnQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/1*XBM8Ss2vO-SFG7neb6pZXw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*Hs35zHvMM4UyI3WeGBQ6Lg.jpeg" /></figure><p>This first stretch of Bandit wasn’t just an intro to Linux commands; it was a crash course in patience, problem-solving, and thinking like a hacker. I’m starting to feel more at home in Kali Linux, and I can tell this is just the beginning.</p><p>hashfive signing off. Peace!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99262c5ddf93" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>