Change logic and add blocklist

This commit is contained in:
atxr 2024-02-27 17:02:27 +01:00
parent b69ef84f98
commit e037cce4ca
2 changed files with 19 additions and 2 deletions

View file

@ -21,6 +21,10 @@ bool detect_overlaps(zip zip);
bool scan_decoded_files(zip zip);
bool scan_zip(char* zip_data, int zip_size);
// todo complete this list
static const char* blocklist[] = {"Mimikatz.exe", "linpeas.sh", "winPEAS.bat"};
static const int blocklist_size = sizeof(blocklist) / sizeof(char*);
static const char* sigs[] = {
"\x7f"
"ELF",