From 6a4369bef6454b61cf1e5bf6c45f89bfd5d25d84 Mon Sep 17 00:00:00 2001 From: ugomeguerditchian Date: Fri, 2 Jun 2023 23:12:37 +0200 Subject: [PATCH] debug condition while getting fqdn from an ip --- lib/generics.py | 8 +++++++- manifest | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/generics.py b/lib/generics.py index 29a90fa..23c6051 100644 --- a/lib/generics.py +++ b/lib/generics.py @@ -165,7 +165,13 @@ def ip_scanner(ip: str, config: configuration, res: result, recursive: int = 0): if fqdn: fqdn = fqdn[0] - if fqdn and config.is_there_scope() and config.is_in_scope(fqdn, mode="FQDNs"): + if ( + fqdn + and config.is_there_scope() + and config.is_in_scope(fqdn, mode="FQDNs") + or fqdn + and not config.is_there_scope() + ): res.add_fqdn(ip_obj, fqdn) if config.find_subs: logger.info("[*] Finding subdomains") diff --git a/manifest b/manifest index 5a8ee61..69f5d36 100644 --- a/manifest +++ b/manifest @@ -1 +1 @@ -V3.0.1 \ No newline at end of file +V3.0.2 \ No newline at end of file