Removed comments in code!

unstable
Meatballs1 2012-07-03 21:34:33 +01:00
parent 9998ca928d
commit c30b2de35b
1 changed files with 4 additions and 4 deletions

View File

@ -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(', ')}..."