class Intrigue::Ident::Check::Hp

Public Instance Methods

generate_checks(url) click to toggle source
# File lib/checks/hp.rb, line 6
def generate_checks(url)
  [
    {
      :type => "application",
      :vendor => "HP",
      :product =>"Printer",
      :version => nil,
      :match_type => :content_headers,
      :match_content =>  /server: HP-ChaiSOE\/1.0/i,
      :match_details =>"Generic HP Printer match",
      :examples => ["http://69.162.52.20:80"],
      :paths => ["#{url}"]
    }
  ]
end