Skip to content

Instantly share code, notes, and snippets.

@breadchris
Created March 8, 2015 01:31
Show Gist options
  • Save breadchris/3d72f88826c8d4b964c6 to your computer and use it in GitHub Desktop.
Save breadchris/3d72f88826c8d4b964c6 to your computer and use it in GitHub Desktop.
Ropasaurus Rex like program
int overflow()
{
char buf[136];
return read(0, &buf, 256u);
}
int main()
{
overflow();
return write(1, "WIN\n", 4u);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment