mazepa.git


mazepa

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

commit c9024033c6d05dada287ed9d7a5f61505d28f483
parent e6ebcbfdf08ec8ce6a7f02d3c30574d2776cfa9a
Author: djnn <[email protected]>
Date: Tue, 25 Mar 2025 23:26:01 +0900

fix(meta): formatting

Diffstat:
Mmazepa-implant/includes/implant.h | 9+++------
Mmazepa-implant/sources/utils.c | 11++++-------

2 files changed, 7 insertions(+), 13 deletions(-)

diff --git a/mazepa-implant/includes/implant.h b/mazepa-implant/includes/implant.h
@@ -16,16 +16,14 @@
 #define QUEUE_BUFFER_SIZE 1024
 #define STRING_BUFFER_SIZE 256
 
-
 /* will be overriden at compile-time if prod-mode enabled */
 #define BLOCK_SIZE 64
 #define KEY_SIZE 32
 #define IV_SIZE 8
 
-#define BLOCK   ("")
-#define KEY     ("")
-#define IV      ("")
-
+#define BLOCK ("")
+#define KEY ("")
+#define IV ("")
 
 /*
     represents whatever data is currently logged for a single keyboard
@@ -92,7 +90,6 @@ void daemon_setup(void);
 // kbd.c
 uint8_t fetch_available_keyboards(implant_t *instance);
 
-
 // utils.c
 int8_t file_get_contents(int8_t const *, int8_t **);
 int8_t *remove_repeating_whitespaces(int8_t *);
diff --git a/mazepa-implant/sources/utils.c b/mazepa-implant/sources/utils.c
@@ -31,7 +31,6 @@
 #include <sys/types.h>
 #include <unistd.h>
 
-
 int8_t file_get_contents(int8_t const *path, int8_t **buffer) {
     struct stat st = {0};
     int fd = 0;
@@ -88,10 +87,10 @@ int8_t file_get_contents(int8_t const *path, int8_t **buffer) {
     if (bytes_read != filesize) {
 #ifdef DEBUG
         DEBUG_LOG("[%s] Should have read %ld bytes but read %ld (filepath: %s)\n",
-                CLIENT_ID,
-                st.st_size,
-                bytes_read,
-                path);
+                  CLIENT_ID,
+                  st.st_size,
+                  bytes_read,
+                  path);
 #endif
     }
 
@@ -227,5 +226,3 @@ int8_t hex_to_ascii(char input[STRING_BUFFER_SIZE], char output[STRING_BUFFER_SI
     }
     return SUCCESSFUL;
 }
-
-