Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/exploits/local_host/mozilla_nsiprocess_interface/module.rb
1154 views
1
#
2
# Copyright (c) 2006-2025 Wade Alcorn - [email protected]
3
# Browser Exploitation Framework (BeEF) - https://beefproject.com
4
# See the file 'doc/COPYING' for copying permission
5
#
6
# This module is a port of the same module from BeEF-0.4.0.0
7
# It has not been tested
8
class Mozilla_nsiprocess_interface < BeEF::Core::Command
9
def self.options
10
[
11
{ 'name' => 'command_str', 'ui_label' => 'Windows Command', 'value' => 'ping localhost' }
12
]
13
end
14
15
def post_execute
16
content = {}
17
content['result'] = @datastore['result']
18
save content
19
end
20
end
21
22