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:
scotty.b.brown@gmail.com
2010-12-04 13:05:08 +00:00
parent 10ee49cb1a
commit 2f162b92b9

View File

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