Sha256: 2a0d11146db4a215d931878eb6c16f5c856072d174c90eb5a3138e5ceba33de1

Contents?: true

Size: 979 Bytes

Versions: 6

Compression:

Stored size: 979 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
##
WhatWeb::Plugin.define "WANem" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2012-09-08
  @version = "0.1"
  @description = "WANem is a Wide Area Network emulator designed by Performance Engineering Research Centre, TATA Consultancy Services, Mumbai."
  @website = "http://wanem.sourceforge.net/"

  # Matches #
  @matches = [

    # / # Version Detection # Body Heading
    { version: /<html><body><h1>WANem v([^\s^:]+): It works\!<\/h1><\/body><\/html>/ },

    # /WANem/about.html # Version Detection
    { url: '/WANem/about.html', version: /<b>WANem v([^\s^<]+)<\/b><br>/ },

    # /WANem/title.html # Title
    { url: '/WANem/title.html', text: '<TITLE>Welcome to WANem</TITLE>' },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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