# File ../../auditor/lib/kasp_auditor/partial_auditor.rb, line 1001 def load_domains(signed_file) # Fill out the list of domains to look for. # Go through the signed file and identify the names of interest # For now, just grab the first X names - @TODO@ Fix this # @TODO@ Can now do this on main pass through the file - don't need it in a first pass counter = 0 IO.foreach(signed_file) {|line| next if (line[0,1]==";") name = line.split()[0] next if name=~/[\*\(\)\^\[\]\+\$\\]/ next if !name if (!name_in_list(name)) add_name_to_list(name) counter += 1 break if counter == @scan_options.num_domains end } end