| Server IP : 23.111.136.34 / Your IP : 216.73.216.136 Web Server : Apache System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : meusitei ( 1072) PHP Version : 5.6.40 Disable Function : show_source, system, shell_exec, passthru, proc_open MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /etc/cpguard/include/ |
Upload File : |
#ifndef CPGSCANFUNCTIONS_H
#define CPGSCANFUNCTIONS_H
#define OVECCOUNT 30
class scanDBandRules{
/*struct rules {
char* name;
char* quick_str;
pcre* regex;
struct rules* next;
} *ruletab = NULL;
*/
unsigned long int size;
unsigned int sigs;
long double mb;
const char* virname;
char* wlist[1500];
int wlen;
public:
struct cl_engine* engine;
struct cl_scan_options options;
int ret,qid;
scanDBandRules();
~scanDBandRules();
void loadDb();
void buildEngine();
int scanDB();
int scanfile();
//int add_rule(char*, char*, char*);
//int endswith(char* str, char*);
//void compile_rules();
void loadWhitelist();
int checkIfWhitelisted();
int checkIfBlacklisted();
};
#endif