aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorcaRJ33 <caRJ33@users.noreply.github.com>2019-01-02 23:31:45 +0100
committerGitHub <noreply@github.com>2019-01-02 23:31:45 +0100
commit566b197a06da81fff276f08ce9c9d47fbba550eb (patch)
treeb3f7e54635c6813c6e7477f85af9eae7e17410a9 /main.c
parent94ca6aa4514d30f69144ff00a40a2e21d0da7211 (diff)
parentbe40a3392874af93c11953f253bcbf21930f5b7e (diff)
Merge pull request #3 from caRJ33/masterHEADmaster
Add 'proper' Windows support
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 8 insertions, 0 deletions
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) {