# frozen_string_literal: true ## # 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. # http://www.morningstarsecurity.com/research/whatweb ## WhatWeb::Plugin.define "Netsweeper" do @author = "Brendan Coles " # 2011-05-12 @version = "0.1" @description = "Netsweeper provides internet content filtering and web threat management solutions that foster employee productivity, student safety and secure Internet access." @website = "http://www.netsweeper.com/" # Google results as at 2011-05-12 # # 11 for inurl:"8080/webadmin/deny/index.php" # ShodanHQ results as at 2011-05-12 # # 27 for 8080/webadmin/deny/index.php # Dorks # @dorks = [ 'inurl:"8080/webadmin/deny/index.php"' ] # Matches # @matches = [ # overDiv { text: '' }, { text: '' }, # HTML Comment { text: "" }, # footer span class { text: "
" }, { text: "
" }, # Redirect page # HTML comment { text: "" }, { text: "" }, # Redirect page # continue link { text: 'Please click here to continue.' }, # powered by footer { text: '' }, { text: '' }, ] # Passive # def passive(target) m = [] # webadmin cookie m << { name: "webadmin cookie" } if target.headers["set-cookie"] =~ /webadmin=[a-z\d]{26}/ # Redirect location header m << { name: "Redirect location header" } if target.headers["location"] =~ /\/webadmin\/deny\/index\.php\?dpid=[\d]+&dpruleid=[\d]+&/ # Return passive matches m end end