mazepa.git


mazepa

~ linux userland keylogger
git clone https://github.com/djnnvx/mazepa.git
log | files | refs | archive | README

commit 5dfadd179a2b4a5081f6c7f0f19b84a489ed628c
parent ffde175546dc1d0c444531a359806e49d8aec038
Author: winds0r <[email protected]>
Date: Fri, 29 Sep 2023 19:20:51 +0200

fix(implant): sillyness

Diffstat:
Mimplant/includes/implant.h | 2+-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/implant/includes/implant.h b/implant/includes/implant.h
@@ -56,7 +56,7 @@ typedef struct implant_s {
 #define DEBUG_LOG(s, ...)                               \
     do {                                                \
         char data[256] = {0};                           \
-        if (0 < snprintf(data, 255, s, ##__VA_ARGS__))  \
+        if (0 > snprintf(data, 255, s, ##__VA_ARGS__))  \
             _exit(1);                                   \
         syslog(LOG_NOTICE, data);                       \
     } while (0)