# frozen_string_literal: true ## # This file is part of WhatWeb and may be subject to # redistribution and commercial restrictions. Please see the WhatWeb # web site for more information on licensing and terms of use. # http://www.morningstarsecurity.com/research/whatweb ## WhatWeb::Plugin.define "Skillsoft-Skillport-LMS" do @author = "Brendan Coles " # 2012-05-30 @version = "0.1" @description = "Skillsoft Skillport - learning management system (LMS)" @website = "http://www.skillsoft.com/products/skillport/" # ShodanHQ results as at 2012-05-30 # # 43 for SP70FE # Google results as at 2012-05-30 # # 247 for site:skillport.com inurl:"login.action" # Dorks # @dorks = [ 'site:skillport.com inurl:"login.action"' ] # Matches # @matches = [ # Login Page # table id="loginwrapper" # Version Detection { version: /\s*\s+\s+
<\/td>\s*v ([^\s]+)<\/td>/ }, # Login Page # Help Link { text: '\s+
\s+([^\s+
\s+\s+/ }, # Set-Cookie # SP[0-9]{2}FE # The two digits represent the major and minor version numbers # For example: SP71FE is SkillPort version 7.1.x { search: "headers[set-cookie]", regexp: /SP[5-7]\dFE=\d+\.\d+\.\d+/ }, # HTTP Header # X-SP-FE # I have no idea what this string represents but it's unique for every account # In the form of /pvsp[0-9]{2}[a-z0-9]+(-[0-9]+)?/ # Where the first two digits appear to be the Skillport version # Followed by a few alphanum chars which sometimes represent the company name { search: "headers[x-sp-fe]", string: /^(.+)$/ }, ] end