20 lines
536 B
Ruby
20 lines
536 B
Ruby
#
|
|
# Copyright (c) 2006-2019 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
|
|
return [
|
|
{'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
|