22 lines
482 B
Ruby
Executable File
22 lines
482 B
Ruby
Executable File
#
|
|
# Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
|
|
# Browser Exploitation Framework (BeEF) - http://beefproject.com
|
|
# See the file 'doc/COPYING' for copying permission
|
|
#
|
|
class Get_all_cookies < BeEF::Core::Command
|
|
|
|
def self.options
|
|
|
|
return [
|
|
{'name' =>'url', 'ui_label'=>'Domain (e.g. http://facebook.com)', 'value' => 'default_all'}
|
|
]
|
|
end
|
|
|
|
def post_execute
|
|
content = {}
|
|
content['Return'] = @datastore['return']
|
|
save content
|
|
end
|
|
|
|
end
|