git-svn-id: https://beef.googlecode.com/svn/trunk@718 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -58,7 +58,7 @@ module BeEF
|
||||
# verify the browser_plugins string is valid
|
||||
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 false if str.length > 400
|
||||
return (str =~ /[^\w\d\s()-.,;_!\302\256]/).nil? # \302\256 is the (r) character
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user