Initial commit
This commit is contained in:
10
assets/vuln.c
Normal file
10
assets/vuln.c
Normal file
@ -0,0 +1,10 @@
|
||||
#include<stdio.h>
|
||||
#include<string.h>
|
||||
void foo(char *input) {
|
||||
char buf[50];
|
||||
strcpy(buf, input);
|
||||
puts(buf);
|
||||
}
|
||||
int main(int argc, char **argv) {
|
||||
foo(argv[1]);
|
||||
}
|
Reference in New Issue
Block a user