42_rainfall/level3/source.c

24 lines
250 B
C

#include <stdio.h>
#include <stdlib.h>
int m;
void v(void)
{
char buf[520];
fgets(buf, 512, stdin);
printf(buf);
if (m == 64) {
fwrite("Wait what?!\n", 1, 0xc, stdout);
system("/bin/sh");
}
return;
}
int main(void)
{
v();
return 0;
}