21 lines
576 B
Ruby
21 lines
576 B
Ruby
#
|
|
# Copyright (c) 2006-2013 Wade Alcorn - wade@bindshell.net
|
|
# Browser Exploitation Framework (BeEF) - http://beefproject.com
|
|
# See the file 'doc/COPYING' for copying permission
|
|
#
|
|
# This module has not been tested
|
|
class Opencart_reset_password < BeEF::Core::Command
|
|
|
|
def self.options
|
|
return [
|
|
{ 'name' => 'base', 'ui_label' => 'Opencart path', 'value' => 'http://example.com/index.php?route=account/password'},
|
|
{ 'name' => 'password', 'ui_label' => 'Password', 'value' => 'beefbeef'}
|
|
]
|
|
end
|
|
|
|
def post_execute
|
|
save({'result' => @datastore['result']})
|
|
end
|
|
|
|
end
|