project_honeypot/lib/project-honeypot.rb

11 lines
272 B
Ruby
Raw Normal View History

2010-10-21 07:07:24 +02:00
require 'net/dns/resolver'
require File.dirname(__FILE__) + "/project_honeypot/url.rb"
require File.dirname(__FILE__) + "/project_honeypot/base.rb"
module ProjectHoneypot
2010-10-21 07:07:24 +02:00
def self.lookup(api_key, url)
searcher = Base.new(api_key)
searcher.lookup(url)
end
end