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
This commit is contained in:
scotty.b.brown@gmail.com
2011-01-03 02:54:13 +00:00
parent db29962c4b
commit 07a4acf6c0

View File

@@ -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