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