<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>HackTheBox on z3ro :: CTF &amp; Security Research</title>
    <link>https://frankie7techy.github.io/public/tags/hackthebox/</link>
    <description>Recent content in HackTheBox on z3ro :: CTF &amp; Security Research</description>
    <generator>Hugo -- 0.167.0</generator>
    <language>en</language>
    <lastBuildDate>Mon, 03 Nov 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://frankie7techy.github.io/public/tags/hackthebox/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>HackTheBox: SecretCorp Writeup</title>
      <link>https://frankie7techy.github.io/public/posts/htb-secretcorp/</link>
      <pubDate>Mon, 03 Nov 2025 00:00:00 +0000</pubDate>
      <guid>https://frankie7techy.github.io/public/posts/htb-secretcorp/</guid>
      <description>&lt;h2 id=&#34;-challenge-overview&#34;&gt;🧩 Challenge Overview&lt;/h2&gt;
&lt;p&gt;This challenge involved exploiting a misconfigured web app to gain unauthorized access to internal data.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;-enumeration&#34;&gt;🔍 Enumeration&lt;/h2&gt;
&lt;p&gt;```bash
nmap -sC -sV 10.10.10.10
```
Discovered ports:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;80/tcp, HTTP (Apache 2.4.41)&lt;/li&gt;
&lt;li&gt;22/tcp, SSH (OpenSSH 8.2p1)&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id=&#34;-exploitation&#34;&gt;💥 Exploitation&lt;/h2&gt;
&lt;p&gt;During directory fuzzing with `ffuf`, found `/backup.zip`.
Unzipped credentials for `admin:SuperSecure123`.
Login exposed an &lt;strong&gt;LFI vulnerability&lt;/strong&gt; at `index.php?file=&amp;hellip;`.&lt;/p&gt;
&lt;p&gt;```bash
curl &amp;ldquo;http://target/index.php?file=../../../../etc/passwd&amp;rdquo;
```&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;-privilege-escalation&#34;&gt;🧑‍💻 Privilege Escalation&lt;/h2&gt;
&lt;p&gt;After gaining shell access:
```bash
linpeas.sh | tee output.txt
```
Found `/usr/local/bin/backup` with SUID bit.
Exploited it via `bash -p` to spawn a root shell.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
