548 lines
46 KiB
HTML
548 lines
46 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<meta charset="utf-8">
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
|
<title>
|
||
|
|
Module: Msf::Exploit::Remote::HTTP::Wordpress
|
||
|
|
|
||
|
|
— Documentation by YARD 0.9.37
|
||
|
|
|
||
|
|
</title>
|
||
|
|
|
||
|
|
<link rel="stylesheet" href="../../../../css/style.css" type="text/css" />
|
||
|
|
|
||
|
|
<link rel="stylesheet" href="../../../../css/common.css" type="text/css" />
|
||
|
|
|
||
|
|
<script type="text/javascript">
|
||
|
|
pathId = "Msf::Exploit::Remote::HTTP::Wordpress";
|
||
|
|
relpath = '../../../../';
|
||
|
|
</script>
|
||
|
|
|
||
|
|
|
||
|
|
<script type="text/javascript" charset="utf-8" src="../../../../js/jquery.js"></script>
|
||
|
|
|
||
|
|
<script type="text/javascript" charset="utf-8" src="../../../../js/app.js"></script>
|
||
|
|
|
||
|
|
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div class="nav_wrap">
|
||
|
|
<iframe id="nav" src="../../../../class_list.html?1"></iframe>
|
||
|
|
<div id="resizer"></div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div id="main" tabindex="-1">
|
||
|
|
<div id="header">
|
||
|
|
<div id="menu">
|
||
|
|
|
||
|
|
<a href="../../../../_index.html">Index (W)</a> »
|
||
|
|
<span class='title'><span class='object_link'><a href="../../../../Msf.html" title="Msf (module)">Msf</a></span></span> » <span class='title'><span class='object_link'><a href="../../../Exploit.html" title="Msf::Exploit (class)">Exploit</a></span></span> » <span class='title'><span class='object_link'><a href="../../Remote.html" title="Msf::Exploit::Remote (class)">Remote</a></span></span> » <span class='title'><span class='object_link'><a href="../HTTP.html" title="Msf::Exploit::Remote::HTTP (module)">HTTP</a></span></span>
|
||
|
|
»
|
||
|
|
<span class="title">Wordpress</span>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div id="search">
|
||
|
|
|
||
|
|
<a class="full_list_link" id="class_list_link"
|
||
|
|
href="../../../../class_list.html">
|
||
|
|
|
||
|
|
<svg width="24" height="24">
|
||
|
|
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
||
|
|
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
||
|
|
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
||
|
|
</svg>
|
||
|
|
</a>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
<div class="clear"></div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div id="content"><h1>Module: Msf::Exploit::Remote::HTTP::Wordpress
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</h1>
|
||
|
|
<div class="box_info">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<dl>
|
||
|
|
<dt>Includes:</dt>
|
||
|
|
<dd><span class='object_link'><a href="Wordpress/Admin.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Admin (module)">Admin</a></span>, <span class='object_link'><a href="Wordpress/Base.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Base (module)">Base</a></span>, <span class='object_link'><a href="Wordpress/Helpers.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Helpers (module)">Helpers</a></span>, <span class='object_link'><a href="Wordpress/Login.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Login (module)">Login</a></span>, <span class='object_link'><a href="Wordpress/Posts.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Posts (module)">Posts</a></span>, <span class='object_link'><a href="Wordpress/Register.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Register (module)">Register</a></span>, <span class='object_link'><a href="Wordpress/URIs.html" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs (module)">URIs</a></span>, <span class='object_link'><a href="Wordpress/Users.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Users (module)">Users</a></span>, <span class='object_link'><a href="Wordpress/Version.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Version (module)">Version</a></span>, <span class='object_link'><a href="Wordpress/XmlRpc.html" title="Msf::Exploit::Remote::HTTP::Wordpress::XmlRpc (module)">XmlRpc</a></span>, <span class='object_link'><a href="../HttpClient.html" title="Msf::Exploit::Remote::HttpClient (module)">Msf::Exploit::Remote::HttpClient</a></span></dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<dl>
|
||
|
|
<dt>Defined in:</dt>
|
||
|
|
<dd>lib/msf/core/exploit/remote/http/wordpress.rb</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<h2>Overview</h2><div class="docstring">
|
||
|
|
<div class="discussion">
|
||
|
|
|
||
|
|
<p>This module provides a way of interacting with wordpress installations</p>
|
||
|
|
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="tags">
|
||
|
|
|
||
|
|
|
||
|
|
</div><h2>Defined Under Namespace</h2>
|
||
|
|
<p class="children">
|
||
|
|
|
||
|
|
|
||
|
|
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Wordpress/Admin.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Admin (module)">Admin</a></span>, <span class='object_link'><a href="Wordpress/Base.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Base (module)">Base</a></span>, <span class='object_link'><a href="Wordpress/Helpers.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Helpers (module)">Helpers</a></span>, <span class='object_link'><a href="Wordpress/Login.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Login (module)">Login</a></span>, <span class='object_link'><a href="Wordpress/Posts.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Posts (module)">Posts</a></span>, <span class='object_link'><a href="Wordpress/Register.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Register (module)">Register</a></span>, <span class='object_link'><a href="Wordpress/SQLi.html" title="Msf::Exploit::Remote::HTTP::Wordpress::SQLi (module)">SQLi</a></span>, <span class='object_link'><a href="Wordpress/URIs.html" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs (module)">URIs</a></span>, <span class='object_link'><a href="Wordpress/Users.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Users (module)">Users</a></span>, <span class='object_link'><a href="Wordpress/Version.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Version (module)">Version</a></span>, <span class='object_link'><a href="Wordpress/XmlRpc.html" title="Msf::Exploit::Remote::HTTP::Wordpress::XmlRpc (module)">XmlRpc</a></span>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</p>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h2>Constant Summary</h2>
|
||
|
|
|
||
|
|
<h3 class="inherited">Constants included
|
||
|
|
from <span class='object_link'><a href="Wordpress/Version.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Version (module)">Version</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="Wordpress/Version.html#WORDPRESS_VERSION_PATTERN-constant" title="Msf::Exploit::Remote::HTTP::Wordpress::Version::WORDPRESS_VERSION_PATTERN (constant)">Version::WORDPRESS_VERSION_PATTERN</a></span></p>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h2>Instance Attribute Summary</h2>
|
||
|
|
|
||
|
|
<h3 class="inherited">Attributes included from <span class='object_link'><a href="../HttpClient.html" title="Msf::Exploit::Remote::HttpClient (module)">Msf::Exploit::Remote::HttpClient</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="../HttpClient.html#client-instance_method" title="Msf::Exploit::Remote::HttpClient#client (method)">#client</a></span>, <span class='object_link'><a href="../HttpClient.html#cookie_jar-instance_method" title="Msf::Exploit::Remote::HttpClient#cookie_jar (method)">#cookie_jar</a></span></p>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h2>
|
||
|
|
Instance Method Summary
|
||
|
|
<small><a href="#" class="summary_toggle">collapse</a></small>
|
||
|
|
</h2>
|
||
|
|
|
||
|
|
<ul class="summary">
|
||
|
|
|
||
|
|
<li class="public ">
|
||
|
|
<span class="summary_signature">
|
||
|
|
|
||
|
|
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(info = {}) ⇒ Object </a>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</span>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<span class="summary_desc"><div class='inline'></div></span>
|
||
|
|
|
||
|
|
</li>
|
||
|
|
|
||
|
|
|
||
|
|
<li class="public ">
|
||
|
|
<span class="summary_signature">
|
||
|
|
|
||
|
|
<a href="#report_wordpress_service-instance_method" title="#report_wordpress_service (instance method)">#<strong>report_wordpress_service</strong> ⇒ Object </a>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</span>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<span class="summary_desc"><div class='inline'></div></span>
|
||
|
|
|
||
|
|
</li>
|
||
|
|
|
||
|
|
|
||
|
|
<li class="public ">
|
||
|
|
<span class="summary_signature">
|
||
|
|
|
||
|
|
<a href="#wp_content_dir-instance_method" title="#wp_content_dir (instance method)">#<strong>wp_content_dir</strong> ⇒ Object </a>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</span>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<span class="summary_desc"><div class='inline'></div></span>
|
||
|
|
|
||
|
|
</li>
|
||
|
|
|
||
|
|
|
||
|
|
</ul>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="Wordpress/XmlRpc.html" title="Msf::Exploit::Remote::HTTP::Wordpress::XmlRpc (module)">XmlRpc</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="Wordpress/XmlRpc.html#wordpress_generate_xml_rpc_body-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::XmlRpc#wordpress_generate_xml_rpc_body (method)">#wordpress_generate_xml_rpc_body</a></span>, <span class='object_link'><a href="Wordpress/XmlRpc.html#wordpress_xmlrpc_enabled%3F-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::XmlRpc#wordpress_xmlrpc_enabled? (method)">#wordpress_xmlrpc_enabled?</a></span></p>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="Wordpress/Version.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Version (module)">Version</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="Wordpress/Version.html#check_plugin_version_from_readme-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Version#check_plugin_version_from_readme (method)">#check_plugin_version_from_readme</a></span>, <span class='object_link'><a href="Wordpress/Version.html#check_theme_version_from_readme-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Version#check_theme_version_from_readme (method)">#check_theme_version_from_readme</a></span>, <span class='object_link'><a href="Wordpress/Version.html#check_theme_version_from_style-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Version#check_theme_version_from_style (method)">#check_theme_version_from_style</a></span>, <span class='object_link'><a href="Wordpress/Version.html#check_version_from_custom_file-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Version#check_version_from_custom_file (method)">#check_version_from_custom_file</a></span>, <span class='object_link'><a href="Wordpress/Version.html#wordpress_version-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Version#wordpress_version (method)">#wordpress_version</a></span></p>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="Wordpress/Users.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Users (module)">Users</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="Wordpress/Users.html#reset_user_password-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Users#reset_user_password (method)">#reset_user_password</a></span>, <span class='object_link'><a href="Wordpress/Users.html#wordpress_user_exists%3F-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Users#wordpress_user_exists? (method)">#wordpress_user_exists?</a></span>, <span class='object_link'><a href="Wordpress/Users.html#wordpress_userid_exists%3F-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Users#wordpress_userid_exists? (method)">#wordpress_userid_exists?</a></span></p>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="Wordpress/URIs.html" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs (module)">URIs</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_admin_ajax-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_admin_ajax (method)">#wordpress_url_admin_ajax</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_admin_plugin_editor-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_admin_plugin_editor (method)">#wordpress_url_admin_plugin_editor</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_admin_post-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_admin_post (method)">#wordpress_url_admin_post</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_admin_update-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_admin_update (method)">#wordpress_url_admin_update</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_atom-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_atom (method)">#wordpress_url_atom</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_author-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_author (method)">#wordpress_url_author</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_backend-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_backend (method)">#wordpress_url_backend</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_login-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_login (method)">#wordpress_url_login</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_opml-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_opml (method)">#wordpress_url_opml</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_plugins-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_plugins (method)">#wordpress_url_plugins</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_post-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_post (method)">#wordpress_url_post</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_rdf-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_rdf (method)">#wordpress_url_rdf</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_readme-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_readme (method)">#wordpress_url_readme</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_rest_api-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_rest_api (method)">#wordpress_url_rest_api</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_rss-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_rss (method)">#wordpress_url_rss</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_sitemap-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_sitemap (method)">#wordpress_url_sitemap</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_themes-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_themes (method)">#wordpress_url_themes</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_uploads-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_uploads (method)">#wordpress_url_uploads</a></span>, <span class='object_link'><a href="Wordpress/URIs.html#wordpress_url_wp_content-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::URIs#wordpress_url_wp_content (method)">#wordpress_url_wp_content</a></span>, <span class='object_link'><a
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="Wordpress/Posts.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Posts (module)">Posts</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="Wordpress/Posts.html#get_post_id_from_body-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Posts#get_post_id_from_body (method)">#get_post_id_from_body</a></span>, <span class='object_link'><a href="Wordpress/Posts.html#wordpress_bruteforce_valid_post_id-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Posts#wordpress_bruteforce_valid_post_id (method)">#wordpress_bruteforce_valid_post_id</a></span>, <span class='object_link'><a href="Wordpress/Posts.html#wordpress_bruteforce_valid_post_id_with_comments_enabled-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Posts#wordpress_bruteforce_valid_post_id_with_comments_enabled (method)">#wordpress_bruteforce_valid_post_id_with_comments_enabled</a></span>, <span class='object_link'><a href="Wordpress/Posts.html#wordpress_get_all_blog_posts_via_feed-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Posts#wordpress_get_all_blog_posts_via_feed (method)">#wordpress_get_all_blog_posts_via_feed</a></span>, <span class='object_link'><a href="Wordpress/Posts.html#wordpress_get_unauth_comment_cookies-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Posts#wordpress_get_unauth_comment_cookies (method)">#wordpress_get_unauth_comment_cookies</a></span>, <span class='object_link'><a href="Wordpress/Posts.html#wordpress_post_comment_auth-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Posts#wordpress_post_comment_auth (method)">#wordpress_post_comment_auth</a></span>, <span class='object_link'><a href="Wordpress/Posts.html#wordpress_post_comment_no_auth-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Posts#wordpress_post_comment_no_auth (method)">#wordpress_post_comment_no_auth</a></span>, <span class='object_link'><a href="Wordpress/Posts.html#wordpress_post_comments_enabled%3F-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Posts#wordpress_post_comments_enabled? (method)">#wordpress_post_comments_enabled?</a></span>, <span class='object_link'><a href="Wordpress/Posts.html#wordpress_post_id_comments_enabled%3F-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Posts#wordpress_post_id_comments_enabled? (method)">#wordpress_post_id_comments_enabled?</a></span></p>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="Wordpress/Register.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Register (module)">Register</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="Wordpress/Register.html#wordpress_register-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Register#wordpress_register (method)">#wordpress_register</a></span></p>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="Wordpress/Login.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Login (module)">Login</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="Wordpress/Login.html#wordpress_login-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Login#wordpress_login (method)">#wordpress_login</a></span></p>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="Wordpress/Base.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Base (module)">Base</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="Wordpress/Base.html#wordpress_and_online%3F-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Base#wordpress_and_online? (method)">#wordpress_and_online?</a></span></p>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="Wordpress/Admin.html" title="Msf::Exploit::Remote::HTTP::Wordpress::Admin (module)">Admin</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="Wordpress/Admin.html#generate_plugin-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Admin#generate_plugin (method)">#generate_plugin</a></span>, <span class='object_link'><a href="Wordpress/Admin.html#wordpress_edit_plugin-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Admin#wordpress_edit_plugin (method)">#wordpress_edit_plugin</a></span>, <span class='object_link'><a href="Wordpress/Admin.html#wordpress_upload_plugin-instance_method" title="Msf::Exploit::Remote::HTTP::Wordpress::Admin#wordpress_upload_plugin (method)">#wordpress_upload_plugin</a></span></p>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="../HttpClient.html" title="Msf::Exploit::Remote::HttpClient (module)">Msf::Exploit::Remote::HttpClient</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="../HttpClient.html#basic_auth-instance_method" title="Msf::Exploit::Remote::HttpClient#basic_auth (method)">#basic_auth</a></span>, <span class='object_link'><a href="../HttpClient.html#cleanup-instance_method" title="Msf::Exploit::Remote::HttpClient#cleanup (method)">#cleanup</a></span>, <span class='object_link'><a href="../HttpClient.html#configure_http_login_scanner-instance_method" title="Msf::Exploit::Remote::HttpClient#configure_http_login_scanner (method)">#configure_http_login_scanner</a></span>, <span class='object_link'><a href="../HttpClient.html#connect-instance_method" title="Msf::Exploit::Remote::HttpClient#connect (method)">#connect</a></span>, <span class='object_link'><a href="../HttpClient.html#connect_ws-instance_method" title="Msf::Exploit::Remote::HttpClient#connect_ws (method)">#connect_ws</a></span>, <span class='object_link'><a href="../HttpClient.html#deregister_http_client_options-instance_method" title="Msf::Exploit::Remote::HttpClient#deregister_http_client_options (method)">#deregister_http_client_options</a></span>, <span class='object_link'><a href="../HttpClient.html#disconnect-instance_method" title="Msf::Exploit::Remote::HttpClient#disconnect (method)">#disconnect</a></span>, <span class='object_link'><a href="../HttpClient.html#download-instance_method" title="Msf::Exploit::Remote::HttpClient#download (method)">#download</a></span>, <span class='object_link'><a href="../HttpClient.html#full_uri-instance_method" title="Msf::Exploit::Remote::HttpClient#full_uri (method)">#full_uri</a></span>, <span class='object_link'><a href="../HttpClient.html#handler-instance_method" title="Msf::Exploit::Remote::HttpClient#handler (method)">#handler</a></span>, <span class='object_link'><a href="../HttpClient.html#http_fingerprint-instance_method" title="Msf::Exploit::Remote::HttpClient#http_fingerprint (method)">#http_fingerprint</a></span>, <span class='object_link'><a href="../HttpClient.html#lookup_http_fingerprints-instance_method" title="Msf::Exploit::Remote::HttpClient#lookup_http_fingerprints (method)">#lookup_http_fingerprints</a></span>, <span class='object_link'><a href="../HttpClient.html#normalize_uri-instance_method" title="Msf::Exploit::Remote::HttpClient#normalize_uri (method)">#normalize_uri</a></span>, <span class='object_link'><a href="../HttpClient.html#path_from_uri-instance_method" title="Msf::Exploit::Remote::HttpClient#path_from_uri (method)">#path_from_uri</a></span>, <span class='object_link'><a href="../HttpClient.html#peer-instance_method" title="Msf::Exploit::Remote::HttpClient#peer (method)">#peer</a></span>, <span class='object_link'><a href="../HttpClient.html#proxies-instance_method" title="Msf::Exploit::Remote::HttpClient#proxies (method)">#proxies</a></span>, <span class='object_link'><a href="../HttpClient.html#reconfig_redirect_opts!-instance_method" title="Msf::Exploit::Remote::HttpClient#reconfig_redirect_opts! (method)">#reconfig_redirect_opts!</a></span>, <span class='object_link'><a href="../HttpClient.html#request_opts_from_url-instance_method" title="Msf::Exploit::Remote::HttpClient#request_opts_from_url (method)">#request_opts_from_url</a></span>, <span class='object_link'><a href="../HttpClient.html#request_url-instance_method" title="Msf::Exploit::Remote::HttpClient#request_url (method)">#request_url</a></span>, <span class='object_link'><a href="../HttpClient.html#rhost-instance_method" title="Msf::Exploit::Remote::HttpClient#rhost (method)">#rhost</a></span>, <span class='object_link'><a href="../HttpClient.html#rport-instance_method" title="Msf::Exploit::Remote::HttpClient#rport (method)">#rport</a></span>, <span class='object_link'><a href="../HttpClient.html#send_request_cgi-instance_method" title="Msf::Exploit::Remote::HttpClient#send_request_cgi (method)">#send_request_cgi</a></span>, <span class='object_link'><a href="../HttpClient.html#send_request_cgi!-instance_method" title="Msf::Exploit::Remote::HttpClient#send_request_cgi! (method)">#send_request_cgi!</a></span>, <span class='object_l
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="../Kerberos/ServiceAuthenticator/Options.html" title="Msf::Exploit::Remote::Kerberos::ServiceAuthenticator::Options (module)">Kerberos::ServiceAuthenticator::Options</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="../Kerberos/ServiceAuthenticator/Options.html#kerberos_auth_options-instance_method" title="Msf::Exploit::Remote::Kerberos::ServiceAuthenticator::Options#kerberos_auth_options (method)">#kerberos_auth_options</a></span>, <span class='object_link'><a href="../Kerberos/ServiceAuthenticator/Options.html#kerberos_clock_skew_seconds-instance_method" title="Msf::Exploit::Remote::Kerberos::ServiceAuthenticator::Options#kerberos_clock_skew_seconds (method)">#kerberos_clock_skew_seconds</a></span></p>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="../Kerberos/Ticket/Storage.html" title="Msf::Exploit::Remote::Kerberos::Ticket::Storage (module)">Kerberos::Ticket::Storage</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="../Kerberos/Ticket/Storage.html#kerberos_storage_options-instance_method" title="Msf::Exploit::Remote::Kerberos::Ticket::Storage#kerberos_storage_options (method)">#kerberos_storage_options</a></span>, <span class='object_link'><a href="../Kerberos/Ticket/Storage.html#kerberos_ticket_storage-instance_method" title="Msf::Exploit::Remote::Kerberos::Ticket::Storage#kerberos_ticket_storage (method)">#kerberos_ticket_storage</a></span>, <span class='object_link'><a href="../Kerberos/Ticket/Storage.html#store_ccache-class_method" title="Msf::Exploit::Remote::Kerberos::Ticket::Storage.store_ccache (method)">store_ccache</a></span></p>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="../../../Auxiliary/LoginScanner.html" title="Msf::Auxiliary::LoginScanner (module)">Auxiliary::LoginScanner</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="../../../Auxiliary/LoginScanner.html#configure_login_scanner-instance_method" title="Msf::Auxiliary::LoginScanner#configure_login_scanner (method)">#configure_login_scanner</a></span></p>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="../../../Auxiliary/Report.html" title="Msf::Auxiliary::Report (module)">Auxiliary::Report</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="../../../Auxiliary/Report.html#active_db%3F-instance_method" title="Msf::Auxiliary::Report#active_db? (method)">#active_db?</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#create_cracked_credential-instance_method" title="Msf::Auxiliary::Report#create_cracked_credential (method)">#create_cracked_credential</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#create_credential-instance_method" title="Msf::Auxiliary::Report#create_credential (method)">#create_credential</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#create_credential_and_login-instance_method" title="Msf::Auxiliary::Report#create_credential_and_login (method)">#create_credential_and_login</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#create_credential_login-instance_method" title="Msf::Auxiliary::Report#create_credential_login (method)">#create_credential_login</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#db-instance_method" title="Msf::Auxiliary::Report#db (method)">#db</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#db_warning_given%3F-instance_method" title="Msf::Auxiliary::Report#db_warning_given? (method)">#db_warning_given?</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#get_client-instance_method" title="Msf::Auxiliary::Report#get_client (method)">#get_client</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#get_host-instance_method" title="Msf::Auxiliary::Report#get_host (method)">#get_host</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#inside_workspace_boundary%3F-instance_method" title="Msf::Auxiliary::Report#inside_workspace_boundary? (method)">#inside_workspace_boundary?</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#invalidate_login-instance_method" title="Msf::Auxiliary::Report#invalidate_login (method)">#invalidate_login</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#mytask-instance_method" title="Msf::Auxiliary::Report#mytask (method)">#mytask</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#myworkspace-instance_method" title="Msf::Auxiliary::Report#myworkspace (method)">#myworkspace</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#myworkspace_id-instance_method" title="Msf::Auxiliary::Report#myworkspace_id (method)">#myworkspace_id</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#report_auth_info-instance_method" title="Msf::Auxiliary::Report#report_auth_info (method)">#report_auth_info</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#report_client-instance_method" title="Msf::Auxiliary::Report#report_client (method)">#report_client</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#report_exploit-instance_method" title="Msf::Auxiliary::Report#report_exploit (method)">#report_exploit</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#report_host-instance_method" title="Msf::Auxiliary::Report#report_host (method)">#report_host</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#report_loot-instance_method" title="Msf::Auxiliary::Report#report_loot (method)">#report_loot</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#report_note-instance_method" title="Msf::Auxiliary::Report#report_note (method)">#report_note</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#report_service-instance_method" title="Msf::Auxiliary::Report#report_service (method)">#report_service</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#report_vuln-instance_method" title="Msf::Auxiliary::Report#report_vuln (method)">#report_vuln</a></span>, <span class='object_link'><a href="../../../Auxiliary/Report.html#rep
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="../../../../Metasploit/Framework/Require.html" title="Metasploit::Framework::Require (module)">Metasploit::Framework::Require</a></span></h3>
|
||
|
|
<p class="inherited"><span class='object_link'><a href="../../../../Metasploit/Framework/Require.html#optionally-class_method" title="Metasploit::Framework::Require.optionally (method)">optionally</a></span>, <span class='object_link'><a href="../../../../Metasploit/Framework/Require.html#optionally_active_record_railtie-class_method" title="Metasploit::Framework::Require.optionally_active_record_railtie (method)">optionally_active_record_railtie</a></span>, <span class='object_link'><a href="../../../../Metasploit/Framework/Require.html#optionally_include_metasploit_credential_creation-class_method" title="Metasploit::Framework::Require.optionally_include_metasploit_credential_creation (method)">optionally_include_metasploit_credential_creation</a></span>, <span class='object_link'><a href="../../../../Metasploit/Framework/Require.html#optionally_include_metasploit_credential_creation-instance_method" title="Metasploit::Framework::Require#optionally_include_metasploit_credential_creation (method)">#optionally_include_metasploit_credential_creation</a></span>, <span class='object_link'><a href="../../../../Metasploit/Framework/Require.html#optionally_require_metasploit_db_gem_engines-class_method" title="Metasploit::Framework::Require.optionally_require_metasploit_db_gem_engines (method)">optionally_require_metasploit_db_gem_engines</a></span></p>
|
||
|
|
|
||
|
|
|
||
|
|
<div id="instance_method_details" class="method_details_list">
|
||
|
|
<h2>Instance Method Details</h2>
|
||
|
|
|
||
|
|
|
||
|
|
<div class="method_details first">
|
||
|
|
<h3 class="signature first" id="initialize-instance_method">
|
||
|
|
|
||
|
|
#<strong>initialize</strong>(info = {}) ⇒ <tt>Object</tt>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</h3><table class="source_code">
|
||
|
|
<tr>
|
||
|
|
<td>
|
||
|
|
<pre class="lines">
|
||
|
|
|
||
|
|
|
||
|
|
21
|
||
|
|
22
|
||
|
|
23
|
||
|
|
24
|
||
|
|
25
|
||
|
|
26
|
||
|
|
27
|
||
|
|
28
|
||
|
|
29
|
||
|
|
30
|
||
|
|
31
|
||
|
|
32
|
||
|
|
33
|
||
|
|
34
|
||
|
|
35
|
||
|
|
36</pre>
|
||
|
|
</td>
|
||
|
|
<td>
|
||
|
|
<pre class="code"><span class="info file"># File 'lib/msf/core/exploit/remote/http/wordpress.rb', line 21</span>
|
||
|
|
|
||
|
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_info'>info</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
||
|
|
<span class='kw'>super</span>
|
||
|
|
|
||
|
|
<span class='id identifier rubyid_register_options'>register_options</span><span class='lparen'>(</span>
|
||
|
|
<span class='lbracket'>[</span>
|
||
|
|
<span class='const'><span class='object_link'><a href="../../../../Msf.html" title="Msf (module)">Msf</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../../OptString.html" title="Msf::OptString (class)">OptString</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../../../OptString.html#initialize-instance_method" title="Msf::OptString#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>TARGETURI</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='kw'>true</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>The base path to the wordpress application</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
||
|
|
<span class='rbracket'>]</span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="../../../../Msf.html" title="Msf (module)">Msf</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../../Exploit.html" title="Msf::Exploit (class)">Exploit</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Remote.html" title="Msf::Exploit::Remote (class)">Remote</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../HTTP.html" title="Msf::Exploit::Remote::HTTP (module)">HTTP</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="" title="Msf::Exploit::Remote::HTTP::Wordpress (module)">Wordpress</a></span></span>
|
||
|
|
<span class='rparen'>)</span>
|
||
|
|
|
||
|
|
<span class='id identifier rubyid_register_advanced_options'>register_advanced_options</span><span class='lparen'>(</span>
|
||
|
|
<span class='lbracket'>[</span>
|
||
|
|
<span class='const'><span class='object_link'><a href="../../../../Msf.html" title="Msf (module)">Msf</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../../OptString.html" title="Msf::OptString (class)">OptString</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../../../OptString.html#initialize-instance_method" title="Msf::OptString#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>WPCONTENTDIR</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='kw'>true</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>The name of the wp-content directory</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>wp-content</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='comma'>,</span>
|
||
|
|
<span class='const'><span class='object_link'><a href="../../../../Msf.html" title="Msf (module)">Msf</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../../OptBool.html" title="Msf::OptBool (class)">OptBool</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../../../OptBool.html#initialize-instance_method" title="Msf::OptBool#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>WPCHECK</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='kw'>true</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Check if the website is a valid WordPress install</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='kw'>true</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='comma'>,</span>
|
||
|
|
<span class='rbracket'>]</span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="../../../../Msf.html" title="Msf (module)">Msf</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../../Exploit.html" title="Msf::Exploit (class)">Exploit</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Remote.html" title="Msf::Exploit::Remote (class)">Remote</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../HTTP.html" title="Msf::Exploit::Remote::HTTP (module)">HTTP</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="" title="Msf::Exploit::Remote::HTTP::Wordpress (module)">Wordpress</a></span></span>
|
||
|
|
<span class='rparen'>)</span>
|
||
|
|
<span class='kw'>end</span></pre>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="method_details ">
|
||
|
|
<h3 class="signature " id="report_wordpress_service-instance_method">
|
||
|
|
|
||
|
|
#<strong>report_wordpress_service</strong> ⇒ <tt>Object</tt>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</h3><table class="source_code">
|
||
|
|
<tr>
|
||
|
|
<td>
|
||
|
|
<pre class="lines">
|
||
|
|
|
||
|
|
|
||
|
|
42
|
||
|
|
43
|
||
|
|
44
|
||
|
|
45
|
||
|
|
46
|
||
|
|
47
|
||
|
|
48
|
||
|
|
49
|
||
|
|
50
|
||
|
|
51
|
||
|
|
52
|
||
|
|
53
|
||
|
|
54
|
||
|
|
55
|
||
|
|
56
|
||
|
|
57
|
||
|
|
58
|
||
|
|
59
|
||
|
|
60
|
||
|
|
61
|
||
|
|
62</pre>
|
||
|
|
</td>
|
||
|
|
<td>
|
||
|
|
<pre class="code"><span class="info file"># File 'lib/msf/core/exploit/remote/http/wordpress.rb', line 42</span>
|
||
|
|
|
||
|
|
<span class='kw'>def</span> <span class='id identifier rubyid_report_wordpress_service'>report_wordpress_service</span>
|
||
|
|
<span class='id identifier rubyid_report_service'>report_service</span><span class='lparen'>(</span>
|
||
|
|
<span class='label'>host:</span> <span class='id identifier rubyid_rhost'>rhost</span><span class='comma'>,</span>
|
||
|
|
<span class='label'>port:</span> <span class='id identifier rubyid_rport'>rport</span><span class='comma'>,</span>
|
||
|
|
<span class='label'>proto:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>tcp</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
||
|
|
<span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>WordPress</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
||
|
|
<span class='label'>parents:</span> <span class='lbrace'>{</span>
|
||
|
|
<span class='label'>name:</span> <span class='id identifier rubyid_ssl'>ssl</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>https</span><span class='tstring_end'>'</span></span> <span class='op'>:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>http</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
||
|
|
<span class='label'>host:</span> <span class='id identifier rubyid_rhost'>rhost</span><span class='comma'>,</span>
|
||
|
|
<span class='label'>port:</span> <span class='id identifier rubyid_rport'>rport</span><span class='comma'>,</span>
|
||
|
|
<span class='label'>proto:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>tcp</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
||
|
|
<span class='label'>parents:</span> <span class='lbrace'>{</span>
|
||
|
|
<span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>tcp</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
||
|
|
<span class='label'>host:</span> <span class='id identifier rubyid_rhost'>rhost</span><span class='comma'>,</span>
|
||
|
|
<span class='label'>port:</span> <span class='id identifier rubyid_rport'>rport</span><span class='comma'>,</span>
|
||
|
|
<span class='label'>proto:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>tcp</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
||
|
|
<span class='label'>parents:</span> <span class='kw'>nil</span>
|
||
|
|
<span class='rbrace'>}</span>
|
||
|
|
<span class='rbrace'>}</span>
|
||
|
|
<span class='rparen'>)</span>
|
||
|
|
<span class='kw'>end</span></pre>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="method_details ">
|
||
|
|
<h3 class="signature " id="wp_content_dir-instance_method">
|
||
|
|
|
||
|
|
#<strong>wp_content_dir</strong> ⇒ <tt>Object</tt>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</h3><table class="source_code">
|
||
|
|
<tr>
|
||
|
|
<td>
|
||
|
|
<pre class="lines">
|
||
|
|
|
||
|
|
|
||
|
|
38
|
||
|
|
39
|
||
|
|
40</pre>
|
||
|
|
</td>
|
||
|
|
<td>
|
||
|
|
<pre class="code"><span class="info file"># File 'lib/msf/core/exploit/remote/http/wordpress.rb', line 38</span>
|
||
|
|
|
||
|
|
<span class='kw'>def</span> <span class='id identifier rubyid_wp_content_dir'>wp_content_dir</span>
|
||
|
|
<span class='id identifier rubyid_datastore'>datastore</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>WPCONTENTDIR</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
||
|
|
<span class='kw'>end</span></pre>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div id="footer">
|
||
|
|
Generated on Fri May 8 17:02:12 2026 by
|
||
|
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||
|
|
0.9.37 (ruby-3.1.5).
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</body>
|
||
|
|
</html>
|