Land #7149, Add uploads dir to Wordpress mixin

bug/bundler_fix
Brent Cook 2016-07-26 19:39:35 -05:00
commit 952c2f9d1e
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
1 changed files with 7 additions and 0 deletions

View File

@ -115,6 +115,13 @@ module Msf::Exploit::Remote::HTTP::Wordpress::URIs
normalize_uri(wordpress_url_wp_content, 'themes')
end
# Returns the Wordpress uploads dir URL
#
# @return [String] Wordpress uploads dir URL
def wordpress_url_uploads
normalize_uri(wordpress_url_wp_content, 'uploads')
end
# Returns the Wordpress XMLRPC URL
#
# @return [String] Wordpress XMLRPC URL