hire mederech0@proton.me

~/writeups/stack-basics

Pwn200 pts▮▮▯▯▯picoCTF2025-11-09

Stack Basics.

// TL;DR

An intro binary challenge on memory safety. Placeholder summary.

// placeholder writeup — the real one lands here, same shape.

    1. 01

      Recon

      Checked the binary's protections and behaviour.

      derech0@lab:~$ enum --target $BOX

      # output trimmed — full commands in the real writeup

    1. 02

      Approach

      Studied how it handled input length in a debugger.

      derech0@lab:~$ run

      # output trimmed — full commands in the real writeup

    1. 03

      Result

      Controlled the program flow and read the flag.

      derech0@lab:~$ cat flag.txt

      # output trimmed — full commands in the real writeup

tools used

  • gdb
  • Ghidra

lesson

Bounds checks and modern compiler protections matter.

$ next · Crypto

Small Primes

→