lib/wmap/host_tracker.rb
# Based on the current host store, to determine if an entry is a known sub-domain
Based on the current host store, to determine if an entry is a known sub-domain
Based on the current host store to determine if an entry is a known sub - domain
def sub_domain_known?(domain)
		puts "Validate sub-domain: #{domain}" if @verbose
		domain=domain.strip.downcase
		subs=dump_sub_domains
		return subs.include?(domain)
	rescue Exception => ee
		puts "Exception on method #{__method__}: #{ee}"
	end
def sub_domain_known? ( domain ) puts "Validate sub-domain: #{domain}" if @verbose domain = domain . strip . downcase subs = dump_sub_domains return subs . include? ( domain ) rescue Exception => ee puts "Exception on method #{__method__}: #{ee}" end
Based on the current host store, to determine if an entry is a known sub-domain
Based on the current host store to determine if an entry is a known sub - domain
domain
<not_specific>