mirror of https://github.com/CIRCL/lookyloo
fix: Avoid endless recursive call
parent
8575cb33a4
commit
673c6a0270
|
@ -94,6 +94,7 @@ class UniversalWhois(AbstractModule):
|
|||
if abuse_c and abuse_c.lastindex: # make sure we have a match and avoid exception on None or missing group 1
|
||||
# The whois entry has an abuse-c object
|
||||
_obj_name: str = abuse_c.group(1).decode()
|
||||
if _obj_name != query:
|
||||
abuse_c_query = self.whois(_obj_name, contact_email_only)
|
||||
# The object exists
|
||||
if abuse_c_query and contact_email_only:
|
||||
|
|
Loading…
Reference in New Issue