project_honeypot/lib/project_honeypot.rb

11 lines
258 B
Ruby
Raw Normal View History

require 'net/dns'
require File.dirname(__FILE__) + "/project_honeypot/url.rb"
require File.dirname(__FILE__) + "/project_honeypot/base.rb"
module ProjectHoneypot
def lookup(api_key, url)
searcher = Base.new(api_key)
searcher.lookup(url)
end
end