Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- void vuln(char * s){
- char buf[100];
- strcpy(buf,s);
- printf("Buf: %s\n", buf);
- }
- void main(int argc, char * argv[]){
- vuln(argv[1]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement