Files
beef/modules/persistence/jsonp_service_worker/module.rb
Claudio Contin defdadb673 encodeURIComponent instead of requiring user to input already encoded string
use beef.net.hook instead of hook.js
specify only chrome supported, and ALL others not
2017-04-16 15:28:48 +12:00

15 lines
511 B
Ruby

class Jsonp_service_worker < BeEF::Core::Command
def post_execute
save({'result' => @datastore['result']})
end
def self.options
return [
{'name' => 'JSONPPath', 'ui_label' => 'Path of the current domain compromized JSONP endpoint (ex: /jsonp?callback=)', 'value' => '/jsonp?callback='},
{'name' => 'tempBody', 'ui_label' => 'Temporary HTML body to show to the users', 'value' => '<h3>Unplanned site maintenance, please wait a few seconds, we are almost done.</h3>'}
]
end
end