Skip to content

Commit

Permalink
patched ip to fqdn scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
ugomeguerditchian committed Jul 27, 2023
1 parent e789bb2 commit 434b53f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion lib/generics.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ def fqdn_scanner(
if main_domain.ip == "Dead":
res.add_dead(main_domain.name)
else:
this_ip = ip_lib.ip(main_domain.ip, config)
if not res.check_if_ip_in_res(main_domain.ip):
this_ip = ip_lib.ip(main_domain.ip, config)
else:
this_ip = res.get_ip_in_res(main_domain.ip)

res.add_fqdn(this_ip, main_domain.name)
subs = main_domain.get_subs(config.ip_trough_proxy)
# remove duplicates
Expand Down
2 changes: 1 addition & 1 deletion manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
V3.0.3
V3.0.4

0 comments on commit 434b53f

Please sign in to comment.