21 lines
565 B
Ruby
21 lines
565 B
Ruby
#
|
|
# Copyright (c) 2006-2024 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
|
|
[
|
|
{ 'name' => 'command_str', 'ui_label' => 'Windows Command', 'value' => 'ping localhost' }
|
|
]
|
|
end
|
|
|
|
def post_execute
|
|
content = {}
|
|
content['result'] = @datastore['result']
|
|
save content
|
|
end
|
|
end
|