Created
November 12, 2021 04:08
-
-
Save 7h3h4ckv157/4c2e33680ff7e9cea6afd2717d06cd37 to your computer and use it in GitHub Desktop.
ret2libc.c
This file contains hidden or 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
#include <stdio.h> | |
void overflow() { | |
char buffer[64]; | |
printf("try your best\n"); | |
gets(buffer); | |
} | |
int main() { | |
overflow(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment