Sha256: e51916e1fc856f0e789aeeae5ab63dc26e6611e38f0f5b24f09173d464eae55c

Contents?: true

Size: 1.31 KB

Versions: 6

Compression:

Stored size: 1.31 KB

Contents

# 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 "KSearch" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-03-20
  @version = "0.1"
  @description = "KSearch is the easiest website search engine to integrate, implement and use. KSearch is fully customizable - you can add or remove any features you want, without permission. KSearch is Open Source Software."
  @website = "http://www.kscripts.com/"

  # Google results as at 2011-03-20 #
  # 159 for "Powered by KSearch" inurl:ksearch.cgi filetype:cgi

  # Dorks #
  @dorks = [
    '"Powered by KSearch" inurl:ksearch.cgi filetype:cgi'
  ]

  # Matches #
  @matches = [

    # GHDB # powered by and filename
    { ghdb: '"Powered by KSearch" inurl:ksearch.cgi filetype:cgi' },

    # Version Detection # Powered by link
    { version: /Powered by[\s]+<a[^>]+href="http:\/\/www\.kscripts\.com\/(scripts\.html#ksearch)?"[^>]*>KSearch[\s]+([\d\.]+[a-z]?)[\s]*<\/a>/, offset: 1 },

    # Powered by link
    { regexp: /Powered by[\s]+<a[^>]+href="http:\/\/www\.kscripts\.com\/(scripts\.html#ksearch)?"[^>]*>KSearch<\/a>/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_whatweb-0.4.1 lib/whatweb/plugins/ksearch.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/ksearch.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/ksearch.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/ksearch.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/ksearch.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/ksearch.rb