Removed comments in code!
parent
9998ca928d
commit
c30b2de35b
|
@ -83,10 +83,10 @@ class Metasploit3 < Msf::Post
|
||||||
|
|
||||||
# Add user specified domains to list.
|
# Add user specified domains to list.
|
||||||
if !datastore['DOMAINS'].blank?
|
if !datastore['DOMAINS'].blank?
|
||||||
#if datastore['DOMAINS'].match(/./)
|
if datastore['DOMAINS'].match(/./)
|
||||||
# print_error "DOMAINS must not contain DNS style domain names e.g. 'mydomain.net'. Instead use 'mydomain'."
|
print_error "DOMAINS must not contain DNS style domain names e.g. 'mydomain.net'. Instead use 'mydomain'."
|
||||||
# return
|
return
|
||||||
#end
|
end
|
||||||
user_domains = datastore['DOMAINS'].split(' ')
|
user_domains = datastore['DOMAINS'].split(' ')
|
||||||
user_domains = user_domains.map {|x| x.upcase}
|
user_domains = user_domains.map {|x| x.upcase}
|
||||||
print_status "Enumerating the user supplied Domain(s): #{user_domains.join(', ')}..."
|
print_status "Enumerating the user supplied Domain(s): #{user_domains.join(', ')}..."
|
||||||
|
|
Loading…
Reference in New Issue