From 9e787cb6b9a0ec14703aedc95949f7daca348561 Mon Sep 17 00:00:00 2001 From: 0x35c Date: Mon, 28 Apr 2025 15:14:12 +0200 Subject: [PATCH] add source.c (clean representation of the binary) --- level2/source.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 level2/source.c diff --git a/level2/source.c b/level2/source.c new file mode 100644 index 0000000..fd4c1df --- /dev/null +++ b/level2/source.c @@ -0,0 +1,23 @@ +#include +#include +#include + +static void p(void) +{ + uint uwu; + char buf[76]; + + fflush(stdout); + gets(buf); + printf("(%p\n)", uwu); + exit(1); + puts(buf); + strdup(buf); + return; +} + +int main(void) +{ + p(); + return 0; +}