PicoCTF-2022 Writeup
  • README
  • Binary Exploitation
    • buffer overflow 1
    • buffer overflow 2
    • buffer overflow 3
    • flag leak
    • function overwrite
    • ropfu
    • stack cache
    • x-sixty-what
  • Cryptography
    • basic-mod1
    • basic-mod2
    • diffie-hellman
    • morse-code
    • NSA Backdoor
    • Sequences
    • substitution
    • Sum-O-Primes
    • Very Smooth
  • Forensics
    • Operation Oni
    • Operation Orchid
    • SideChannel
    • St3g0
    • Torrent Analyze
  • Reverse Engineering
    • Bbbbloat
    • Keygenme
    • unpackme
    • Wizardlike
  • Web Exploitation
    • Forbidden Paths
    • noted
    • Roboto Sans
    • SQLiLite
Powered by GitBook
On this page
  • Challenge
  • Solution
  • Flag

Was this helpful?

Edit on GitHub
  1. Binary Exploitation

buffer overflow 1

PreviousREADMENextbuffer overflow 2

Last updated 3 years ago

Was this helpful?

Challenge

Control the return address. Now we're cooking! You can overflow the buffer and return to the flag function in the . You can view source . And connect with it using nc saturn.picoctf.net 62849

Solution

This is a basic buffer overflow where we overwrite the return address of vuln to the address of win. See the exploit for more information.

Flag

picoCTF{addr3ss3s_ar3_3asy_ad2f467b}

program
here
script.py