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 "Huawei-Firewall" do 8author "Brendan Coles <bcoles@gmail.com>" # 2012-06-03 9version "0.1" 10description "Huawei Firewall" 11website "http://www.huawei.com/en/products/data-communication/network-security/firewall/index.htm" 12 13# ShodanHQ results as at 2012-06-03 # 14# 9,018 for Eudemon Server 15 16# Google results as at 2012-06-03 # 17# 10 for intitle:"Web Admin login" "Password" "Huawei Technologies Co., Ltd." 18 19# Dorks # 20dorks [ 21'intitle:"Web Admin login" "Password" "Huawei Technologies Co., Ltd."' 22] 23 24 25 26# Matches # 27matches [ 28 29# HTML Comment 30{ :text=>'<!--Modify by wangxiangguang 2006-9-29 for BYDD15857 Begin -->' }, 31{ :text=>'<!--Modify by wangxiangguang 2006-9-29 for BYDD15857 End -->' }, 32 33# username field 34{ :text=>'<input type="text" onpaste="checkPaste(this,\'012\')" name="username" id="username" maxlength=' }, 35 36# Copyright Footer # Year Detection 37{ :string=>/<div align="center">Copyright \(c\) Huawei Technologies Co\., Ltd\. 2005-(20[\d]{2})\. All rights reserved\. <\/div>/ }, 38{ :string=>/<div align="center">Copyright \(c\) 2005-(20[\d]{2}) Huawei Technologies Co\., Ltd\.<\/div><\/td>/ }, 39 40# Server # Eudemon Model # Version Detection 41{ :search=>"headers[server]", :version=>/^Eudemon Server ([^\s]+)$/, :model=>"Eudemon" }, 42 43] 44 45end 46 47