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