2012-12-18 16:53:38 +01:00
|
|
|
require 'net/dns'
|
2010-10-20 13:32:24 -06:00
|
|
|
require File.dirname(__FILE__) + "/project_honeypot/url.rb"
|
|
|
|
require File.dirname(__FILE__) + "/project_honeypot/base.rb"
|
|
|
|
|
2010-10-20 13:00:50 -06:00
|
|
|
module ProjectHoneypot
|
2010-10-20 23:07:24 -06:00
|
|
|
def self.lookup(api_key, url)
|
2010-10-20 13:00:50 -06:00
|
|
|
searcher = Base.new(api_key)
|
|
|
|
searcher.lookup(url)
|
|
|
|
end
|
|
|
|
end
|