fixed syntax

bug/bundler_fix
zeknox 2013-12-16 19:26:40 -06:00
parent 7b8de95f6b
commit fe34d0e36e
1 changed files with 1 additions and 1 deletions

View File

@ -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