Files
beef/modules/chrome_extensions/send_gvoice_sms/module.rb
bcoles@gmail.com 352f77769e Fixed minor typos
git-svn-id: https://beef.googlecode.com/svn/trunk@1369 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-10-17 00:04:23 +00:00

19 lines
546 B
Ruby
Executable File

class Send_gvoice_sms < BeEF::Core::Command
def self.options
return [
{'name' => 'to', 'ui_label' => 'To', 'value' => '1234567890', 'type' =>'textarea', 'width' => '300px'},
{'name' => 'message', 'ui_label' => 'Message', 'value' => 'Hello from BeEF', 'type' => 'textarea', 'width' => '300px', 'height' => '200px'}
]
end
def post_execute
content = {}
content['To'] = @datastore['to']
content['Message'] = @datastore['message']
content['Status'] = @datastore['status']
save content
end
end