From 07a4acf6c0d0e579dedcc76edf533e120469e21e Mon Sep 17 00:00:00 2001 From: "scotty.b.brown@gmail.com" Date: Mon, 3 Jan 2011 02:54:13 +0000 Subject: [PATCH] Added the ! to teh filter for the IE response (navigator.plugins is not supported by this browser!) git-svn-id: https://beef.googlecode.com/svn/trunk@658 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- lib/filter/init.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filter/init.rb b/lib/filter/init.rb index 49a939507..3437f3239 100644 --- a/lib/filter/init.rb +++ b/lib/filter/init.rb @@ -59,7 +59,7 @@ module BeEF def self.is_valid_browser_plugins?(str) return false if not BeEF::Filter.is_non_empty_string?(str) return false if str.length > 255 - return (str =~ /[^\w\d\s()-.,;_\302\256]/).nil? # \302\256 is the (r) character + return (str =~ /[^\w\d\s()-.,;_!\302\256]/).nil? # \302\256 is the (r) character end end