"Fossies" - the Fresh Open Source Software Archive

Member "WhatWeb-0.5.5/plugins/afterlogic-webmail-pro.rb" (15 Jan 2021, 1583 Bytes) of package /linux/www/WhatWeb-0.5.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ruby source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 ##
    2 # This file is part of WhatWeb and may be subject to
    3 # redistribution and commercial restrictions. Please see the WhatWeb
    4 # web site for more information on licensing and terms of use.
    5 # https://www.morningstarsecurity.com/research/whatweb
    6 ##
    7 Plugin.define do
    8 name "AfterLogic-WebMail-Pro"
    9 authors [
   10   "Brendan Coles <bcoles@gmail.com>", # 2011-05-20
   11   "Andrew Horton", # v0.2 # 2016-04-18 # Replaced passive function with match for cookies. 
   12 ]
   13 version "0.2"
   14 description "AfterLogic WebMail Pro is a webmail front-end for your existing POP3/IMAP mail server."
   15 website "http://www.afterlogic.com/mailbee/webmail-pro.asp"
   16 
   17 # ShodanHQ results as at 2011-05-20 #
   18 # 226 for PHPWEBMAILSESSID
   19 
   20 # Google results as at 2011-05-20 #
   21 # 94 for "Powered by AfterLogic WebMail Pro" intitle:"AfterLogic WebMail Pro"
   22 
   23 # Dorks #
   24 dorks [
   25 '"Powered by AfterLogic WebMail Pro" intitle:"AfterLogic WebMail Pro"'
   26 ]
   27 
   28 
   29 
   30 # Matches #
   31 matches [
   32 
   33 # Powered by link
   34 { :text=>'Powered by <a href="http://www.afterlogic.com/products/webmail-pro" target="_blank">AfterLogic WebMail Pro</a><br />' },
   35 
   36 # Version Detection # HTML Comment
   37 { :version=>/AfterLogic Corporation<\/a>\s?<\/div>\s+<\/body>\s<\/html>\s<!--\s?([\d\.]+)\s?-->/ },
   38 { :version=>/AfterLogic Corporation<\/a>\s?<\/div>\s+<!--\s?([\d\.]+)\s?-->\s<\/body>\s<\/html>/ },
   39 
   40 # PHPWEBMAILSESSID cookie
   41 { :name=>"PHPWEBMAILSESSID cookie", :search=>"headers[set-cookie]", :regexp=>/^PHPWEBMAILSESSID=[^;]+;/ },
   42 
   43 # PHPWMADMINSESSID cookie
   44 { :name=>"PHPWMADMINSESSID cookie", :search=>"headers[set-cookie]", :regexp=>/^PHPWEBMAILSESSID=[^;]+;/ },
   45 ]
   46 
   47 end
   48