fix: [DomClassifier] improve perf

dev
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
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ class DomClassifier(AbstractModule):
self.c.text(rawtext=host) self.c.text(rawtext=host)
print(self.c.domain) print(self.c.domain)
if not self.c.domain:
return
self.c.validdomain(passive_dns=True, extended=False) self.c.validdomain(passive_dns=True, extended=False)
# self.logger.debug(self.c.vdomain) # self.logger.debug(self.c.vdomain)