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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user