From fe34d0e36ebb24c75f24d1af2185861b8fa931d4 Mon Sep 17 00:00:00 2001 From: zeknox Date: Mon, 16 Dec 2013 19:26:40 -0600 Subject: [PATCH] fixed syntax --- modules/auxiliary/gather/dns_cache_scraper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auxiliary/gather/dns_cache_scraper.rb b/modules/auxiliary/gather/dns_cache_scraper.rb index 3134e657b1..4e01346e80 100644 --- a/modules/auxiliary/gather/dns_cache_scraper.rb +++ b/modules/auxiliary/gather/dns_cache_scraper.rb @@ -42,7 +42,7 @@ class Metasploit3 < Msf::Auxiliary def scrape_dns(domain) # dns request with recursive disabled - use_tcp = datastore['TCP_DNS'] == true + use_tcp = datastore['TCP_DNS'] res = Net::DNS::Resolver.new(:nameservers => "#{datastore['NS']}", :recursive => false, :use_tcp => use_tcp) # query dns