Class: Intrigue::Ident::Check::Gitlab
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#generate_checks(url) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/checks/gitlab.rb', line 6 def generate_checks(url) [ { :type => "application", :vendor => "Gitlab", :product => "Gitlab", :match_details => "Gitlab", :version => nil, :match_type => :content_cookies, :match_content => /_gitlab_session/i, :dynamic_version => lambda{ |x| _first_body_capture(x,/window.gon={};gon.api_version=\"v([0-9\.])\"/i) }, :examples => [ ], :paths => ["#{url}"] } ] end |