Removing verbose filter - not needed.

git-svn-id: https://beef.googlecode.com/svn/trunk@725 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
scotty.b.brown@gmail.com
2011-02-03 11:17:07 +00:00
parent 6042ff0530
commit 2f97336b7f
2 changed files with 1 additions and 7 deletions

View File

@@ -89,12 +89,6 @@ module BeEF
return false if not is_non_empty_string?(str)
(str =~ /[^\302\256[:print:]]/).nil? # \302\256 is the (r) character
end
# verbose filter
def self.has_valid_verbose_details_chars?(str)
return false if not is_non_empty_string?(str)
(str =~ /[^\w\d\s{}()-.,;:&_=\/!\302\256]/).nil? # \302\256 is the (r) character
end
end

View File

@@ -34,7 +34,7 @@ module BeEF
# check if valid command module datastore value
def self.is_valid_command_module_datastore_param?(str)
return false if has_null?(str)
return false if not has_valid_verbose_details_chars?(str)
return false if not has_valid_base_chars?(str)
true
end