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