intro_hacking_ctf/crypto/binary/buf.c

16 lines
225 B
C
Raw Normal View History

2024-02-20 15:28:12 +01:00
#include <stdio.h>
int main() {
int num = 0;
char buf[10];
printf("Name: ");
scanf("%s", &buf);
if (num > 0) {
printf("Ohno\n");
printf("%d", num);
}
printf("Hello %s!", buf);
}