Skip to content

pevinkumar10/Abandoned-Gate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

The Abandoned Gate

A web exploitation CTF challenge focused on insecure file upload leading to RCE and privilege escalation.


📌 Challenge Overview

The Abandoned Gate is a deliberately vulnerable web application designed for CTF practice.

It simulates a real-world scenario where:

  • A file upload feature is misconfigured
  • Remote code execution is possible
  • Privilege escalation leads to full system compromise

🎯 Objectives

  1. 🔍 Locate the hidden file upload functionality (Abandoned Gate)
  2. 📤 Upload a malicious PHP payload
  3. 💣 Trigger Remote Code Execution (RCE) and obtain a reverse shell
  4. ⬆️ Escalate privileges to root access

⚙️ Requirements


📥 Installation

Clone Repository

git clone https://github.com/PkTheHacker10/ctf-dev.git
cd ctf-dev

🚀 Setup Guide

⚡ Method 1: Automated Setup

cd challenge
sudo ./setup.sh

🛠 Method 2: Manual Setup

cd challenge/web
sudo docker build -t abandoned-gate .
sudo docker run -d --name ctf-gate abandoned-gate

🌐 Accessing the Challenge

Find container IP:

sudo docker exec ctf-gate ifconfig

Then open in browser:

http://container-ip

🧹 Stop & Remove Container

sudo docker stop ctf-gate
sudo docker rm ctf-gate

📖 Walkthrough

A full solution guide is available in:

WALKTHROUGH.md

⚠️ Disclaimer

This project is for educational and ethical hacking practice only.

Do not deploy in production or attack unauthorized systems.


🏴 Happy Hacking 🚪

About

It is a CTF challege to learn and practice chaining of three critical vulnerability like File upload to RCE to privilege escalation in a secured controlled environment (docker container).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors