Security, experiments and writing · PicoCTF · Security · Summer 2026

CTFLog

Solved 10 CTF challenges across five security categories on PicoCTF, documented each one, then built and hosted an original SQL injection challenge for others to solve. The writeups explain the vulnerability, the exploit, and the actual fix, not just the flag. The live challenge below is a client-side port of the app I built, same vulnerability, same intended solution.

Web Exploitation Cryptography Reverse Engineering Binary Exploitation Forensics

All 10 challenges, picked by category on the left.

"Can you log in without knowing the password?" The real version is a Flask + SQLite app I built and hosted for others to attack. This is a client-side port of the same vulnerable query-building logic, so it runs here with no backend. Try logging in with real-looking credentials first, then try breaking it.

🔐 Super Secure Login
Hint: the login is very secure. Or is it?
Username
Password
The SQL query your input builds, live

What solving these challenges actually taught me, framed the way it'd come up in a conversation.

💉
SQL injection
Parameterized queries prevent it by treating user input strictly as data, never as SQL syntax. String concatenation is dangerous specifically because it lets user input change the structure of the query itself.
💥
Buffer overflows
Stack layout puts the return address right after local variables. Overwriting it redirects execution. Defenses: stack canaries (detect the overwrite), ASLR (randomize addresses), and the NX bit (make the stack non-executable).
🔑
Encoding vs. encryption
Encoding (base64, ROT-13) has no secret key, a keyspace of 1, and provides zero security. Encryption uses a secret key with a keyspace large enough to resist brute force. Confusing the two is a common and dangerous mistake.
🗂️
File forensics
Office documents (docx, pptx, xlsx) are ZIP archives of XML and media. Hidden data can live in non-standard files inside that archive. Tools like binwalk, exiftool, and strings are standard for finding it.
🧭
CTF methodology
Reconnaissance first: view source, check robots.txt, look for exposed files, before trying anything exploit-shaped. Most of the challenges here rewarded looking carefully before attacking.