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:
bcoles
2011-12-07 20:54:23 +10:30
parent 434779055c
commit 2ccd421768

View File

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