class Intrigue::Ident::Check::Django

Public Instance Methods

generate_checks(url) click to toggle source
# File lib/checks/django.rb, line 6
def generate_checks(url)
  [
    {
      :type => "application",
      :vendor => "Django",
      :product =>"Django",
      :version => nil,
      :match_details =>"Django Admin Page",
      :match_type => :content_body,
      :match_content =>  /<title>Log in \| Django site admin<\/title>/,
      :paths => ["#{url}/admin"]
    }
  ]
end