This commit is contained in:
Luca Deri
2021-10-13 19:18:05 +02:00
parent a2e9730b23
commit 09668496c3
+2 -2
View File
@@ -7638,8 +7638,8 @@ int ndpi_check_dga_name(struct ndpi_detection_module_struct *ndpi_str,
|| ((max_domain_element_len >= 19 /* word too long. Example bbcbedxhgjmdobdprmen.com */) && ((num_char_repetitions > 1) || (num_digits > 1)))
) {
if(flow) {
ndpi_set_risk(ndpi_str, flow, NDPI_SUSPICIOUS_DGA_DOMAIN);
}
ndpi_set_risk(ndpi_str, flow, NDPI_SUSPICIOUS_DGA_DOMAIN);
}
if(ndpi_verbose_dga_detection)
printf("[DGA] Found!");