git-svn-id: https://beef.googlecode.com/svn/trunk@908 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
31 lines
810 B
Ruby
31 lines
810 B
Ruby
class Popunder_window < BeEF::Core::Command
|
|
|
|
#
|
|
# Defines and set up the commmand module.
|
|
#
|
|
def initialize
|
|
super({
|
|
'Name' => 'Pop Under Window',
|
|
'Description' => 'Creates a new discrete pop under window with the beef hook included.<br><br>This module will add another browser node to the tree. It will be a duplicate. This will be addressed in a future release',
|
|
'Category' => 'Persistence',
|
|
'Author' => 'ethicalhack3r',
|
|
'File' => __FILE__
|
|
})
|
|
|
|
set_target({
|
|
'verified_status' => VERIFIED_USER_NOTIFY,
|
|
'browser_name' => ALL
|
|
})
|
|
|
|
use_template!
|
|
|
|
end
|
|
|
|
# This method is being called when a hooked browser sends some
|
|
# data back to the framework.
|
|
#
|
|
def callback
|
|
save({'result' => @datastore['result']})
|
|
end
|
|
|
|
end |