Increased max valid user-agent string length from 200 to 300 in
BeEF::Filters.is_valid_browserstring(str) in core/filters/browser.rb IE with a few plugins has a user-agent length of ~200
This commit is contained in:
@@ -65,7 +65,7 @@ module Filters
|
||||
def self.is_valid_browserstring?(str)
|
||||
return false if not is_non_empty_string?(str)
|
||||
return false if has_non_printable_char?(str)
|
||||
return false if str.length > 200
|
||||
return false if str.length > 300
|
||||
true
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user