Created
March 8, 2015 01:31
-
-
Save breadchris/3d72f88826c8d4b964c6 to your computer and use it in GitHub Desktop.
Ropasaurus Rex like program
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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