Thamizhiniyan C S
HomeWriteupsResourcesCheatsheets
CTF
CTF
  • CTF Writeups
  • 2023
    • Snyk: Fetch The Flag CTF
      • Welcome / Rules
      • Technical / support flag
      • Beep 64
      • Nine-One-Sixteen
  • 2024
    • Pearl CTF
      • Forensics
        • pcap-busterz-1
        • hungry-cat
        • Excel Mayhem
        • Wifi Broken
        • the-3-fragmenteers
        • got-you
      • Crypto
        • Rick Roll
        • 3 spies
    • Cyber Apocalypse 2024: Hacker Royale
      • Blockchain
        • Russian Roulette
        • Recovery
      • Hardware
    • Pico CTF
      • Web Exploitation
        • Bookmarklet
        • WebDecode
        • IntroToBurp
        • Unminify
        • No Sql Injection
        • Trickster
        • elements
      • Cryptography
        • interencdec
        • Custom encryption
      • Reverse Engineering
        • Packer
        • FastCheck
      • Forensics
        • Scan Surprise
        • Verify
        • CanYouSee
        • Secret of the Polyglot
        • Mob psycho
      • General Skills
        • Super SSH
        • Commitment Issues
        • Time Machine
        • Blame Game
        • Collaborative Development
        • binhexa
        • Binary Search
        • endianness
        • dont-you-love-banners
        • SansAplha
      • Binary Exploitation
        • format string 0
        • heap 0
        • format string 1
    • HackCTF
      • Steganography
        • StegoPalooza
      • Forensics
        • Dumped
        • List3n!
    • H7CTF International
      • Reverse
        • Bitwise Mystery
        • Eich
        • Scrambled Pathways
      • Web
        • No Paste
        • NewsLeaks
      • Forensics
        • Ghost IP
      • Misc
        • Unfair
        • Had Lunch?
Powered by GitBook
On this page
  • Challenge Description
  • Solution

Was this helpful?

  1. 2024
  2. Pico CTF
  3. Binary Exploitation

heap 0

Challenge Description

Are overflows just a stack concern?

Download the binary here.

Download the source here.


Solution

The size of the input is 32 bytes, so give some input that is more than 32 to characters too overwrite the safe var value and get the flag.

Flag: picoCTF{my_first_heap_overflow_c3935a08}

Previousformat string 0Nextformat string 1

Last updated 1 year ago

Was this helpful?