diff --git a/bin/modules/DomClassifier.py b/bin/modules/DomClassifier.py index e7b77d26..063354a2 100755 --- a/bin/modules/DomClassifier.py +++ b/bin/modules/DomClassifier.py @@ -61,6 +61,8 @@ def compute(self, message, r_result=False): self.c.text(rawtext=host) print(self.c.domain) + if not self.c.domain: + return self.c.validdomain(passive_dns=True, extended=False) # self.logger.debug(self.c.vdomain)