diff --git a/core/api.rb b/core/api.rb index 3ad1bf391..0d845d02d 100644 --- a/core/api.rb +++ b/core/api.rb @@ -60,10 +60,9 @@ module BeEF # @param [String] method the method of the class # @param [Array] params an array of parameters that need to be matched # @return [Boolean] whether or not the owner is registered - # @todo Change the param matching to use the new :is_matched_params?() method - Issue #479 def registered?(owner, c, method, params = []) @registry.each{|r| - if r['owner'] == owner and r['class'] == c and r['method'] == method and params == r['params'] + if r['owner'] == owner and r['class'] == c and r['method'] == method and self.is_matched_params?(r, params) return true end } diff --git a/core/main/client/net/xssrays.js b/core/main/client/net/xssrays.js index 2db324759..93091680f 100644 --- a/core/main/client/net/xssrays.js +++ b/core/main/client/net/xssrays.js @@ -50,19 +50,19 @@ beef.net.xssrays = { vectors: [ // {input:"',XSS,'", name: 'Standard DOM based injection single', browser: 'ALL',url:true,form:true,path:true}, -// {input:'",XSS,"', name: 'Standard DOM based injection double', browser: 'ALL',url:true,form:true,path:true}, -// {input: '\'>