Sha256: 129b1596cf1c6598bac80a65348a0144f9809b45a15ba11364967a4752b01bc7

Contents?: true

Size: 801 Bytes

Versions: 6

Compression:

Stored size: 801 Bytes

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
##
# Version 0.2 # 2016-04-23 # Andrew Horton
# Moved patterns from passive function to matches[]
##
WhatWeb::Plugin.define "SVN" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2010-10-30
  @version = "0.2"
  @description = "SVN HTTP header."

  # About 85500 ShodanHQ results for "server: SVN" @ 2010-10-30

  @matches = [

    # HTTP Header
    { regexp: /[^\r^\n]*SVN/, search: "headers[server]" },

    # HTTP Header # Version detect
    { version: /[^\r^\n]*SVN\/([^\r^\n^\s]*)/, search: "headers[server]" },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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