Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/social_engineering/replace_video_fake_plugin/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
class Replace_video_fake_plugin < BeEF::Core::Command
7
def self.options
8
[
9
{ 'name' => 'url', 'ui_label' => 'Payload URL', 'value' => '', 'width' => '150px' },
10
{ 'name' => 'jquery_selector', 'ui_label' => 'jQuery Selector', 'value' => 'embed', 'width' => '150px' }
11
]
12
end
13
14
def post_execute
15
content = {}
16
content['Result'] = @datastore['result']
17
save content
18
end
19
end
20
21