Files
beef/modules/browser/hooked_domain/overflow_cookiejar/module.rb
2022-01-22 12:46:42 +00:00

17 lines
484 B
Ruby

#
# Copyright (c) 2006-2022 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Overflow_cookiejar < BeEF::Core::Command
def self.options
[
{ 'name' => 'preserveCookies', 'type' => 'checkbox', 'ui_label' => 'Attempt to preserve all non-httpOnly cookies', 'checked' => 'true' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end