Added module support() function
git-svn-id: https://beef.googlecode.com/svn/trunk@1107 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -22,12 +22,16 @@ beef:
|
||||
description: "Sends an alert dialog to the hooked browser."
|
||||
authors: ["bm"]
|
||||
target:
|
||||
user_notify: ["O"]
|
||||
working:
|
||||
IE:
|
||||
min_ver: 7
|
||||
min_ver: 6
|
||||
max_ver: 8
|
||||
os: "Windows"
|
||||
FF: true
|
||||
os: ["Mac", "Linux"]
|
||||
C: false
|
||||
user_notify: ["K", "O"]
|
||||
not_working: "S"
|
||||
FF: true
|
||||
not_working:
|
||||
IE:
|
||||
max_ver: 8
|
||||
os: "All"
|
||||
S: true
|
||||
|
||||
@@ -38,6 +38,19 @@ class Alert_dialog < BeEF::Core::Command
|
||||
# This tells the framework to use the file 'alert.js' as the command module instructions.
|
||||
use_template!
|
||||
end
|
||||
|
||||
# set and return all options for this module
|
||||
def self.options
|
||||
return {
|
||||
'name' => 'alert_dialog',
|
||||
'description' => 'Sends an alert dialog to the victim',
|
||||
'type' => 'textarea',
|
||||
'filter' => '',
|
||||
'default_value' => 'Alert box text',
|
||||
'adminui_width' => '400px',
|
||||
'adminui_height' => '100px'
|
||||
}
|
||||
end
|
||||
|
||||
# set and return all options for this module
|
||||
def self.options
|
||||
@@ -58,4 +71,4 @@ class Alert_dialog < BeEF::Core::Command
|
||||
save content
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user