19 lines
586 B
Ruby
19 lines
586 B
Ruby
#
|
|
# Copyright (c) 2006-2026 Wade Alcorn - wade@bindshell.net
|
|
# Browser Exploitation Framework (BeEF) - https://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
|
|
[
|
|
{ '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
|