19 lines
535 B
Ruby
19 lines
535 B
Ruby
#
|
|
# Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net
|
|
# Browser Exploitation Framework (BeEF) - http://beefproject.com
|
|
# See the file 'doc/COPYING' for copying permission
|
|
#
|
|
class Wordpress_post_auth_rce < BeEF::Core::Command
|
|
def self.options
|
|
[
|
|
{ 'name' => 'wordpress_url', 'ui_label' => 'Target Web Server', 'value' => 'http://vulnerable-wordpress.site/wordpress', 'width' => '400px' }
|
|
]
|
|
end
|
|
|
|
def post_execute
|
|
return if @datastore['result'].nil?
|
|
|
|
save({ 'result' => @datastore['result'] })
|
|
end
|
|
end
|