class Intrigue::Ident::Check::Lighttpd

Public Instance Methods

generate_checks(url) click to toggle source
# File lib/checks/lighttpd.rb, line 6
def generate_checks(url)
  [
    {
      :type => "application",
      :vendor => "Lighttpd",
      :tags => [],
      :product =>"Lighttpd",
      :match_details =>"server header",
      :version => nil,
      :match_type => :content_headers,
      :match_content =>  /server: lighttpd/i,
      :dynamic_version => lambda { |x|
        _first_header_capture(x,/server: lighttpd\/(.*)/i,)
      },
      :examples => ["http://98.99.246.234:80"],
      :paths => ["#{url}"]
    }
  ]
end