fix: [DomClassifier] improve perf

This commit is contained in:
terrtia 2024-01-09 11:24:54 +01:00
parent f851cc9f42
commit 5c25ec0fea
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -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)