Skip to content

Commit

Permalink
fixed list issue in dns module
Browse files Browse the repository at this point in the history
  • Loading branch information
thewhiteh4t committed Nov 3, 2024
1 parent 88c85d2 commit f1abf5a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion modules/dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)



Expand Down
2 changes: 1 addition & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit f1abf5a

Please sign in to comment.