diff --git a/core/filters/browser.rb b/core/filters/browser.rb index e26f4c1b7..dfc1e04e4 100644 --- a/core/filters/browser.rb +++ b/core/filters/browser.rb @@ -46,7 +46,7 @@ module BeEF return false if has_non_printable_char?(str) return true if str.eql? 'UNKNOWN' return true if str.eql? 'ALL' - return false if !nums_only?(str) and !str.match(/\b\d+(\.\d+)+\b/) + return false if !nums_only?(str) and !str.match(/\A\d+(\.\d+)+\z/) return false if str.length > 20 true