HollowsHunter
Scans all running processes. Recognizes and dumps a variety of potentially malicious implants (replaced/implanted PEs, shellcodes, hooks, in-memory patches).
Loading...
Searching...
No Matches
util Namespace Reference

Classes

struct  AutoBuffer
 

Functions

std::string trim (std::string &s)
 
bool iequals (const std::string &a, const std::string &b)
 
size_t splitList (const std::string &sline, const char delimiter, std::vector< std::string > &args)
 
int loadInt (const std::string &str, bool as_hex=false)
 
bool loadBoolean (const std::string &str, bool defaultVal)
 
std::string booleanToStr (bool val)
 
bool is_searched_name (const WCHAR *processName, const std::set< std::wstring > &names_list)
 
bool is_searched_pid (long pid, const std::set< long > &pids_list)
 
template<typename TYPE_T>
std::string list_to_str (const std::set< TYPE_T > &list)
 
std::wstring strtime (const time_t t)
 
LONGLONG LargeTime_to_POSIX (LARGE_INTEGER date)
 
LONGLONG FileTime_to_POSIX (FILETIME ft)
 
LONGLONG process_start_time (IN DWORD processID)
 

Variables

std::string WHITESPACES = " \t\n\v\f\r"
 

Function Documentation

◆ booleanToStr()

std::string util::booleanToStr ( bool val)

Definition at line 87 of file etw_settings.cpp.

◆ FileTime_to_POSIX()

LONGLONG util::FileTime_to_POSIX ( FILETIME ft)

Definition at line 44 of file time_util.cpp.

Here is the call graph for this function:

◆ iequals()

bool util::iequals ( const std::string & a,
const std::string & b )

Definition at line 41 of file etw_settings.cpp.

◆ is_searched_name()

bool util::is_searched_name ( const WCHAR * processName,
const std::set< std::wstring > & names_list )

Definition at line 83 of file hh_scanner.cpp.

◆ is_searched_pid()

bool util::is_searched_pid ( long pid,
const std::set< long > & pids_list )

Definition at line 94 of file hh_scanner.cpp.

◆ LargeTime_to_POSIX()

LONGLONG util::LargeTime_to_POSIX ( LARGE_INTEGER date)

Definition at line 28 of file time_util.cpp.

◆ list_to_str()

template<typename TYPE_T>
std::string util::list_to_str ( const std::set< TYPE_T > & list)

Definition at line 104 of file hh_scanner.cpp.

◆ loadBoolean()

bool util::loadBoolean ( const std::string & str,
bool defaultVal )

Definition at line 74 of file etw_settings.cpp.

Here is the call graph for this function:

◆ loadInt()

int util::loadInt ( const std::string & str,
bool as_hex = false )

Definition at line 63 of file etw_settings.cpp.

◆ process_start_time()

LONGLONG util::process_start_time ( IN DWORD processID)

Definition at line 56 of file time_util.cpp.

Here is the call graph for this function:

◆ splitList()

size_t util::splitList ( const std::string & sline,
const char delimiter,
std::vector< std::string > & args )

Definition at line 52 of file etw_settings.cpp.

◆ strtime()

std::wstring util::strtime ( const time_t t)

Definition at line 15 of file time_util.cpp.

◆ trim()

std::string util::trim ( std::string & s)

Definition at line 34 of file etw_settings.cpp.

Variable Documentation

◆ WHITESPACES

std::string util::WHITESPACES = " \t\n\v\f\r"

Definition at line 16 of file etw_settings.cpp.