mirror of https://github.com/CIRCL/AIL-framework
fix: [credential module] fix logging message
parent
f45f9e5836
commit
ab01de76e5
|
@ -97,7 +97,7 @@ class Credential(AbstractModule):
|
||||||
nb_cred = len(all_credentials)
|
nb_cred = len(all_credentials)
|
||||||
message = f'Checked {nb_cred} credentials found.'
|
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:
|
if all_sites:
|
||||||
discovered_sites = ', '.join(all_sites)
|
discovered_sites = ', '.join(all_sites)
|
||||||
message += f' Related websites: {discovered_sites}'
|
message += f' Related websites: {discovered_sites}'
|
||||||
|
|
Loading…
Reference in New Issue