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## 7# Version 0.2 # 2016-04-23 # Andrew Horton 8# Moved patterns from passive function to matches[] 9## 10Plugin.define "NSFocus" do 11author "Brendan Coles <bcoles@gmail.com>" # 2011-05-10 12version "0.2" 13description "NSFOCUS Web Application Firewall" 14website "http://www.nsfocus.com/" 15# Manual: http://www.nsfocus.com/jp/3_products/090714WAF.pdf 16 17# ShodanHQ results as at 2011-03-13 # 18# 25 for nsfocus # All results are from China 19 20# Matches # 21matches [ 22 23 # Default Page 24 { :md5=>"4a6a68c719d64f1dd153a94122287f54" }, 25 26 # HTTP Server Header 27 { :regexp=>/^NSFocus/, :search=>"headers[server]" }, 28 29 # Version Detection 30 { :version=>/^NSFocus\/([^\s]+) \( NSFOCUS \)/, :search=>"headers[server]" }, 31 32] 33 34end 35 36