fix: [credential module] fix logging message

This commit is contained in:
Terrtia 2023-04-06 09:18:57 +02:00
parent f45f9e5836
commit ab01de76e5
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -97,7 +97,7 @@ class Credential(AbstractModule):
nb_cred = len(all_credentials)
message = f'Checked {nb_cred} credentials found.'
all_sites = self.regex_findall(self.regex_web, item.get_id(), item_content)
all_sites = self.regex_findall(self.regex_web, item.get_id(), item_content, r_set=True)
if all_sites:
discovered_sites = ', '.join(all_sites)
message += f' Related websites: {discovered_sites}'