🏳️
Bag of Flags
  • Home
  • 2023
    • 🅿️picoCTF 2023
      • money-ware
      • repetitions
      • two-sum
      • ReadMyCert
      • rotation
      • hideme
      • PcapPoisoning
      • who is it
      • Reverse
      • timer
      • Safe Opener 2
      • findme
      • MatchTheRegex
      • SOAP
    • 🐦magpieCTF 2023
      • Space Plan
      • Space Exploration
      • So Meta
      • There is no flag
      • Momma says to play fair
      • Rubis
      • What is the password?
      • Eavesdropper
      • Shredded
      • Missing Flag
      • This outta be large enough right?
      • No Password Here
      • Chocolate Chips with Zero-G
      • Education Comes First
    • 🌴ISSessions CTF 2023
      • Basic Permissions
      • Crack Me
      • File Detective
      • Word Vomit
      • Fileception
      • Coding Time
      • Ghost File
      • CryptoTools1
      • CryptoTools2
      • 1337
      • ROT++
      • RunedMyDay
      • RSA_2
      • The Man Who Sold the World
      • VaultChallenge
      • Lost Media
      • Decontamination
      • Decade Capsule
      • Password in A Haystack
  • 2022
    • 🏁UW CTF S22
      • 0s and 1s
      • simple image
      • Helikopter
      • Meow
      • Google Form
      • Strings, literally
      • WASM
      • Audio
      • Pwn0
      • YATD
      • steg
      • Passwords
      • Vitalik
  • Practice
    • 🧠CryptoHack
      • Introduction
        • Finding Flags
        • Great Snakes
      • General
        • ASCII
        • Hex
        • Base64
        • Bytes and Big Integers
        • XOR Starter
        • XOR Properties
        • Favourite byte
        • You either know, XOR you don't
        • Greatest Common Divisor
Powered by GitBook
On this page
  • Description
  • Get Buffed
  • Flag
  1. 2022
  2. UW CTF S22

Pwn0

PreviousAudioNextYATD

Last updated 2 years ago

Description

nc uwctf.ml 6001

Get Buffed

As ordered, we run the netcat command to be greeted with a nice message

Welcome to Buffer Overflow 0
Can you hack me?

Buffer Overflow - Occurs when the data surpasses the storage of some memory buffer

We try overflowing the buffer by injecting a very long string, such as AAAAAAAAAAAAAAAAAAAAAAAA

  • The idea is that there is some buffer which stores the input string, which has a predetermined set size

  • Send in as large of an input as possible to try to exceed the buffer's limit

This immediately prints the flag for us

Note that at the time, the source code was not provided, so this was a shot in the dark

Flag

uwctf{buff3r0v3rf10w0_3f8361abc77504c5}

🏁
chall0.c