![]() |
Panoptes 1.0.0
Endpoint Detection and Response
|
The YaraScanner class that is used to scan a file using YARA rules. More...
#include <PanoptesYara.h>
Classes | |
| struct | ScanData |
| The data that is sent to the Panoptes Service. More... | |
Public Member Functions | |
| YaraScanner (const char *Rules) | |
| Intializes Yara memory and attempts to load supplied yara rules. | |
| ~YaraScanner () | |
| Destructor for the YaraScanner class that destroys the YARA rules. | |
| YaraScanner (const YaraScanner &)=delete | |
| YaraScanner & | operator= (const YaraScanner &)=delete |
| std::vector< std::string > | YaraScanFile (std::string PathToFile) |
| Scan a file using YARA rules. | |
The YaraScanner class that is used to scan a file using YARA rules.
Definition at line 36 of file PanoptesYara.h.
| YaraScanner::YaraScanner | ( | const char * | rulesPath | ) |
Intializes Yara memory and attempts to load supplied yara rules.
| rulesPath |
Definition at line 38 of file yara-scan.cpp.
References readFileToBuffer().
Referenced by operator=(), and YaraScanner().
| YaraScanner::~YaraScanner | ( | ) |
Destructor for the YaraScanner class that destroys the YARA rules.
Definition at line 54 of file yara-scan.cpp.
|
delete |
References YaraScanner().
|
delete |
References YaraScanner().
| std::vector< string > YaraScanner::YaraScanFile | ( | std::string | file_path | ) |
Scan a file using YARA rules.
| file_path | The path to the file to scan |
Definition at line 82 of file yara-scan.cpp.
References matchingRule(), and readFileToBuffer().
Referenced by PanoEntry().