mirror of
https://github.com/urbanadventurer/WhatWeb
synced 2026-06-21 14:12:19 +00:00
42 lines
1.2 KiB
Ruby
42 lines
1.2 KiB
Ruby
##
|
|
# 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.
|
|
# https://www.morningstarsecurity.com/research/whatweb
|
|
##
|
|
Plugin.define do
|
|
name "SquirrelMail"
|
|
authors [
|
|
"Andrew Horton",
|
|
# v0.2 # removed :certainty=>100 & :name
|
|
# v0.3 # Uses :version=>//
|
|
]
|
|
version "0.3"
|
|
description "Opensource Webmail written in PHP"
|
|
website "http://squirrelmail.org"
|
|
|
|
# tends to get customised
|
|
|
|
matches [
|
|
{:name=>"default title", :text=>"<title>SquirrelMail - Login</title>"},
|
|
{:name=>"js function", :text=>"function squirrelmail_loginpage_onload()"},
|
|
{:name=>"css comment", :text=>'/* avoid stupid IE6 bug with frames and scrollbars */'},
|
|
{:text=>'<b>SquirrelMail Login</b>'},
|
|
{:version=>/<(small|SMALL)>SquirrelMail version ([^<]+)</, :offset=>1, :name=>"version" }
|
|
]
|
|
|
|
# <SMALL>SquirrelMail version 1.2.7<BR>
|
|
# <small>SquirrelMail version 1.4.4<
|
|
# <small>SquirrelMail version 1.4.9a<br />
|
|
passive do
|
|
m=[]
|
|
|
|
# Set-Cookie: SQMSESSID=5055d75dbcac067f72b509effc42cc50; path=/
|
|
m << {:name=>"SQMSESSID cookie" } if @headers["set-cookie"] =~ /SQMSESSID=/i
|
|
m
|
|
end
|
|
|
|
|
|
end
|
|
|