Youssef Ben Hsan / pwnewi

Build. Break.
Teach.

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.

Youssef Ben Hsan presenting a cybersecurity demo with a microphone
Sharing security, in practice.
10Challenge writeups
2CTF competition archives
C2EF SET English · 72/100
Latest credentialBIGTECH Africa 2026

Learning, made tangible.

From memory corruption to moving robots.
Real builds, with the details left in.

Security / Challenge design

Understand the bug.
Build the exploit.

A collection of binary exploitation challenges, source code, and solution scripts from CyberQuest Sfax and CyberHorizon.

C / PythonFormat stringsPIE / ret2libc
Explore the writeup archive
Hardware / Working prototype

A remote switch, built from the circuit up.

An embedded-hardware project exploring embedded control and the path from a prototype to a practical device.

Inside RemoteSwitch

Follow the reasoning.

All 10 writeups

From a control board
to the arena.

MEGATRON
DECEPTICONS team

My contribution

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.

A team effort

The robot body, assembly, and additional electronics were built with Mohamed Ben Fguira, Abderrahmed Bouaziz, and Youssef Kharrat.

ESP32UARTControllerMotors
MEGATRON in the arena · Open video
Behind the scenes: testing the drive system

Open testing video

Make the complex
something you can try.

Python, cryptography, and robotics.
Built around hands-on understanding.

Hands-on cryptography and robotics workshop at Lycée Français Gustave Flaubert
Cryptography through robotics · Lycée Français Gustave Flaubert

Learn it. Build it. Explain it.

I teach programming and STEM through projects learners can explore themselves: Python scripts, Scratch games, Micro:bit activities, and practical introductions to cybersecurity.

01

Programming

Python, Scratch, and algorithmic thinking.

02

Robotics & cryptography

Physical experiments that make abstract ideas visible.

03

Cybersecurity foundations

Understanding digital risks and building better habits.

Explore my teaching guides
Study notes / Open learning materials

Linux administration, image processing with Python, and bare-metal STM32 notes.

Visit the learning library

An engineering mindset.
A teacher’s curiosity.

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?

C / C++PythonLinux / ShellGDBDockerEmbedded systemsSTEM education
View my full CV

Teaching experience

Selected roles from my CV

  1. Algorithmics

    2026

    Python & visual programming instructor

  2. Talent’IA

    Since 2025

    Computing & creative development instructor

  3. Horizon-Robotica

    Since 2025

    Founder & instructor · Collège Horizon Manar 1

  4. Tuto Trèfle

    2025

    Python, Scratch & robotics instructor

Continuing to learn.
Showing the evidence.

Course completions, language proficiency,
and participation in the wider tech community.

Course completion

Master Linux and Shell Script From Beginner to Advanced

Alison · Final assessment: 91%

Linux & shell scripting
Course completion

Notions de base sur les réseaux

Cisco Networking Academy · Faculté des Sciences de Tunis

Networking fundamentals

Have something
interesting in mind?

A project, a technical question, or a workshop idea.
I’d be glad to hear about it.

Say hello
youssefbenhsan950@gmail.com