# 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 # 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: /]+href="[^"]+\/listinfo\/[^"]+">[^<]+<\/strong><\/a><\/td>/ }, # Version Detection # Delivered by logo { version: /Delivered by Mailman]+>
version (\d.\d.[0-9a-z]+)/ }, # Version Detection # Delivered by text { version: /Delivered by Mailman
version (\d.\d.[0-9a-z]+)<\/a>/ }, ] end