-
Notifications
You must be signed in to change notification settings - Fork 257
/
hh_params.h
42 lines (34 loc) · 953 Bytes
/
hh_params.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#pragma once
#include <pe_sieve_api.h>
#include <string>
#include <set>
#define TIME_UNDEFINED LONGLONG(-1)
#define HH_DEFAULT_DIR "hollows_hunter.dumps"
typedef enum {
CACHE_DISABLED = 0, ///< cache always disabled
CACHE_AUTO, ///< autodetect if cache should be enabled
CACHE_ENABLED, ///< cache always enabled
CACHE_MODES_COUNT
} t_cache_mode;
//HollowsHunter's parameters:
typedef struct hh_params
{
public:
std::string out_dir;
bool unique_dir;
bool loop_scanning;
bool etw_scan;
bool suspend_suspicious;
bool kill_suspicious;
bool quiet;
bool log;
bool json_output;
LONGLONG ptimes;
t_cache_mode cache_mode;
std::set<std::wstring> names_list;
std::set<long> pids_list;
std::set<std::wstring> ignored_names_list;
pesieve::t_params pesieve_args; //PE-sieve parameters
void init();
hh_params& operator=(const hh_params& other);
} t_hh_params;