Understand the bug.
Build the exploit.
A collection of binary exploitation challenges, source code, and solution scripts from CyberQuest Sfax and CyberHorizon.
Explore the writeup archiveYoussef Ben Hsan / pwnewi
Computer engineering student.
Exploring security. Teaching through practice.
I explore how software and hardware work, find where they break, and turn what I learn into practical projects and lessons.

01 / Selected work
From memory corruption to moving robots.
Real builds, with the details left in.
A collection of binary exploitation challenges, source code, and solution scripts from CyberQuest Sfax and CyberHorizon.
Explore the writeup archive
MEGATRON / Fighting robot
Reverse-engineering a hoverboard control card to accept motion commands from an ESP32 over UART.
See the build and competition footageAn embedded-hardware project exploring embedded control and the path from a prototype to a practical device.
02 / From the archive
Overflow a stack buffer and overwrite an adjacent integer to change the program’s behavior.
Use a format-string vulnerability to recover a secret value from the stack.
Recover a PIE base address, then use a controlled overwrite against runtime pointers.
03 / In the workshop
I reverse-engineered the hoverboard control card so an ESP32 could send motion commands over UART, replacing the original gyroscope input. We used that setup during development and competition runs.
The robot body, assembly, and additional electronics were built with Mohamed Ben Fguira, Abderrahmed Bouaziz, and Youssef Kharrat.
04 / Teaching & sharing
Python, cryptography, and robotics.
Built around hands-on understanding.

I teach programming and STEM through projects learners can explore themselves: Python scripts, Scratch games, Micro:bit activities, and practical introductions to cybersecurity.
Python, Scratch, and algorithmic thinking.
Physical experiments that make abstract ideas visible.
Understanding digital risks and building better habits.
Linux administration, image processing with Python, and bare-metal STM32 notes.
05 / A little context
I’m Youssef, a computer engineering student at the Faculté des Sciences de Tunis, originally from Sfax.
I learn by building and documenting: writing vulnerable C programs, developing exploits, experimenting with hardware, and turning the process into resources others can use.
Security, electronics, and education share a useful question: what happens if we look a little closer?
View my full CVSelected roles from my CV
Python & visual programming instructor
Computing & creative development instructor
Founder & instructor · Collège Horizon Manar 1
Python, Scratch & robotics instructor
06 / Credentials & participation
Course completions, language proficiency,
and participation in the wider tech community.
Certificate of Participation · TPM Events
C2 Proficient · EF Education First
Alison · Final assessment: 91%
Cisco Networking Academy · Faculté des Sciences de Tunis
07 / Start a conversation
A project, a technical question, or a workshop idea.
I’d be glad to hear about it.