Sha256: 2bfc494be10cdb2f2c4df1c1caeefea01c4e41cb2b0c208f078784a093c3b05a

Contents?: true

Size: 1.52 KB

Versions: 6

Compression:

Stored size: 1.52 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
##
# Version 0.2 # 2011-03-05 # Brendan Coles <bcoles@gmail.com>
# Updated version detection
##
WhatWeb::Plugin.define "Mailman" do
  @author = "Tonmoy Saikia"
  @version = "0.2"
  @description = "Mailman is free software for managing electronic mail discussion and e-newsletter lists. WEB:http://www.gnu.org/software/mailman/index.html"

  # Google results as at 2011-03-05 #
  # 443 for inurl:mailman "Delivered by Mailman"
  # 300 for inurl:mailman "Delivered by Mailman" inurl:edu
  # 205 for inurl:mailman "Delivered by Mailman" inurl:gov
  # 25  for inurl:mailman "Delivered by Mailman" inurl:mil

  # Dorks #
  @dorks = [
    'inurl:mailman "Delivered by Mailman"'
  ]

  # Matches #
  @matches = [

    # GHDB Match
    { certainty: 25, ghdb: 'inurl:mailman "Delivered by Mailman"' },

    # Mailing list listinfo links
    { regexp: /<td><a[^>]+href="[^"]+\/listinfo\/[^"]+"><strong>[^<]+<\/strong><\/a><\/td>/ },

    # Version Detection # Delivered by logo
    { version: /<td><img src="[^"]+\/mailman.jpg" alt="Delivered by Mailman"[^>]+><br>version (\d.\d.[0-9a-z]+)/ },

    # Version Detection # Delivered by text
    { version: /<td><a href="http:\/\/www.gnu.org\/software\/mailman\/index.html">Delivered by Mailman<br>version (\d.\d.[0-9a-z]+)<\/a>/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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