Added NDPI_DESKTOP_OR_FILE_SHARING_SESSION flow risk

This commit is contained in:
Luca Deri
2021-04-11 14:42:27 +02:00
parent ceb98a3f9c
commit bf318e0b86
5 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -674,7 +674,7 @@ int processCertificate(struct ndpi_detection_module_struct *ndpi_struct,
u_int16_t rc1 = ndpi_match_string(ndpi_struct->malicious_sha1_automa.ac_automa, sha1_str);
if(rc1 > 0)
ndpi_set_risk(flow, NDPI_MALICIOUS_SHA1);
ndpi_set_risk(flow, NDPI_MALICIOUS_SHA1_CERTIFICATE);
}
processCertificateElements(ndpi_struct, flow, certificates_offset, certificate_len);