fix: [DomClassifier] improve perf

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

View file

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