Class: Intrigue::Ident::Check::Craft

Inherits:
Base
  • Object
show all
Defined in:
lib/checks/craft.rb

Instance Method Summary collapse

Methods inherited from Base

inherited

Instance Method Details

#generate_checks(url) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/checks/craft.rb', line 6

def generate_checks(url)
  [
    {
      :vendor => "Craft",
      :type => "application",
      :product =>"CMS",
      :match_details =>"csrf protection cookie",
      :version => nil,
      :match_type => :content_cookies,
      :match_content =>  /CRAFT_CSRF_TOKEN/,
      :hide => true,
      :paths => ["#{url}"]
    }
  ]
end