From 5c25ec0feaab2002cfb0ba711ed57de2023b3ecf Mon Sep 17 00:00:00 2001 From: terrtia Date: Tue, 9 Jan 2024 11:24:54 +0100 Subject: [PATCH] fix: [DomClassifier] improve perf --- bin/modules/DomClassifier.py | 2 ++ 1 file changed, 2 insertions(+) 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 @@ class DomClassifier(AbstractModule): 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)