Skip to content

Solution for the AngryStorage task on forkbomb.ru, exploiting a race condition vulnerability. Rewritten in C using pthreads and libcurl to demonstrate concurrent execution and HTTP request handling.

Notifications You must be signed in to change notification settings

nosurfer/AngryStorage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AngryStorage

This repository contains a solution for the AngryStorage task from the website forkbomb.ru, which I solved by exploiting a race condition vulnerability. The original challenge involved understanding and leveraging concurrent execution to achieve the desired result.

I decided to rewrite the solution in C, focusing on implementing the exploit in a multithreaded environment using pthreads and the libcurl library for HTTP requests. This project serves as both a practical implementation of the exploit and a demonstration of handling concurrency in C.

Getting Started

Prerequisites

  • Python 3.x: Ensure Python 3 is installed on your system. You can check by running:
python3 --version
  • C Compiler (gcc): Ensure you have a C compiler (like gcc) and the libcurl development library installed. You can install them on Linux with:
sudo apt-get install gcc libcurl4-openssl-dev

Installation

git clone https://github.com/yourusername/AngryStorage.git
cd AngryStorage

Running the Exploit Scripts

Python:

python3 ./exploit.py

C:

gcc ./exploit.c -o ExploitRaceCondition -lcurl && ./ExploitRaceCondition

About

Solution for the AngryStorage task on forkbomb.ru, exploiting a race condition vulnerability. Rewritten in C using pthreads and libcurl to demonstrate concurrent execution and HTTP request handling.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published