lib/wmap/host_tracker.rb
# Check if the specific host within @known_hosts table
Check if the specific host within @known_hosts table
Check if the specific host within @known_hosts table
def host_known? (host)
		host=host.strip.downcase unless host.nil?
		return false if @known_hosts==nil
		return @known_hosts.key?(host.strip)
	rescue => ee
		if @verbose
			puts "Host Lookup Error: #{ee}"
		end
		return false
	end
def host_known? ( host ) host = host . strip . downcase unless host . nil? return false if @known_hosts == nil return @known_hosts . key? ( host . strip ) rescue => ee if @verbose puts "Host Lookup Error: #{ee}" end return false end
Check if the specific host within @known_hosts table
Check if the specific host within @known_hosts table
host
<not_specific>