linux-rootkit

Feature-rich interactive rootkit that targets Linux kernel 4.19, accompanied by a dynamic kernel memory analysis GDB plugin for in vivo introspection (e.g. using QEMU)
git clone git://git.deurzen.net/linux-rootkit
Log | Files | Refs

commit 0adb3766ae1da910e6ff82bca526255e216b7ab8
parent e6fbb887c53a917a1a3913d80181f1a94f188ec7
Author: deurzen <m.deurzen@tum.de>
Date:   Sun, 10 Jan 2021 19:45:31 +0100

adds debug info

Diffstat:
Msrc/porthide.c | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/porthide.c b/src/porthide.c @@ -114,8 +114,12 @@ find_lport_in_list(lport_list_t_ptr head, lport_t lport) { lport_list_t_ptr i; for (i = head; i; i = i->next) - if (i->lport == lport) + if (i->lport == lport) { + DEBUG_INFO("found port %d\n", lport); return i; + } else { + DEBUG_INFO("%d is not port %d\n", i->lport, lport); + } return NULL; }