Files
beef/modules/commands/persistence/popunder_window/popunder_window.rb
wade@bindshell.net 5b31cc8f99 persistence module added
git-svn-id: https://beef.googlecode.com/svn/trunk@531 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2010-11-15 12:50:48 +00:00

37 lines
721 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.',
'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