Files
metasploit-gs/api/Rex/Post/MySQL/Ui/Console/CommandDispatcher.html
T
jenkins-metasploit c3f5bd3de2 Reboot gh-pages
2026-05-08 17:08:43 +00:00

269 lines
17 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Module: Rex::Post::MySQL::Ui::Console::CommandDispatcher
&mdash; 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 = "Rex::Post::MySQL::Ui::Console::CommandDispatcher";
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 (C)</a> &raquo;
<span class='title'><span class='object_link'><a href="../../../../../Rex.html" title="Rex (module)">Rex</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../../../Post.html" title="Rex::Post (module)">Post</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../../MySQL.html" title="Rex::Post::MySQL (module)">MySQL</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Ui.html" title="Rex::Post::MySQL::Ui (module)">Ui</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Console.html" title="Rex::Post::MySQL::Ui::Console (class)">Console</a></span></span>
&raquo;
<span class="title">CommandDispatcher</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: Rex::Post::MySQL::Ui::Console::CommandDispatcher
</h1>
<div class="box_info">
<dl>
<dt>Includes:</dt>
<dd><span class='object_link'><a href="../../../Sql/Ui/Console/CommandDispatcher.html" title="Rex::Post::Sql::Ui::Console::CommandDispatcher (module)">Sql::Ui::Console::CommandDispatcher</a></span></dd>
</dl>
<dl>
<dt>Included in:</dt>
<dd><span class='object_link'><a href="CommandDispatcher/Client.html" title="Rex::Post::MySQL::Ui::Console::CommandDispatcher::Client (class)">Client</a></span>, <span class='object_link'><a href="CommandDispatcher/Core.html" title="Rex::Post::MySQL::Ui::Console::CommandDispatcher::Core (class)">Core</a></span></dd>
</dl>
<dl>
<dt>Defined in:</dt>
<dd>lib/rex/post/mysql/ui/console/command_dispatcher.rb</dd>
</dl>
</div>
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>Base class for all command dispatchers within the MySQL console user interface.</p>
</div>
</div>
<div class="tags">
</div><h2>Defined Under Namespace</h2>
<p class="children">
<strong class="classes">Classes:</strong> <span class='object_link'><a href="CommandDispatcher/Client.html" title="Rex::Post::MySQL::Ui::Console::CommandDispatcher::Client (class)">Client</a></span>, <span class='object_link'><a href="CommandDispatcher/Core.html" title="Rex::Post::MySQL::Ui::Console::CommandDispatcher::Core (class)">Core</a></span>
</p>
<h2>Instance Attribute Summary</h2>
<h3 class="inherited">Attributes included from <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher (module)">Ui::Text::DispatcherShell::CommandDispatcher</a></span></h3>
<p class="inherited"><span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#shell-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#shell (method)">#shell</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#tab_complete_items-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#tab_complete_items (method)">#tab_complete_items</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="#docs_dir-instance_method" title="#docs_dir (instance method)">#<strong>docs_dir</strong> &#x21d2; String </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Return the subdir of the documentation/` directory that should be used to find usage documentation.</p>
</div></span>
</li>
</ul>
<h3 class="inherited">Methods included from <span class='object_link'><a href="../../../Sql/Ui/Console/CommandDispatcher.html" title="Rex::Post::Sql::Ui::Console::CommandDispatcher (module)">Sql::Ui::Console::CommandDispatcher</a></span></h3>
<p class="inherited"><span class='object_link'><a href="../../../Sql/Ui/Console/CommandDispatcher.html#client-instance_method" title="Rex::Post::Sql::Ui::Console::CommandDispatcher#client (method)">#client</a></span>, <span class='object_link'><a href="../../../Sql/Ui/Console/CommandDispatcher.html#filter_commands-instance_method" title="Rex::Post::Sql::Ui::Console::CommandDispatcher#filter_commands (method)">#filter_commands</a></span>, <span class='object_link'><a href="../../../Sql/Ui/Console/CommandDispatcher.html#initialize-instance_method" title="Rex::Post::Sql::Ui::Console::CommandDispatcher#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../../../Sql/Ui/Console/CommandDispatcher.html#msf_loaded%3F-instance_method" title="Rex::Post::Sql::Ui::Console::CommandDispatcher#msf_loaded? (method)">#msf_loaded?</a></span>, <span class='object_link'><a href="../../../Sql/Ui/Console/CommandDispatcher.html#session-instance_method" title="Rex::Post::Sql::Ui::Console::CommandDispatcher#session (method)">#session</a></span>, <span class='object_link'><a href="../../../Sql/Ui/Console/CommandDispatcher.html#unknown_command-instance_method" title="Rex::Post::Sql::Ui::Console::CommandDispatcher#unknown_command (method)">#unknown_command</a></span></p>
<h3 class="inherited">Methods included from <span class='object_link'><a href="../../../../../Msf/Ui/Console/CommandDispatcher/Session.html" title="Msf::Ui::Console::CommandDispatcher::Session (module)">Msf::Ui::Console::CommandDispatcher::Session</a></span></h3>
<p class="inherited"><span class='object_link'><a href="../../../../../Msf/Ui/Console/CommandDispatcher/Session.html#cmd_background-instance_method" title="Msf::Ui::Console::CommandDispatcher::Session#cmd_background (method)">#cmd_background</a></span>, <span class='object_link'><a href="../../../../../Msf/Ui/Console/CommandDispatcher/Session.html#cmd_background_help-instance_method" title="Msf::Ui::Console::CommandDispatcher::Session#cmd_background_help (method)">#cmd_background_help</a></span>, <span class='object_link'><a href="../../../../../Msf/Ui/Console/CommandDispatcher/Session.html#cmd_exit-instance_method" title="Msf::Ui::Console::CommandDispatcher::Session#cmd_exit (method)">#cmd_exit</a></span>, <span class='object_link'><a href="../../../../../Msf/Ui/Console/CommandDispatcher/Session.html#cmd_irb-instance_method" title="Msf::Ui::Console::CommandDispatcher::Session#cmd_irb (method)">#cmd_irb</a></span>, <span class='object_link'><a href="../../../../../Msf/Ui/Console/CommandDispatcher/Session.html#cmd_irb_help-instance_method" title="Msf::Ui::Console::CommandDispatcher::Session#cmd_irb_help (method)">#cmd_irb_help</a></span>, <span class='object_link'><a href="../../../../../Msf/Ui/Console/CommandDispatcher/Session.html#cmd_irb_tabs-instance_method" title="Msf::Ui::Console::CommandDispatcher::Session#cmd_irb_tabs (method)">#cmd_irb_tabs</a></span>, <span class='object_link'><a href="../../../../../Msf/Ui/Console/CommandDispatcher/Session.html#cmd_pry-instance_method" title="Msf::Ui::Console::CommandDispatcher::Session#cmd_pry (method)">#cmd_pry</a></span>, <span class='object_link'><a href="../../../../../Msf/Ui/Console/CommandDispatcher/Session.html#cmd_pry_help-instance_method" title="Msf::Ui::Console::CommandDispatcher::Session#cmd_pry_help (method)">#cmd_pry_help</a></span>, <span class='object_link'><a href="../../../../../Msf/Ui/Console/CommandDispatcher/Session.html#cmd_resource-instance_method" title="Msf::Ui::Console::CommandDispatcher::Session#cmd_resource (method)">#cmd_resource</a></span>, <span class='object_link'><a href="../../../../../Msf/Ui/Console/CommandDispatcher/Session.html#cmd_resource_help-instance_method" title="Msf::Ui::Console::CommandDispatcher::Session#cmd_resource_help (method)">#cmd_resource_help</a></span>, <span class='object_link'><a href="../../../../../Msf/Ui/Console/CommandDispatcher/Session.html#cmd_resource_tabs-instance_method" title="Msf::Ui::Console::CommandDispatcher::Session#cmd_resource_tabs (method)">#cmd_resource_tabs</a></span>, <span class='object_link'><a href="../../../../../Msf/Ui/Console/CommandDispatcher/Session.html#cmd_sessions-instance_method" title="Msf::Ui::Console::CommandDispatcher::Session#cmd_sessions (method)">#cmd_sessions</a></span>, <span class='object_link'><a href="../../../../../Msf/Ui/Console/CommandDispatcher/Session.html#cmd_sessions_help-instance_method" title="Msf::Ui::Console::CommandDispatcher::Session#cmd_sessions_help (method)">#cmd_sessions_help</a></span>, <span class='object_link'><a href="../../../../../Msf/Ui/Console/CommandDispatcher/Session.html#commands-instance_method" title="Msf::Ui::Console::CommandDispatcher::Session#commands (method)">#commands</a></span></p>
<h3 class="inherited">Methods included from <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher (module)">Ui::Text::DispatcherShell::CommandDispatcher</a></span></h3>
<p class="inherited"><span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#cmd_help-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#cmd_help (method)">#cmd_help</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#cmd_help_help-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#cmd_help_help (method)">#cmd_help_help</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#cmd_help_tabs-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#cmd_help_tabs (method)">#cmd_help_tabs</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#commands-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#commands (method)">#commands</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#deprecated_cmd-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#deprecated_cmd (method)">#deprecated_cmd</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#deprecated_commands-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#deprecated_commands (method)">#deprecated_commands</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#deprecated_help-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#deprecated_help (method)">#deprecated_help</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#help_to_s-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#help_to_s (method)">#help_to_s</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#included-class_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher.included (method)">included</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#initialize-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#print-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#print (method)">#print</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#print_error-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#print_error (method)">#print_error</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#print_good-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#print_good (method)">#print_good</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#print_line-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#print_line (method)">#print_line</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#print_status-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#print_status (method)">#print_status</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#print_warning-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#print_warning (method)">#print_warning</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#tab_complete_directory-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#tab_complete_directory (method)">#tab_complete_directory</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#tab_complete_filenames-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#tab_complete_filenames (method)">#tab_complete_filenames</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#tab_complete_generic-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#tab_complete_generic (method)">#tab_complete_generic</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#tab_complete_source_address-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#tab_complete_source_address (method)">#tab_complete_source_address</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#unknown_command-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#unknown_command (method)">#unknown_command</a></span>, <span class='object_link'><a href="../../../../Ui/Text/DispatcherShell/CommandDispatcher.html#update_prompt-instance_method" title="Rex::Ui::Text::DispatcherShell::CommandDispatcher#update_prompt (method)">#update_prompt</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="docs_dir-instance_method">
#<strong>docs_dir</strong> &#x21d2; <tt>String</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Return the subdir of the documentation/` directory that should be used to find usage documentation</p>
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt>String</tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
19
20
21</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/rex/post/mysql/ui/console/command_dispatcher.rb', line 19</span>
<span class='kw'>def</span> <span class='id identifier rubyid_docs_dir'>docs_dir</span>
<span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='kw'>super</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>mysql_session</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
</div>
</div>
<div id="footer">
Generated on Fri May 8 17:03: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>