Added ! to the has_valid_browser details_chars filter to cater for the message from IE - "navigator.plugins is not supported in this browser"
git-svn-id: https://beef.googlecode.com/svn/trunk@597 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -81,7 +81,7 @@ module BeEF
|
||||
# check for valid browser details chars
|
||||
def self.has_valid_browser_details_chars?(str)
|
||||
return false if not is_non_empty_string?(str)
|
||||
not (str =~ /[^\w\d\s()-.,;:_\/\302\256]/).nil? # \302\256 is the (r) character
|
||||
not (str =~ /[^\w\d\s()-.,;:_\/!\302\256]/).nil? # \302\256 is the (r) character
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user