Files
beef/modules/commands/misc/rickroll/rickroll.rb
yori.kvitchko de1e89a840 initial commit of rickroll module
git-svn-id: https://beef.googlecode.com/svn/trunk@667 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-01-05 00:28:13 +00:00

43 lines
737 B
Ruby

module BeEF
module Modules
module Commands
class Rickroll < BeEF::Command
#
# Defines and set up the command module.
#
def initialize
super({
'Name' => 'Rickroll',
'Description' => 'Overwrite the body of the page the victim is on with a full screen Rickroll.',
'Category' => 'Misc',
'Author' => 'Yori Kvitchko',
'Data' =>
[
],
'File' => __FILE__
})
set_target({
'verified_status' => VERIFIED_USER_NOTIFY,
'browser_name' => ALL
})
use 'beef.dom'
use_template!
end
def callback
content = {}
content['Result'] = @datastore['result']
save content
end
end
end
end
end