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# http://www.morningstarsecurity.com/research/whatweb
6##
7Plugin.define "BugFree" do
8author "Brendan Coles <bcoles@gmail.com>" # 2011-10-22
9version "0.1"
10description "BugFree [Chinese]"
11website "http://www.bugfree.org.cn/"
12
13# Google results as at 2011-10-22 #
14# 12 for inurl:"Login.php" intitle:"BugFree"
15
16# Dorks #
17dorks [
18'inurl:"Login.php" intitle:"BugFree"'
19]
20
21
22
23# Matches #
24matches [
25
26# Login Page # Version Detection # div id="LoginMain"
27{ :version=>/<div id="loginLogo">[\s]+<img src="Image\/login_logo\.png" id="logo" alt=BugFree \/><br \/>[\s]+<center style="color:#666666;font-size:10px;padding-left:4px;">([^\s^<]+)<\/center>[\s]+<\/div>/ },
28
29# Login Page # Version Detection # div id="LoginMain"
30{ :version=>/<div id="LoginMain">[\s]+<div id="LoginLogo">[\s]+<span id="Version">([^\s^<]+)<\/span>[\s]+<\/div>[\s]+<div id="LoginFormContainer">/ },
31
32# Login Page # Version Detection # span id="Version"
33{ :version=>/<span id="Version"><img src="Image\/logo\.png" height=40 title=BugFree \/>([^\s^<]+)<\/span>/ },
34
35# Login Page # xajax_xSelectLanguage
36{ :text=>'<select name=\'Language\' id=\'Language\' class="NormalSelect MyInput select" onchange="xajax_xSelectLanguage(this.value);return false;" >' },
37
38# Login Page # Logo HTML
39{ :text=>'<img src="Image/login_bg_left.gif" class="loginBgImage"/>' },
40
41# Login Page # Older Versions ~1.0 # BugUserPWD
42{ :text=>'<td><input type="password" name="BugUserPWD" class="MyInput"></td>' },
43
44]
45
46end
47
48