Files
beef/modules/exploits/local_host/mozilla_nsiprocess_interface/module.rb
2017-08-11 05:44:32 +00:00

23 lines
555 B
Ruby

#
# Copyright (c) 2006-2017 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
# This module is a port of the same module from BeEF-0.4.0.0
# It has not been tested
class Mozilla_nsiprocess_interface < BeEF::Core::Command
def self.options
return [
{'name' => 'command_str', 'ui_label' => 'Windows Command', 'value' => 'ping localhost'}
]
end
def post_execute
content = {}
content['result'] = @datastore['result']
save content
end
end