Class: Intrigue::Ident::Check::Typo3

Inherits:
Base
  • Object
show all
Defined in:
lib/checks/typo3.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/typo3.rb', line 6

def generate_checks(url)
  [
    {
      :type => "application",
      :vendor => "Typo3",
      :product => "CMS",
      :match_details => "generator tag",
      :version => nil,
      :match_type => :content_body,
      :match_content =>  /<meta name="generator" content="TYPO3 CMS"/i,
      :paths => ["#{url}"],
      :examples => ["http://www2.wessmann.com/index.php?id=52"]
    }
  ]
end