Class: Intrigue::Ident::Check::Docuwiki

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

def generate_checks(url)
  [
    {
      :type => "application",
      :vendor => "Docuwiki",
      :product => "Docuwiki",
      :version => nil,
      :match_type => :content_headers,
      :match_content =>  /DokuWiki=/,
      :match_details =>"Cookie match",
      :references => ["https://www.dokuwiki.org/dokuwiki"],
      :examples => ["https://docs.foxycart.com:443"],
      :paths => ["#{url}"]
    }
  ]
end