class Execute_tabs < BeEF::Core::Command
def self.options
[
{ 'name' => 'url', 'ui_label' => 'URL', 'value' => 'https://www.google.com/accounts/EditUserInfo', 'width' => '500px' },
{ 'name' => 'theJS', 'ui_label' => 'Javascript', 'value' => 'prompt(\'BeEF\');', 'type' => 'textarea', 'width' => '400px', 'height' => '300px' }
]
end
def post_execute
content = {}
content['Return'] = @datastore['return']
save content
end
end