Git Product home page Git Product logo

starterpwn's Introduction

Purpose

This is one of my first attempts at writing a pwn challenge. More variants may be added in the future, but for now it's just the one.

SPOILER WARNING: the source code is commented with descriptions and hints that reveal the intended solution.

Disclaimer

This software is intended as practice for cybersecurity capture-the-flag challenges. It contains one or more intentional vulnerabilities, and comes with ABSOLUTELY NO WARRANTY WHATSOEVER.

Background

This example challenge is not terribly different from many other beginner pwn challenges, but it was written from scratch on a whim. While this isn't directly taken or based upon one specific challenge as far as I'm aware, it's not the most original work. Credit for inspiration and the knowledge that let me write this goes to all the other challenge authors out there whose pwn challenges I've attempted and sometimes even managed to solve!

CTFs that deserve some credit for leading me down this path:

  • OregonCTF challenges
  • OSUSec's DamCTF 2020 (Spring and Fall)
  • NCL
  • CSI CTF 2020
  • UTCTF 2020

Learning Experiments

The Makefile uses several compiler options to disable security features that are standard in modern C compilers. For fun and education, try removing them or adding -fomit-frame-pointer and observing how that changes the resulting binary.

Prompt

A starter pwn challenge masquerading as a program that sets a password on first use. Can you get it to accept your password?

starterpwn's People

Contributors

evanj2357 avatar

Stargazers

Brice Lemke avatar

Watchers

Evan Johnson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.