class Activex_command_execution < BeEF::Core::Command
def self.options
[
{ 'name' => 'cmd', 'ui_label' => 'Command', 'type' => 'textarea', 'value' => 'cmd.exe /c "echo Hello from BeEF! & pause"', 'width' => '400px', 'height' => '50px' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end