CTFshow RCE Extreme Challenge Solutions

Direct use echo with backticks. First ls, then tac to read the flag. Challenge 2 The filter is quite restrictive. One effective method is the character increment bypass. A small script can enumerate which characters are allowed: for ($c = 32; $c < 127; $c++) { if (!preg_match("/[a-zA-Z0-9@#%^&*:{}\-<\?>\"|`~\\\\]/&q ...

Posted on Wed, 15 Jul 2026 16:55:59 +0000 by Ellypsys

Analysis of the RCTF2015 EasySQL1 Challenge

The challenge presents a web application with login and registration functionality. The objective is to retrieve the hidden flag from the database. Initial Exploration Upon accessing the application, we notice registration and login options. Attempting to register with the username "admin" reveals that the account already exists, sugg ...

Posted on Sat, 11 Jul 2026 17:19:58 +0000 by samtwilliams

Exploiting PHP Type Juggling and Internal Classes in CTF Challenges

Challenge 1: Magic Methods via Internal ClassesThe regex validation requires both parameters to contain alphabetic characters. The eval function executes the string as PHP code, where new $v1 instantiates a class named by the value of $v1, and ($v2()) invokes the function specified by $v2, passing its return value to the constructor.When an obj ...

Posted on Fri, 03 Jul 2026 17:54:41 +0000 by wkilc

CTFshow Naive Dog Cup Complete Walkthrough

Miscellaneous Who Am I? This challenge requires matching items against a provided list. While straightforward, it demands careful attention to detail as the information is spread across multiple entries. The solution involves cross-referencing each elemant systematically until all correspondences are established. You and Me Blind watermarking ...

Posted on Fri, 19 Jun 2026 16:28:01 +0000 by tmh766

Analyzing RSA Encryption in CTF Challenge: From APK Reverse Engineering to Traffic Decryption

Problem Overview The challenge provides two files: an APK and a pcapng packet capture. The solution requires analyzing network traffic and reverse engineering the encryption implementation. Traffic Analysis Opening the pcapng file reveals standard TCP traffic. Following TCP streams and decoding the hex content exposes the application protocol: ...

Posted on Fri, 05 Jun 2026 16:35:37 +0000 by hsn

Reverse Engineering ELF Initialization and Exit Handlers for XOR Decryption

Challenge Overview The binary implements a flag verification mechanism using chained XOR operations. Understanding the execution order is critical: the program applies XOR transformations both before and after the main function executes, leveraging ELF initialization sections and exit handlers. ELF Initialization Function Table In ELF binarie ...

Posted on Thu, 04 Jun 2026 17:21:17 +0000 by jpbox

CTF Forensics and Steganography Analysis: Practical Solution Methods

Binary String EnumerationExamining the downloaded file in a hex editor (such as 010 Editor) allows for a direct search of specific signatures. By querying the string "CATCTF", the hidden credential can be directly retrieved.Credential: CatCTF{EFI_1sv3ry_funn9}Image Color Channel Analysis and Morse DecodingWhen standard hex inspection and metada ...

Posted on Sun, 17 May 2026 19:56:59 +0000 by Bramme

Capture the Flag: Hacker_Kid Machine Exploitation Guide

Platform: VirtualBox Attacker System: Kali Linux (IP: 10.0.2.15) Target System: Hacker_Kid (IP: 10.0.2.42) Objective: Obtain root privileges and capture the flag. Reconnaissance and Scanning Initial host discovery was performed using Nmap to identify the target IP address. Subsequently, a port scan revealed three open services: Port 53 (DNS) P ...

Posted on Fri, 15 May 2026 03:23:57 +0000 by beanwebb

Upload-Labs File Upload Bypass Techniques and Implementation Strategies

Overview File upload vulnerabilities arise when web applications inadequately validate or sanitize user-supplied files before storing and serving them. Exploiting these flaws allows attackers to inject executable code—such as PHP webshells—into the server’s filesystem, often leading to remote code execution. Upload-Labs is a deliberately vulner ...

Posted on Thu, 14 May 2026 14:50:47 +0000 by jrforrester

Red Team Assessment Lab 4: Complete Penetration Testing Walkthrough

Environment Setup Network Configuration Two network adapters required: External network: 192.168.157.0/24 Internal network: 192.168.183.0/24 Windows 7 Configuration Start the Win7 VM and the Domain Controller first. Do not start the web server yet. Credentials: Dotest123 Navigate to Control Panel → Power Options Set all power-saving features ...

Posted on Wed, 13 May 2026 12:11:20 +0000 by Joe689