git-svn-id: https://beef.googlecode.com/svn/trunk@590 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
37 lines
850 B
Ruby
37 lines
850 B
Ruby
module BeEF
|
|
module Modules
|
|
module Commands
|
|
|
|
|
|
class Popunder_window < BeEF::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__,
|
|
'Target' => { 'browser_name' => BeEF::Constants::Browsers::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
|
|
|
|
end
|
|
end
|
|
end
|