From be40a3392874af93c11953f253bcbf21930f5b7e Mon Sep 17 00:00:00 2001 From: caRJ33 Date: Wed, 2 Jan 2019 23:25:15 +0100 Subject: Add 'proper' Windows support Add .exe to .gitignore --- main.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index 0499553..a2a67b5 100644 --- a/main.c +++ b/main.c @@ -62,6 +62,7 @@ void check_flags(int taintval) { } void check_proc() { +#ifndef _WIN32 char buf[2048]; FILE* fh; size_t size; @@ -85,6 +86,13 @@ void check_proc() { // Check the taint check_flags(taintval); +#endif +#ifdef _WIN32 + printf("Kernel is tainted :(\n"); + printf("Taint value: 133742069\n"); + printf("Taint flags: \n"); + printf("WINDOWS: You are running Windows, you fucking noob.\n"); +#endif } void check_flags_cli(char* flagstr) { -- cgit v1.2.3