Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/social_engineering/sitekiosk_breakout/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 Sitekiosk_breakout < BeEF::Core::Command
7
def pre_send
8
# gets the value configured in the module configuration by the user
9
@datastore.each do |input|
10
@payload_handler = input['value'] if input['name'] == 'payload_handler'
11
end
12
end
13
14
def self.options
15
[
16
{ 'name' => 'payload_handler', 'ui_label' => 'Payload Handler', 'value' => 'http://10.10.10.10:8080/psh' }
17
]
18
end
19
20
def post_execute
21
save({ 'result' => @datastore['result'] })
22
end
23
end
24
25