Class: Intrigue::Ident::Check::Cpanel

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

def generate_checks(url)
  [
    {
      :vendor => "cPanel",
      :type => "application",
      :product =>"cPanel Hosted - Missing Page",
      :match_details =>"cPanel Hosted, but either misconfigured, or accessed via ip vs hostname?",
      :version => nil,
      :match_type => :content_body,
      :match_content =>  /URL=\/cgi-sys\/defaultwebpage.cgi/,
      :hide => true,
      :paths => ["#{url}"]
    }
  ]
end