## https://sploitus.com/exploit?id=3404BC93-45FD-5329-93D6-C0FE32C9112E
# Buffer Overflow
## Overview
This repository contains educational examples of stack-based
buffer overflow vulnerabilities in C programs.
The goal is to illustrate how improper bounds checking can
lead to control-flow hijacking, and how basic memory protection
mechanisms affect exploitation techniques.
## What is a Buffer Overflow?
A buffer overflow occurs when a program writes more data into a
memory buffer than it was designed to hold. In low-level languages
such as C, this can overwrite adjacent memory and potentially
alter the program’s control flow.
## What this project demonstrates
This project presents three progressive scenarios:
- A basic stack-based buffer overflow allowing execution to be
redirected to another function.
- A buffer overflow allowing execution of injected shellcode
when no memory protections are enabled.
- A buffer overflow in the presence of a non-executable stack,
illustrating how modern protections constrain exploitation.
The focus is on understanding the vulnerability and its security
implications rather than providing weaponized exploits.
## Context
Academic project – Master 1 Cybersecurity – Université libre de Bruxelles (ULB).