From f1abf5a194106c286b62282b48430663763a8332 Mon Sep 17 00:00:00 2001 From: thewhiteh4t Date: Sun, 3 Nov 2024 17:02:26 +0530 Subject: [PATCH] fixed list issue in dns module --- modules/dns.py | 1 - settings.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/dns.py b/modules/dns.py index 5eafc2e..49e5fb7 100644 --- a/modules/dns.py +++ b/modules/dns.py @@ -25,7 +25,6 @@ def dnsrec(domain, dns_servers, output, data): res = dns.asyncresolver.Resolver(configure=False) res.nameservers = [sv.strip() for sv in dns_servers.split(',')] - print(res.nameservers) diff --git a/settings.py b/settings.py index 47e6942..e61520d 100644 --- a/settings.py +++ b/settings.py @@ -27,7 +27,7 @@ try: timeout = config_json['common']['timeout'] - custom_dns = config_json['common']['dns_servers'].split(', ') + custom_dns = config_json['common']['dns_servers'] ssl_port = config_json['ssl_cert']['ssl_port'] port_scan_th = config_json['port_scan']['threads'] dir_enum_th = config_json['dir_enum']['threads']