Updated documentation

This commit is contained in:
Christian Mehlmauer
2013-04-30 23:06:37 +02:00
parent dca987b64b
commit a38c709d74
371 changed files with 88362 additions and 38796 deletions

View File

@@ -1,372 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: Array</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/hacks_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/hacks.rb">lib/common/hacks.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Object.html">Object</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-_grep_">#_grep_</a></li>
<li><a href="#method-i-grep">#grep</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">Array</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="_grep_-method" class="method-detail ">
<a name="method-i-_grep_"></a>
<div class="method-heading">
<span class="method-name">_grep_</span><span
class="method-args">(regexp)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Fix for grep with symbols in ruby &lt;= 1.8.7</p>
<div class="method-source-code" id="_grep_-source">
<pre>
<span class="ruby-comment"># File lib/common/hacks.rb, line 19</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">_grep_</span>(<span class="ruby-identifier">regexp</span>)
<span class="ruby-identifier">matches</span> = []
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">value</span> = <span class="ruby-identifier">value</span>.<span class="ruby-identifier">to_s</span>
<span class="ruby-identifier">matches</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">value</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">regexp</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">matches</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- _grep_-source -->
</div>
<div class="aliases">
Also aliased as: <a href="Array.html#method-i-grep">grep</a>
</div>
</div><!-- _grep_-method -->
<div id="grep-method" class="method-detail method-alias">
<a name="method-i-grep"></a>
<div class="method-heading">
<span class="method-name">grep</span><span
class="method-args">(regexp)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
</div>
<div class="aliases">
Alias for: <a href="Array.html#method-i-_grep_">_grep_</a>
</div>
</div><!-- grep-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,901 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: Browser</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/browser_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/browser.rb">lib/common/browser.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Object.html">Object</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-instance">::instance</a></li>
<li><a href="#method-c-reset">::reset</a></li>
<li><a href="#method-i-forge_request">#forge_request</a></li>
<li><a href="#method-i-get">#get</a></li>
<li><a href="#method-i-get_and_follow_location">#get_and_follow_location</a></li>
<li><a href="#method-i-invalid_proxy_auth_format">#invalid_proxy_auth_format</a></li>
<li><a href="#method-i-load_config">#load_config</a></li>
<li><a href="#method-i-max_threads-3D">#max_threads=</a></li>
<li><a href="#method-i-merge_request_params">#merge_request_params</a></li>
<li><a href="#method-i-post">#post</a></li>
<li><a href="#method-i-proxy_auth-3D">#proxy_auth=</a></li>
<li><a href="#method-i-user_agent">#user_agent</a></li>
<li><a href="#method-i-user_agent_mode-3D">#user_agent_mode=</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">Browser</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Constants -->
<div id="constants-list" class="section">
<h3 class="section-header">Constants</h3>
<dl>
<dt><a name="ACCESSOR_OPTIONS">ACCESSOR_OPTIONS</a></dt>
<dd class="description"></dd>
<dt><a name="USER_AGENT_MODES">USER_AGENT_MODES</a></dt>
<dd class="description"></dd>
</dl>
</div>
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="config_file-attribute-method" class="method-detail">
<a name="config_file"></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">config_file</span><span
class="attribute-access-type">[R]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="hydra-attribute-method" class="method-detail">
<a name="hydra"></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">hydra</span><span
class="attribute-access-type">[R]</span>
</div>
<div class="method-description">
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="instance-method" class="method-detail ">
<a name="method-c-instance"></a>
<div class="method-heading">
<span class="method-name">instance</span><span
class="method-args">(options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="instance-source">
<pre>
<span class="ruby-comment"># File lib/common/browser.rb, line 48</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance</span>(<span class="ruby-identifier">options</span> = {})
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">@@instance</span>
<span class="ruby-identifier">@@instance</span> = <span class="ruby-identifier">new</span>(<span class="ruby-identifier">options</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">@@instance</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- instance-source -->
</div>
</div><!-- instance-method -->
<div id="reset-method" class="method-detail ">
<a name="method-c-reset"></a>
<div class="method-heading">
<span class="method-name">reset</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="reset-source">
<pre>
<span class="ruby-comment"># File lib/common/browser.rb, line 55</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">reset</span>
<span class="ruby-identifier">@@instance</span> = <span class="ruby-keyword">nil</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- reset-source -->
</div>
</div><!-- reset-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="forge_request-method" class="method-detail ">
<a name="method-i-forge_request"></a>
<div class="method-heading">
<span class="method-name">forge_request</span><span
class="method-args">(url, params = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="forge_request-source">
<pre>
<span class="ruby-comment"># File lib/common/browser.rb, line 146</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">forge_request</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">params</span> = {})
<span class="ruby-constant">Typhoeus</span><span class="ruby-operator">::</span><span class="ruby-constant">Request</span>.<span class="ruby-identifier">new</span>(
<span class="ruby-identifier">url</span>.<span class="ruby-identifier">to_s</span>,
<span class="ruby-identifier">merge_request_params</span>(<span class="ruby-identifier">params</span>)
)
<span class="ruby-keyword">end</span></pre>
</div><!-- forge_request-source -->
</div>
</div><!-- forge_request-method -->
<div id="get-method" class="method-detail ">
<a name="method-i-get"></a>
<div class="method-heading">
<span class="method-name">get</span><span
class="method-args">(url, params = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="get-source">
<pre>
<span class="ruby-comment"># File lib/common/browser.rb, line 126</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">params</span> = {})
<span class="ruby-identifier">run_request</span>(
<span class="ruby-identifier">forge_request</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">params</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">method</span><span class="ruby-operator">:</span> <span class="ruby-value">:get</span>))
)
<span class="ruby-keyword">end</span></pre>
</div><!-- get-source -->
</div>
</div><!-- get-method -->
<div id="get_and_follow_location-method" class="method-detail ">
<a name="method-i-get_and_follow_location"></a>
<div class="method-heading">
<span class="method-name">get_and_follow_location</span><span
class="method-args">(url, params = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="get_and_follow_location-source">
<pre>
<span class="ruby-comment"># File lib/common/browser.rb, line 138</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_and_follow_location</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">params</span> = {})
<span class="ruby-identifier">params</span>[<span class="ruby-value">:maxredirs</span>] <span class="ruby-operator">||=</span> <span class="ruby-value">2</span>
<span class="ruby-identifier">run_request</span>(
<span class="ruby-identifier">forge_request</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">params</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">method</span><span class="ruby-operator">:</span> <span class="ruby-value">:get</span>, <span class="ruby-identifier">followlocation</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>))
)
<span class="ruby-keyword">end</span></pre>
</div><!-- get_and_follow_location-source -->
</div>
</div><!-- get_and_follow_location-method -->
<div id="invalid_proxy_auth_format-method" class="method-detail ">
<a name="method-i-invalid_proxy_auth_format"></a>
<div class="method-heading">
<span class="method-name">invalid_proxy_auth_format</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="invalid_proxy_auth_format-source">
<pre>
<span class="ruby-comment"># File lib/common/browser.rb, line 104</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">invalid_proxy_auth_format</span>
<span class="ruby-string">'Invalid proxy auth format, expected username:password or {proxy_username: username, proxy_password: password}'</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- invalid_proxy_auth_format-source -->
</div>
</div><!-- invalid_proxy_auth_format-method -->
<div id="load_config-method" class="method-detail ">
<a name="method-i-load_config"></a>
<div class="method-heading">
<span class="method-name">load_config</span><span
class="method-args">(config_file = nil)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>TODO reload hydra (if the .<a
href="Browser.html#method-i-load_config">load_config</a> is called on a
browser object, hydra will not have the new @max_threads and
@request_timeout)</p>
<div class="method-source-code" id="load_config-source">
<pre>
<span class="ruby-comment"># File lib/common/browser.rb, line 110</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">load_config</span>(<span class="ruby-identifier">config_file</span> = <span class="ruby-keyword">nil</span>)
<span class="ruby-ivar">@config_file</span> = <span class="ruby-identifier">config_file</span> <span class="ruby-operator">||</span> <span class="ruby-ivar">@config_file</span>
<span class="ruby-keyword">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">symlink?</span>(<span class="ruby-ivar">@config_file</span>)
<span class="ruby-identifier">raise</span> <span class="ruby-string">&quot;[ERROR] Config file is a symlink.&quot;</span>
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">data</span> = <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-ivar">@config_file</span>))
<span class="ruby-keyword">end</span>
<span class="ruby-constant">ACCESSOR_OPTIONS</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">option</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">option_name</span> = <span class="ruby-identifier">option</span>.<span class="ruby-identifier">to_s</span>
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-value">:&quot;#{option_name}=&quot;</span>, <span class="ruby-identifier">data</span>[<span class="ruby-identifier">option_name</span>])
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- load_config-source -->
</div>
</div><!-- load_config-method -->
<div id="max_threads-3D-method" class="method-detail ">
<a name="method-i-max_threads-3D"></a>
<div class="method-heading">
<span class="method-name">max_threads=</span><span
class="method-args">(max_threads)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="max_threads-3D-source">
<pre>
<span class="ruby-comment"># File lib/common/browser.rb, line 85</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">max_threads=</span>(<span class="ruby-identifier">max_threads</span>)
<span class="ruby-keyword">if</span> <span class="ruby-identifier">max_threads</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword">or</span> <span class="ruby-identifier">max_threads</span> <span class="ruby-operator">&lt;=</span> <span class="ruby-value">0</span>
<span class="ruby-identifier">max_threads</span> = <span class="ruby-value">1</span>
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@max_threads</span> = <span class="ruby-identifier">max_threads</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- max_threads-3D-source -->
</div>
</div><!-- max_threads-3D-method -->
<div id="merge_request_params-method" class="method-detail ">
<a name="method-i-merge_request_params"></a>
<div class="method-heading">
<span class="method-name">merge_request_params</span><span
class="method-args">(params = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="merge_request_params-source">
<pre>
<span class="ruby-comment"># File lib/common/browser.rb, line 153</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">merge_request_params</span>(<span class="ruby-identifier">params</span> = {})
<span class="ruby-identifier">params</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">append_params_header_field</span>(
<span class="ruby-identifier">params</span>,
<span class="ruby-string">'User-Agent'</span>,
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">user_agent</span>
)
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@proxy</span>
<span class="ruby-identifier">params</span> = <span class="ruby-identifier">params</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">proxy</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@proxy</span>)
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@proxy_auth</span>
<span class="ruby-identifier">params</span> = <span class="ruby-identifier">params</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">proxyauth</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@proxy_auth</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@basic_auth</span>
<span class="ruby-identifier">params</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">append_params_header_field</span>(
<span class="ruby-identifier">params</span>,
<span class="ruby-string">'Authorization'</span>,
<span class="ruby-ivar">@basic_auth</span>
)
<span class="ruby-keyword">end</span>
<span class="ruby-comment"># Used to enable the cache system if :cache_ttl &gt; 0</span>
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">params</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-value">:cache_ttl</span>)
<span class="ruby-identifier">params</span> = <span class="ruby-identifier">params</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">cache_ttl</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@cache_ttl</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-comment"># Disable SSL-Certificate checks</span>
<span class="ruby-identifier">params</span> = <span class="ruby-identifier">params</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">ssl_verifypeer</span><span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>)
<span class="ruby-identifier">params</span> = <span class="ruby-identifier">params</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">ssl_verifyhost</span><span class="ruby-operator">:</span> <span class="ruby-value">0</span>)
<span class="ruby-identifier">params</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- merge_request_params-source -->
</div>
</div><!-- merge_request_params-method -->
<div id="post-method" class="method-detail ">
<a name="method-i-post"></a>
<div class="method-heading">
<span class="method-name">post</span><span
class="method-args">(url, params = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="post-source">
<pre>
<span class="ruby-comment"># File lib/common/browser.rb, line 132</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">post</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">params</span> = {})
<span class="ruby-identifier">run_request</span>(
<span class="ruby-identifier">forge_request</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">params</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">method</span><span class="ruby-operator">:</span> <span class="ruby-value">:post</span>))
)
<span class="ruby-keyword">end</span></pre>
</div><!-- post-source -->
</div>
</div><!-- post-method -->
<div id="proxy_auth-3D-method" class="method-detail ">
<a name="method-i-proxy_auth-3D"></a>
<div class="method-heading">
<span class="method-name">proxy_auth=</span><span
class="method-args">(auth)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="proxy_auth-3D-source">
<pre>
<span class="ruby-comment"># File lib/common/browser.rb, line 92</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">proxy_auth=</span>(<span class="ruby-identifier">auth</span>)
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">nil?</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-value">:proxy_username</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-value">:proxy_password</span>)
<span class="ruby-ivar">@proxy_auth</span> = <span class="ruby-identifier">auth</span>[<span class="ruby-value">:proxy_username</span>] <span class="ruby-operator">+</span> <span class="ruby-string">':'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">auth</span>[<span class="ruby-value">:proxy_password</span>]
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">String</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">index</span>(<span class="ruby-string">':'</span>) <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
<span class="ruby-ivar">@proxy_auth</span> = <span class="ruby-identifier">auth</span>
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">raise</span> <span class="ruby-identifier">invalid_proxy_auth_format</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- proxy_auth-3D-source -->
</div>
</div><!-- proxy_auth-3D-method -->
<div id="user_agent-method" class="method-detail ">
<a name="method-i-user_agent"></a>
<div class="method-heading">
<span class="method-name">user_agent</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>return the user agent, according to the user_agent_mode</p>
<div class="method-source-code" id="user_agent-source">
<pre>
<span class="ruby-comment"># File lib/common/browser.rb, line 73</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">user_agent</span>
<span class="ruby-keyword">case</span> <span class="ruby-ivar">@user_agent_mode</span>
<span class="ruby-keyword">when</span> <span class="ruby-string">'semi-static'</span>
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@user_agent</span>
<span class="ruby-ivar">@user_agent</span> = <span class="ruby-ivar">@available_user_agents</span>.<span class="ruby-identifier">sample</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">when</span> <span class="ruby-string">'random'</span>
<span class="ruby-ivar">@user_agent</span> = <span class="ruby-ivar">@available_user_agents</span>.<span class="ruby-identifier">sample</span>
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@user_agent</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- user_agent-source -->
</div>
</div><!-- user_agent-method -->
<div id="user_agent_mode-3D-method" class="method-detail ">
<a name="method-i-user_agent_mode-3D"></a>
<div class="method-heading">
<span class="method-name">user_agent_mode=</span><span
class="method-args">(ua_mode)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="user_agent_mode-3D-source">
<pre>
<span class="ruby-comment"># File lib/common/browser.rb, line 59</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">user_agent_mode=</span>(<span class="ruby-identifier">ua_mode</span>)
<span class="ruby-identifier">ua_mode</span> <span class="ruby-operator">||=</span> <span class="ruby-string">'static'</span>
<span class="ruby-keyword">if</span> <span class="ruby-constant">USER_AGENT_MODES</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">ua_mode</span>)
<span class="ruby-ivar">@user_agent_mode</span> = <span class="ruby-identifier">ua_mode</span>
<span class="ruby-comment"># For semi-static user agent mode, the user agent has to</span>
<span class="ruby-comment"># be nil the first time (it will be set with the getter)</span>
<span class="ruby-ivar">@user_agent</span> = <span class="ruby-keyword">nil</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">ua_mode</span> <span class="ruby-operator">===</span> <span class="ruby-string">'semi-static'</span>
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;Unknow user agent mode : '#{ua_mode}'&quot;</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- user_agent_mode-3D-source -->
</div>
</div><!-- user_agent_mode-3D-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,457 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: BruteForce</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/wpscan/modules/brute_force_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/wpscan/modules/brute_force.rb">lib/wpscan/modules/brute_force.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-lines_in_file">::lines_in_file</a></li>
<li><a href="#method-i-brute_force">#brute_force</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">BruteForce</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="lines_in_file-method" class="method-detail ">
<a name="method-c-lines_in_file"></a>
<div class="method-heading">
<span class="method-name">lines_in_file</span><span
class="method-args">(file_path)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Counts the number of lines in the wordlist It can take a couple of minutes
on large wordlists, although bareable.</p>
<div class="method-source-code" id="lines_in_file-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/brute_force.rb, line 101</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">lines_in_file</span>(<span class="ruby-identifier">file_path</span>)
<span class="ruby-identifier">lines</span> = <span class="ruby-value">0</span>
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">file_path</span>, <span class="ruby-string">'r'</span>).<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">_</span><span class="ruby-operator">|</span> <span class="ruby-identifier">lines</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span> }
<span class="ruby-identifier">lines</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- lines_in_file-source -->
</div>
</div><!-- lines_in_file-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="brute_force-method" class="method-detail ">
<a name="method-i-brute_force"></a>
<div class="method-heading">
<span class="method-name">brute_force</span><span
class="method-args">(wp_users, wordlist_path, options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>param array of <a href="WpUsers.html">WpUsers</a> wp_users param string
wordlist_path param hash options</p>
<pre>boolean :show_progression If true, will output the details (Sucess, error etc)</pre>
<div class="method-source-code" id="brute_force-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/brute_force.rb, line 8</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">brute_force</span>(<span class="ruby-identifier">wp_users</span>, <span class="ruby-identifier">wordlist_path</span>, <span class="ruby-identifier">options</span> = {})
<span class="ruby-identifier">hydra</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">hydra</span>
<span class="ruby-identifier">number_of_passwords</span> = <span class="ruby-constant">BruteForce</span>.<span class="ruby-identifier">lines_in_file</span>(<span class="ruby-identifier">wordlist_path</span>)
<span class="ruby-identifier">login_url</span> = <span class="ruby-identifier">login_url</span>()
<span class="ruby-identifier">found</span> = []
<span class="ruby-identifier">show_progression</span> = <span class="ruby-identifier">options</span>[<span class="ruby-value">:show_progression</span>] <span class="ruby-operator">||</span> <span class="ruby-keyword">false</span>
<span class="ruby-identifier">wp_users</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">wp_user</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">queue_count</span> = <span class="ruby-value">0</span>
<span class="ruby-identifier">request_count</span> = <span class="ruby-value">0</span>
<span class="ruby-identifier">password_found</span> = <span class="ruby-keyword">false</span>
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">wordlist_path</span>, <span class="ruby-string">'r'</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">password</span><span class="ruby-operator">|</span>
<span class="ruby-comment"># ignore file comments, but will miss passwords if they start with a hash...</span>
<span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">password</span>[<span class="ruby-value">0</span>, <span class="ruby-value">1</span>] <span class="ruby-operator">==</span> <span class="ruby-string">'#'</span>
<span class="ruby-identifier">password</span>.<span class="ruby-identifier">strip!</span>
<span class="ruby-comment"># keep a count of the amount of requests to be sent</span>
<span class="ruby-identifier">request_count</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
<span class="ruby-identifier">queue_count</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
<span class="ruby-comment"># create local vars for on_complete call back, Issue 51.</span>
<span class="ruby-identifier">login</span> = <span class="ruby-identifier">wp_user</span>.<span class="ruby-identifier">login</span>
<span class="ruby-identifier">password</span> = <span class="ruby-identifier">password</span>
<span class="ruby-comment"># the request object</span>
<span class="ruby-identifier">request</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">forge_request</span>(<span class="ruby-identifier">login_url</span>,
{
<span class="ruby-identifier">method</span><span class="ruby-operator">:</span> <span class="ruby-value">:post</span>,
<span class="ruby-identifier">body</span><span class="ruby-operator">:</span> { <span class="ruby-identifier">log</span><span class="ruby-operator">:</span> <span class="ruby-constant">URI</span><span class="ruby-operator">::</span><span class="ruby-identifier">encode</span>(<span class="ruby-identifier">login</span>), <span class="ruby-identifier">pwd</span><span class="ruby-operator">:</span> <span class="ruby-constant">URI</span><span class="ruby-operator">::</span><span class="ruby-identifier">encode</span>(<span class="ruby-identifier">password</span>) },
<span class="ruby-identifier">cache_ttl</span><span class="ruby-operator">:</span> <span class="ruby-value">0</span>
}
)
<span class="ruby-comment"># tell hydra what to do when the request completes</span>
<span class="ruby-identifier">request</span>.<span class="ruby-identifier">on_complete</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">response</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;\n Trying Username : #{login} Password : #{password}&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@verbose</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/login_error/</span>
<span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;\nIncorrect login and/or password.&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@verbose</span>
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">code</span> <span class="ruby-operator">==</span> <span class="ruby-value">302</span>
<span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;\n &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">green</span>(<span class="ruby-string">'[SUCCESS]'</span>) <span class="ruby-operator">+</span> <span class="ruby-node">&quot; Login : #{login} Password : #{password}\n&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">show_progression</span>
<span class="ruby-identifier">found</span> <span class="ruby-operator">&lt;&lt;</span> { <span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">login</span>, <span class="ruby-identifier">password</span><span class="ruby-operator">:</span> <span class="ruby-identifier">password</span> }
<span class="ruby-identifier">password_found</span> = <span class="ruby-keyword">true</span>
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">timed_out?</span>
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">red</span>(<span class="ruby-string">'ERROR:'</span>) <span class="ruby-operator">+</span> <span class="ruby-string">' Request timed out.'</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">show_progression</span>
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">code</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">red</span>(<span class="ruby-string">'ERROR:'</span>) <span class="ruby-operator">+</span> <span class="ruby-string">' No response from remote server. WAF/IPS?'</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">show_progression</span>
<span class="ruby-comment"># code is a fixnum, needs a string for regex</span>
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">code</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/^50/</span>
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">red</span>(<span class="ruby-string">'ERROR:'</span>) <span class="ruby-operator">+</span> <span class="ruby-string">' Server error, try reducing the number of threads.'</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">show_progression</span>
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;\n&quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">red</span>(<span class="ruby-string">'ERROR:'</span>) <span class="ruby-operator">+</span> <span class="ruby-node">&quot; We received an unknown response for #{password}...&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">show_progression</span>
<span class="ruby-comment"># HACK to get the coverage :/ (otherwise some output is present in the rspec)</span>
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">red</span>(<span class="ruby-node">&quot;Code: #{response.code.to_s}&quot;</span>) <span class="ruby-keyword">if</span> <span class="ruby-ivar">@verbose</span>
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">red</span>(<span class="ruby-node">&quot;Body: #{response.body}&quot;</span>) <span class="ruby-keyword">if</span> <span class="ruby-ivar">@verbose</span>
<span class="ruby-identifier">puts</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@verbose</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-comment"># move onto the next login if we have found a valid password</span>
<span class="ruby-keyword">break</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">password_found</span>
<span class="ruby-comment"># queue the request to be sent later</span>
<span class="ruby-identifier">hydra</span>.<span class="ruby-identifier">queue</span>(<span class="ruby-identifier">request</span>)
<span class="ruby-comment"># progress indicator</span>
<span class="ruby-identifier">print</span> <span class="ruby-node">&quot;\r Brute forcing user '#{login}' with #{number_of_passwords} passwords... #{(request_count * 100) / number_of_passwords}% complete.&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">show_progression</span>
<span class="ruby-comment"># it can take a long time to queue 2 million requests,</span>
<span class="ruby-comment"># for that reason, we queue @threads, send @threads, queue @threads and so on.</span>
<span class="ruby-comment"># hydra.run only returns when it has recieved all of its,</span>
<span class="ruby-comment"># responses. This means that while we are waiting for @threads,</span>
<span class="ruby-comment"># responses, we are waiting...</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">queue_count</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">max_threads</span>
<span class="ruby-identifier">hydra</span>.<span class="ruby-identifier">run</span>
<span class="ruby-identifier">queue_count</span> = <span class="ruby-value">0</span>
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;Sent #{Browser.instance.max_threads} requests ...&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@verbose</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-comment"># run all of the remaining requests</span>
<span class="ruby-identifier">hydra</span>.<span class="ruby-identifier">run</span>
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">found</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- brute_force-source -->
</div>
</div><!-- brute_force-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,247 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: CREDITS [RDoc Documentation]</title>
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
<script src="./js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<p>*<b><a href="CREDITS.html">CREDITS</a></b>*</p>
<p>This file is to give credit to WPScans contributors. If you feel your name
should be in here, email ryandewhurst at gmail.</p>
<p>*WPScan Team*</p>
<p>Erwan.LR - @erwan_lr - (Project Developer) Christian Mehlmauer -
@<em>FireFart</em> - (Project Developer) Gianluca Brindisi - @gbrindisi
(Project Developer) Ryan Dewhurst - @ethicalhack3r (Project Lead)</p>
<p>*Other Contributors*</p>
<p>Alip AKA Undead - alip.aswalid at gmail.com michee08 - Reported and gave
potential solutions to bugs. Callum Pember - Implemented proxy support -
callumpember at gmail.com g0tmi1k - Additional timthumb checks + bug
reports. Melvin Lammerts - Reported a couple of fake vulnerabilities -
melvin at 12k.nl Paolo Perego - @thesp0nge - Basic authentication</p>
</div>
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,537 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: CacheFileStore</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/cache_file_store_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/cache_file_store.rb">lib/common/cache_file_store.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Object.html">Object</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-new">::new</a></li>
<li><a href="#method-i-clean">#clean</a></li>
<li><a href="#method-i-get_entry_file_path">#get_entry_file_path</a></li>
<li><a href="#method-i-read_entry">#read_entry</a></li>
<li><a href="#method-i-write_entry">#write_entry</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">CacheFileStore</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="serializer-attribute-method" class="method-detail">
<a name="serializer"></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">serializer</span><span
class="attribute-access-type">[R]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="storage_path-attribute-method" class="method-detail">
<a name="storage_path"></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">storage_path</span><span
class="attribute-access-type">[R]</span>
</div>
<div class="method-description">
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="new-method" class="method-detail ">
<a name="method-c-new"></a>
<div class="method-heading">
<span class="method-name">new</span><span
class="method-args">(storage_path, serializer = Marshal)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>The serializer must have the 2 methods .load and .dump</p>
<pre>(Marshal and YAML have them)</pre>
<p>YAML is Human Readable, contrary to Marshal which store in a binary format
Marshal does not need any “require”</p>
<div class="method-source-code" id="new-source">
<pre>
<span class="ruby-comment"># File lib/common/cache_file_store.rb, line 19</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">storage_path</span>, <span class="ruby-identifier">serializer</span> = <span class="ruby-constant">Marshal</span>)
<span class="ruby-ivar">@storage_path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">storage_path</span>)
<span class="ruby-ivar">@serializer</span> = <span class="ruby-identifier">serializer</span>
<span class="ruby-comment"># File.directory? for ruby &lt;= 1.9 otherwise,</span>
<span class="ruby-comment"># it makes more sense to do Dir.exist? :/</span>
<span class="ruby-keyword">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-ivar">@storage_path</span>)
<span class="ruby-constant">Dir</span>.<span class="ruby-identifier">mkdir</span>(<span class="ruby-ivar">@storage_path</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- new-source -->
</div>
</div><!-- new-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="clean-method" class="method-detail ">
<a name="method-i-clean"></a>
<div class="method-heading">
<span class="method-name">clean</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="clean-source">
<pre>
<span class="ruby-comment"># File lib/common/cache_file_store.rb, line 30</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">clean</span>
<span class="ruby-constant">Dir</span>[<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-ivar">@storage_path</span>, <span class="ruby-string">'*'</span>)].<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
<span class="ruby-constant">File</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">f</span>) <span class="ruby-keyword">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">symlink?</span>(<span class="ruby-identifier">f</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- clean-source -->
</div>
</div><!-- clean-method -->
<div id="get_entry_file_path-method" class="method-detail ">
<a name="method-i-get_entry_file_path"></a>
<div class="method-heading">
<span class="method-name">get_entry_file_path</span><span
class="method-args">(key)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="get_entry_file_path-source">
<pre>
<span class="ruby-comment"># File lib/common/cache_file_store.rb, line 52</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_entry_file_path</span>(<span class="ruby-identifier">key</span>)
<span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-identifier">join</span>(<span class="ruby-ivar">@storage_path</span>, <span class="ruby-identifier">key</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- get_entry_file_path-source -->
</div>
</div><!-- get_entry_file_path-method -->
<div id="read_entry-method" class="method-detail ">
<a name="method-i-read_entry"></a>
<div class="method-heading">
<span class="method-name">read_entry</span><span
class="method-args">(key)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="read_entry-source">
<pre>
<span class="ruby-comment"># File lib/common/cache_file_store.rb, line 36</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">read_entry</span>(<span class="ruby-identifier">key</span>)
<span class="ruby-identifier">entry_file_path</span> = <span class="ruby-identifier">get_entry_file_path</span>(<span class="ruby-identifier">key</span>)
<span class="ruby-keyword">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">entry_file_path</span>)
<span class="ruby-keyword">return</span> <span class="ruby-ivar">@serializer</span>.<span class="ruby-identifier">load</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">entry_file_path</span>))
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- read_entry-source -->
</div>
</div><!-- read_entry-method -->
<div id="write_entry-method" class="method-detail ">
<a name="method-i-write_entry"></a>
<div class="method-heading">
<span class="method-name">write_entry</span><span
class="method-args">(key, data_to_store, cache_ttl)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="write_entry-source">
<pre>
<span class="ruby-comment"># File lib/common/cache_file_store.rb, line 44</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">write_entry</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">data_to_store</span>, <span class="ruby-identifier">cache_ttl</span>)
<span class="ruby-keyword">if</span> <span class="ruby-identifier">cache_ttl</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">get_entry_file_path</span>(<span class="ruby-identifier">key</span>), <span class="ruby-string">'w'</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">f</span>.<span class="ruby-identifier">write</span>(<span class="ruby-ivar">@serializer</span>.<span class="ruby-identifier">dump</span>(<span class="ruby-identifier">data_to_store</span>))
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- write_entry-source -->
</div>
</div><!-- write_entry-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,549 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: CustomOptionParser</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/custom_option_parser_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/custom_option_parser.rb">lib/common/custom_option_parser.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link">OptionParser</p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-new">::new</a></li>
<li><a href="#method-c-option_to_symbol">::option_to_symbol</a></li>
<li><a href="#method-i-add">#add</a></li>
<li><a href="#method-i-add_option">#add_option</a></li>
<li><a href="#method-i-results">#results</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">CustomOptionParser</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="symbols_used-attribute-method" class="method-detail">
<a name="symbols_used"></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">symbols_used</span><span
class="attribute-access-type">[R]</span>
</div>
<div class="method-description">
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="new-method" class="method-detail ">
<a name="method-c-new"></a>
<div class="method-heading">
<span class="method-name">new</span><span
class="method-args">(banner = nil, width = 32, indent = ' ' * 4)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="new-source">
<pre>
<span class="ruby-comment"># File lib/common/custom_option_parser.rb, line 6</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">banner</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">width</span> = <span class="ruby-value">32</span>, <span class="ruby-identifier">indent</span> = <span class="ruby-string">' '</span> * <span class="ruby-value">4</span>)
<span class="ruby-ivar">@results</span> = {}
<span class="ruby-ivar">@symbols_used</span> = []
<span class="ruby-keyword">super</span>(<span class="ruby-identifier">banner</span>, <span class="ruby-identifier">width</span>, <span class="ruby-identifier">indent</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- new-source -->
</div>
</div><!-- new-method -->
</div><!-- public-class-method-details -->
<div id="protected-class-method-details" class="method-section section">
<h3 class="section-header">Protected Class Methods</h3>
<div id="option_to_symbol-method" class="method-detail ">
<a name="method-c-option_to_symbol"></a>
<div class="method-heading">
<span class="method-name">option_to_symbol</span><span
class="method-args">(option)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>param <a href="Array.html">Array</a> option</p>
<div class="method-source-code" id="option_to_symbol-source">
<pre>
<span class="ruby-comment"># File lib/common/custom_option_parser.rb, line 56</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">option_to_symbol</span>(<span class="ruby-identifier">option</span>)
<span class="ruby-identifier">option_name</span> = <span class="ruby-keyword">nil</span>
<span class="ruby-identifier">option</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">option_attr</span><span class="ruby-operator">|</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">option_attr</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/^--/</span>
<span class="ruby-identifier">option_name</span> = <span class="ruby-identifier">option_attr</span>
<span class="ruby-keyword">break</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">option_name</span>
<span class="ruby-identifier">option_name</span> = <span class="ruby-identifier">option_name</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">/^--/</span>, <span class="ruby-string">''</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">/-/</span>, <span class="ruby-string">'_'</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">/ .*$/</span>, <span class="ruby-string">''</span>)
<span class="ruby-value">:&quot;#{option_name}&quot;</span>
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;Could not find the option name for #{option}&quot;</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- option_to_symbol-source -->
</div>
</div><!-- option_to_symbol-method -->
</div><!-- protected-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="add-method" class="method-detail ">
<a name="method-i-add"></a>
<div class="method-heading">
<span class="method-name">add</span><span
class="method-args">(options)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>param Array(<a href="Array.html">Array</a>) or <a
href="Array.html">Array</a> options</p>
<div class="method-source-code" id="add-source">
<pre>
<span class="ruby-comment"># File lib/common/custom_option_parser.rb, line 14</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-identifier">options</span>)
<span class="ruby-keyword">if</span> <span class="ruby-identifier">options</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
<span class="ruby-keyword">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
<span class="ruby-identifier">options</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">option</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">add_option</span>(<span class="ruby-identifier">option</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">add_option</span>(<span class="ruby-identifier">options</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;Options must be at least an Array, or an Array(Array). #{options.class} supplied&quot;</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- add-source -->
</div>
</div><!-- add-method -->
<div id="add_option-method" class="method-detail ">
<a name="method-i-add_option"></a>
<div class="method-heading">
<span class="method-name">add_option</span><span
class="method-args">(option)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>param <a href="Array.html">Array</a> option</p>
<div class="method-source-code" id="add_option-source">
<pre>
<span class="ruby-comment"># File lib/common/custom_option_parser.rb, line 29</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_option</span>(<span class="ruby-identifier">option</span>)
<span class="ruby-keyword">if</span> <span class="ruby-identifier">option</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
<span class="ruby-identifier">option_symbol</span> = <span class="ruby-constant">CustomOptionParser</span><span class="ruby-operator">::</span><span class="ruby-identifier">option_to_symbol</span>(<span class="ruby-identifier">option</span>)
<span class="ruby-keyword">if</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@symbols_used</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">option_symbol</span>)
<span class="ruby-ivar">@symbols_used</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">option_symbol</span>
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">on</span>(*<span class="ruby-identifier">option</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">arg</span><span class="ruby-operator">|</span>
<span class="ruby-ivar">@results</span>[<span class="ruby-identifier">option_symbol</span>] = <span class="ruby-identifier">arg</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;The option #{option_symbol} is already used !&quot;</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;The option must be an array, #{option.class} supplied : '#{option}'&quot;</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- add_option-source -->
</div>
</div><!-- add_option-method -->
<div id="results-method" class="method-detail ">
<a name="method-i-results"></a>
<div class="method-heading">
<span class="method-name">results</span><span
class="method-args">(argv = default_argv)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>return Hash</p>
<div class="method-source-code" id="results-source">
<pre>
<span class="ruby-comment"># File lib/common/custom_option_parser.rb, line 48</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">results</span>(<span class="ruby-identifier">argv</span> = <span class="ruby-identifier">default_argv</span>)
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">parse!</span>(<span class="ruby-identifier">argv</span>) <span class="ruby-keyword">if</span> <span class="ruby-ivar">@results</span>.<span class="ruby-identifier">empty?</span>
<span class="ruby-ivar">@results</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- results-source -->
</div>
</div><!-- results-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,240 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: Gemfile [RDoc Documentation]</title>
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
<script src="./js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<p>source “<a href="https://rubygems.org">rubygems.org</a></p>
<p>gem “typhoeus”, “&gt;=0.6.2” gem “nokogiri” gem “json”</p>
<p>group :development, :test do</p>
<pre>gem &quot;webmock&quot;, &quot;&gt;=1.9.3&quot;
gem &quot;simplecov&quot;
gem &quot;rspec&quot;, :require =&gt; &quot;spec&quot;</pre>
<p>end</p>
</div>
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,616 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: GenerateList</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/wpstools/plugins/list_generator/generate_list_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/wpstools/plugins/list_generator/generate_list.rb">lib/wpstools/plugins/list_generator/generate_list.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Object.html">Object</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-new">::new</a></li>
<li><a href="#method-i-generate_full_list">#generate_full_list</a></li>
<li><a href="#method-i-generate_popular_list">#generate_popular_list</a></li>
<li><a href="#method-i-get_popular_items">#get_popular_items</a></li>
<li><a href="#method-i-save">#save</a></li>
<li><a href="#method-i-set_file_name">#set_file_name</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">GenerateList</h1>
<div id="description" class="description">
<p>This tool generates a list to use for plugin and theme enumeration</p>
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="verbose-attribute-method" class="method-detail">
<a name="verbose"></a>
<a name="verbose="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">verbose</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="new-method" class="method-detail ">
<a name="method-c-new"></a>
<div class="method-heading">
<span class="method-name">new</span><span
class="method-args">(type, verbose)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>type = themes | plugins</p>
<div class="method-source-code" id="new-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/list_generator/generate_list.rb, line 8</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">verbose</span>)
<span class="ruby-keyword">if</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/plugins/</span>
<span class="ruby-ivar">@type</span> = <span class="ruby-string">'plugin'</span>
<span class="ruby-ivar">@svn_url</span> = <span class="ruby-string">'http://plugins.svn.wordpress.org/'</span>
<span class="ruby-ivar">@popular_url</span> = <span class="ruby-string">'http://wordpress.org/extend/plugins/browse/popular/'</span>
<span class="ruby-ivar">@popular_regex</span> = <span class="ruby-regexp">%{&lt;h3&gt;&lt;a href=&quot;http://wordpress.org/extend/plugins/(.+)/&quot;&gt;.+&lt;/a&gt;&lt;/h3&gt;}</span>
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/themes/</span>
<span class="ruby-ivar">@type</span> = <span class="ruby-string">'theme'</span>
<span class="ruby-ivar">@svn_url</span> = <span class="ruby-string">'http://themes.svn.wordpress.org/'</span>
<span class="ruby-ivar">@popular_url</span> = <span class="ruby-string">'http://wordpress.org/extend/themes/browse/popular/'</span>
<span class="ruby-ivar">@popular_regex</span> = <span class="ruby-regexp">%{&lt;h3&gt;&lt;a href=&quot;http://wordpress.org/extend/themes/(.+)&quot;&gt;.+&lt;/a&gt;&lt;/h3&gt;}</span>
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;Type #{type} not defined&quot;</span>
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@verbose</span> = <span class="ruby-identifier">verbose</span>
<span class="ruby-ivar">@browser</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>
<span class="ruby-ivar">@hydra</span> = <span class="ruby-ivar">@browser</span>.<span class="ruby-identifier">hydra</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- new-source -->
</div>
</div><!-- new-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="generate_full_list-method" class="method-detail ">
<a name="method-i-generate_full_list"></a>
<div class="method-heading">
<span class="method-name">generate_full_list</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="generate_full_list-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/list_generator/generate_list.rb, line 52</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">generate_full_list</span>
<span class="ruby-identifier">set_file_name</span>(<span class="ruby-value">:full</span>)
<span class="ruby-identifier">items</span> = <span class="ruby-constant">SvnParser</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@svn_url</span>).<span class="ruby-identifier">parse</span>
<span class="ruby-identifier">save</span> <span class="ruby-identifier">items</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- generate_full_list-source -->
</div>
</div><!-- generate_full_list-method -->
<div id="generate_popular_list-method" class="method-detail ">
<a name="method-i-generate_popular_list"></a>
<div class="method-heading">
<span class="method-name">generate_popular_list</span><span
class="method-args">(pages)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="generate_popular_list-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/list_generator/generate_list.rb, line 58</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">generate_popular_list</span>(<span class="ruby-identifier">pages</span>)
<span class="ruby-identifier">set_file_name</span>(<span class="ruby-value">:popular</span>)
<span class="ruby-identifier">items</span> = <span class="ruby-identifier">get_popular_items</span>(<span class="ruby-identifier">pages</span>)
<span class="ruby-identifier">save</span> <span class="ruby-identifier">items</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- generate_popular_list-source -->
</div>
</div><!-- generate_popular_list-method -->
<div id="get_popular_items-method" class="method-detail ">
<a name="method-i-get_popular_items"></a>
<div class="method-heading">
<span class="method-name">get_popular_items</span><span
class="method-args">(pages)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Send a HTTP request to the WordPress most popular theme or plugin webpage
parse the response for the names.</p>
<div class="method-source-code" id="get_popular_items-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/list_generator/generate_list.rb, line 66</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_popular_items</span>(<span class="ruby-identifier">pages</span>)
<span class="ruby-identifier">found_items</span> = []
<span class="ruby-identifier">page_count</span> = <span class="ruby-value">1</span>
<span class="ruby-identifier">queue_count</span> = <span class="ruby-value">0</span>
(<span class="ruby-value">1</span><span class="ruby-operator">...</span>(<span class="ruby-identifier">pages</span>.<span class="ruby-identifier">to_i</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>)).<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">page</span><span class="ruby-operator">|</span>
<span class="ruby-comment"># First page has another URL</span>
<span class="ruby-identifier">url</span> = (<span class="ruby-identifier">page</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>) <span class="ruby-operator">?</span> <span class="ruby-ivar">@popular_url</span> <span class="ruby-operator">:</span> <span class="ruby-ivar">@popular_url</span> <span class="ruby-operator">+</span> <span class="ruby-string">'page/'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">page</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">+</span> <span class="ruby-string">'/'</span>
<span class="ruby-identifier">request</span> = <span class="ruby-ivar">@browser</span>.<span class="ruby-identifier">forge_request</span>(<span class="ruby-identifier">url</span>)
<span class="ruby-identifier">queue_count</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
<span class="ruby-identifier">request</span>.<span class="ruby-identifier">on_complete</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">response</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;[+] Parsing page #{page_count}&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@verbose</span>
<span class="ruby-identifier">page_count</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-ivar">@popular_regex</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">item</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;[+] Found popular #@type: #{item}&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@verbose</span>
<span class="ruby-identifier">found_items</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">item</span>[<span class="ruby-value">0</span>]
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@hydra</span>.<span class="ruby-identifier">queue</span>(<span class="ruby-identifier">request</span>)
<span class="ruby-keyword">if</span> <span class="ruby-identifier">queue_count</span> <span class="ruby-operator">==</span> <span class="ruby-ivar">@browser</span>.<span class="ruby-identifier">max_threads</span>
<span class="ruby-ivar">@hydra</span>.<span class="ruby-identifier">run</span>
<span class="ruby-identifier">queue_count</span> = <span class="ruby-value">0</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@hydra</span>.<span class="ruby-identifier">run</span>
<span class="ruby-identifier">found_items</span>.<span class="ruby-identifier">sort!</span>
<span class="ruby-identifier">found_items</span>.<span class="ruby-identifier">uniq</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- get_popular_items-source -->
</div>
</div><!-- get_popular_items-method -->
<div id="save-method" class="method-detail ">
<a name="method-i-save"></a>
<div class="method-heading">
<span class="method-name">save</span><span
class="method-args">(items)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Save the file</p>
<div class="method-source-code" id="save-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/list_generator/generate_list.rb, line 103</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">save</span>(<span class="ruby-identifier">items</span>)
<span class="ruby-identifier">items</span>.<span class="ruby-identifier">sort!</span>
<span class="ruby-identifier">items</span>.<span class="ruby-identifier">uniq!</span>
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;[*] We have parsed #{items.length} #@types&quot;</span>
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-ivar">@file_name</span>, <span class="ruby-string">'w'</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">puts</span>(<span class="ruby-identifier">items</span>) }
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;New #@file_name file created&quot;</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- save-source -->
</div>
</div><!-- save-method -->
<div id="set_file_name-method" class="method-detail ">
<a name="method-i-set_file_name"></a>
<div class="method-heading">
<span class="method-name">set_file_name</span><span
class="method-args">(type)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="set_file_name-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/list_generator/generate_list.rb, line 27</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_file_name</span>(<span class="ruby-identifier">type</span>)
<span class="ruby-keyword">case</span> <span class="ruby-ivar">@type</span>
<span class="ruby-keyword">when</span> <span class="ruby-string">'plugin'</span>
<span class="ruby-keyword">case</span> <span class="ruby-identifier">type</span>
<span class="ruby-keyword">when</span> <span class="ruby-value">:full</span>
<span class="ruby-ivar">@file_name</span> = <span class="ruby-constant">PLUGINS_FULL_FILE</span>
<span class="ruby-keyword">when</span> <span class="ruby-value">:popular</span>
<span class="ruby-ivar">@file_name</span> = <span class="ruby-constant">PLUGINS_FILE</span>
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">raise</span> <span class="ruby-string">'Unknown type'</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">when</span> <span class="ruby-string">'theme'</span>
<span class="ruby-keyword">case</span> <span class="ruby-identifier">type</span>
<span class="ruby-keyword">when</span> <span class="ruby-value">:full</span>
<span class="ruby-ivar">@file_name</span> = <span class="ruby-constant">THEMES_FULL_FILE</span>
<span class="ruby-keyword">when</span> <span class="ruby-value">:popular</span>
<span class="ruby-ivar">@file_name</span> = <span class="ruby-constant">THEMES_FILE</span>
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">raise</span> <span class="ruby-string">'Unknown type'</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;Unknown type #@type&quot;</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- set_file_name-source -->
</div>
</div><!-- set_file_name-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,517 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: GitUpdater</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/updater/git_updater_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/updater/git_updater.rb">lib/common/updater/git_updater.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Updater.html">Updater</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-has_local_changes-3F">#has_local_changes?</a></li>
<li><a href="#method-i-is_installed-3F">#is_installed?</a></li>
<li><a href="#method-i-local_revision_number">#local_revision_number</a></li>
<li><a href="#method-i-repo_directory_arguments">#repo_directory_arguments</a></li>
<li><a href="#method-i-reset_head">#reset_head</a></li>
<li><a href="#method-i-update">#update</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">GitUpdater</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="has_local_changes-3F-method" class="method-detail ">
<a name="method-i-has_local_changes-3F"></a>
<div class="method-heading">
<span class="method-name">has_local_changes?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="has_local_changes-3F-source">
<pre>
<span class="ruby-comment"># File lib/common/updater/git_updater.rb, line 21</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_local_changes?</span>
<span class="ruby-node">%[git #{repo_directory_arguments()} diff --exit-code 2&gt;&amp;1]</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/diff/</span> <span class="ruby-operator">?</span> <span class="ruby-keyword">true</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_local_changes-3F-source -->
</div>
</div><!-- has_local_changes-3F-method -->
<div id="is_installed-3F-method" class="method-detail ">
<a name="method-i-is_installed-3F"></a>
<div class="method-heading">
<span class="method-name">is_installed?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="is_installed-3F-source">
<pre>
<span class="ruby-comment"># File lib/common/updater/git_updater.rb, line 6</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_installed?</span>
<span class="ruby-node">%[git #{repo_directory_arguments()} status 2&gt;&amp;1]</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/On branch/</span> <span class="ruby-operator">?</span> <span class="ruby-keyword">true</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- is_installed-3F-source -->
</div>
</div><!-- is_installed-3F-method -->
<div id="local_revision_number-method" class="method-detail ">
<a name="method-i-local_revision_number"></a>
<div class="method-heading">
<span class="method-name">local_revision_number</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Git has not a revsion number like SVN, so we will take the 7 first chars of
the last commit hash</p>
<div class="method-source-code" id="local_revision_number-source">
<pre>
<span class="ruby-comment"># File lib/common/updater/git_updater.rb, line 12</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">local_revision_number</span>
<span class="ruby-identifier">git_log</span> = <span class="ruby-node">%[git #{repo_directory_arguments()} log -1 2&gt;&amp;1]</span>
<span class="ruby-identifier">git_log</span>[<span class="ruby-regexp">/commit ([0-9a-z]{7})/</span>, <span class="ruby-value">1</span>].<span class="ruby-identifier">to_s</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- local_revision_number-source -->
</div>
</div><!-- local_revision_number-method -->
<div id="reset_head-method" class="method-detail ">
<a name="method-i-reset_head"></a>
<div class="method-heading">
<span class="method-name">reset_head</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="reset_head-source">
<pre>
<span class="ruby-comment"># File lib/common/updater/git_updater.rb, line 25</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">reset_head</span>
<span class="ruby-node">%[git #{repo_directory_arguments()} reset --hard HEAD]</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- reset_head-source -->
</div>
</div><!-- reset_head-method -->
<div id="update-method" class="method-detail ">
<a name="method-i-update"></a>
<div class="method-heading">
<span class="method-name">update</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="update-source">
<pre>
<span class="ruby-comment"># File lib/common/updater/git_updater.rb, line 17</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>
<span class="ruby-node">%[git #{repo_directory_arguments()} pull]</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- update-source -->
</div>
</div><!-- update-method -->
</div><!-- public-instance-method-details -->
<div id="protected-instance-method-details" class="method-section section">
<h3 class="section-header">Protected Instance Methods</h3>
<div id="repo_directory_arguments-method" class="method-detail ">
<a name="method-i-repo_directory_arguments"></a>
<div class="method-heading">
<span class="method-name">repo_directory_arguments</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="repo_directory_arguments-source">
<pre>
<span class="ruby-comment"># File lib/common/updater/git_updater.rb, line 30</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">repo_directory_arguments</span>
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@repo_directory</span>
<span class="ruby-keyword">return</span> <span class="ruby-node">&quot;--git-dir=\&quot;#{@repo_directory}/.git\&quot; --work-tree=\&quot;#{@repo_directory}\&quot;&quot;</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- repo_directory_arguments-source -->
</div>
</div><!-- repo_directory_arguments-method -->
</div><!-- protected-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,244 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: LICENSE [RDoc Documentation]</title>
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
<script src="./js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<p>WPScan - WordPress Security Scanner Copyright (C) 2012-2013</p>
<p>This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.</p>
<p>This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.</p>
<p>You should have received a copy of the GNU General Public License along
with this program. If not, see &lt;<a
href="http://www.gnu.org/licenses/">www.gnu.org/licenses/</a>&gt;.</p>
</div>
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,400 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: ListGeneratorPlugin</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/wpstools/plugins/list_generator/list_generator_plugin_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/wpstools/plugins/list_generator/list_generator_plugin.rb">lib/wpstools/plugins/list_generator/list_generator_plugin.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Plugin.html">Plugin</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-new">::new</a></li>
<li><a href="#method-i-run">#run</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">ListGeneratorPlugin</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="new-method" class="method-detail ">
<a name="method-c-new"></a>
<div class="method-heading">
<span class="method-name">new</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="new-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/list_generator/list_generator_plugin.rb, line 4</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>
<span class="ruby-keyword">super</span>(<span class="ruby-identifier">author</span><span class="ruby-operator">:</span> <span class="ruby-string">'WPScanTeam - @FireFart'</span>)
<span class="ruby-identifier">register_options</span>(
[<span class="ruby-string">'--generate-plugin-list [NUMBER_OF_PAGES]'</span>, <span class="ruby-string">'--gpl'</span>, <span class="ruby-constant">Integer</span>, <span class="ruby-string">'Generate a new data/plugins.txt file. (supply number of *pages* to parse, default : 150)'</span>],
[<span class="ruby-string">'--generate-full-plugin-list'</span>, <span class="ruby-string">'--gfpl'</span>, <span class="ruby-string">'Generate a new full data/plugins.txt file'</span>],
[<span class="ruby-string">'--generate-theme-list [NUMBER_OF_PAGES]'</span>, <span class="ruby-string">'--gtl'</span>, <span class="ruby-constant">Integer</span>, <span class="ruby-string">'Generate a new data/themes.txt file. (supply number of *pages* to parse, default : 150)'</span>],
[<span class="ruby-string">'--generate-full-theme-list'</span>, <span class="ruby-string">'--gftl'</span>, <span class="ruby-string">'Generate a new full data/themes.txt file'</span>],
[<span class="ruby-string">'--generate-all'</span>, <span class="ruby-string">'--ga'</span>, <span class="ruby-string">'Generate a new full plugins, full themes, popular plugins and popular themes list'</span>]
)
<span class="ruby-keyword">end</span></pre>
</div><!-- new-source -->
</div>
</div><!-- new-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="run-method" class="method-detail ">
<a name="method-i-run"></a>
<div class="method-heading">
<span class="method-name">run</span><span
class="method-args">(options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="run-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/list_generator/list_generator_plugin.rb, line 18</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">run</span>(<span class="ruby-identifier">options</span> = {})
<span class="ruby-ivar">@verbose</span> = <span class="ruby-identifier">options</span>[<span class="ruby-value">:verbose</span>] <span class="ruby-operator">||</span> <span class="ruby-keyword">false</span>
<span class="ruby-identifier">generate_all</span> = <span class="ruby-identifier">options</span>[<span class="ruby-value">:generate_all</span>] <span class="ruby-operator">||</span> <span class="ruby-keyword">false</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">options</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-value">:generate_plugin_list</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">generate_all</span>
<span class="ruby-identifier">most_popular</span>(<span class="ruby-string">'plugin'</span>, <span class="ruby-identifier">options</span>[<span class="ruby-value">:generate_plugin_list</span>] <span class="ruby-operator">||</span> <span class="ruby-value">150</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:generate_full_plugin_list</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">generate_all</span>
<span class="ruby-identifier">full</span>(<span class="ruby-string">'plugin'</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">options</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-value">:generate_theme_list</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">generate_all</span>
<span class="ruby-identifier">most_popular</span>(<span class="ruby-string">'theme'</span>, <span class="ruby-identifier">options</span>[<span class="ruby-value">:generate_theme_list</span>] <span class="ruby-operator">||</span> <span class="ruby-value">150</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:generate_full_theme_list</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">generate_all</span>
<span class="ruby-identifier">full</span>(<span class="ruby-string">'theme'</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- run-source -->
</div>
</div><!-- run-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,456 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: Malwares</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/wpscan/modules/malwares_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/wpscan/modules/malwares.rb">lib/wpscan/modules/malwares.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-malware_pattern">::malware_pattern</a></li>
<li><a href="#method-c-malwares_file">::malwares_file</a></li>
<li><a href="#method-i-has_malwares-3F">#has_malwares?</a></li>
<li><a href="#method-i-malwares">#malwares</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">Malwares</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="malware_pattern-method" class="method-detail ">
<a name="method-c-malware_pattern"></a>
<div class="method-heading">
<span class="method-name">malware_pattern</span><span
class="method-args">(url_regex)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="malware_pattern-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/malwares.rb, line 42</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">malware_pattern</span>(<span class="ruby-identifier">url_regex</span>)
<span class="ruby-comment"># no need to escape regex here, because malware.txt contains regex</span>
<span class="ruby-node">%{&lt;(?:script|iframe).* src=(?:&quot;|')(#{url_regex}[^&quot;']*)(?:&quot;|')[^&gt;]*&gt;}</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- malware_pattern-source -->
</div>
</div><!-- malware_pattern-method -->
<div id="malwares_file-method" class="method-detail ">
<a name="method-c-malwares_file"></a>
<div class="method-heading">
<span class="method-name">malwares_file</span><span
class="method-args">(malwares_file_path)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="malwares_file-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/malwares.rb, line 38</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">malwares_file</span>(<span class="ruby-identifier">malwares_file_path</span>)
<span class="ruby-identifier">malwares_file_path</span> <span class="ruby-operator">||</span> <span class="ruby-constant">DATA_DIR</span> <span class="ruby-operator">+</span> <span class="ruby-string">'/malwares.txt'</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- malwares_file-source -->
</div>
</div><!-- malwares_file-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="has_malwares-3F-method" class="method-detail ">
<a name="method-i-has_malwares-3F"></a>
<div class="method-heading">
<span class="method-name">has_malwares?</span><span
class="method-args">(malwares_file_path = nil)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="has_malwares-3F-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/malwares.rb, line 9</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_malwares?</span>(<span class="ruby-identifier">malwares_file_path</span> = <span class="ruby-keyword">nil</span>)
<span class="ruby-operator">!</span><span class="ruby-identifier">malwares</span>(<span class="ruby-identifier">malwares_file_path</span>).<span class="ruby-identifier">empty?</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_malwares-3F-source -->
</div>
</div><!-- has_malwares-3F-method -->
<div id="malwares-method" class="method-detail ">
<a name="method-i-malwares"></a>
<div class="method-heading">
<span class="method-name">malwares</span><span
class="method-args">(malwares_file_path = nil)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>return array of string (url of malwares found)</p>
<div class="method-source-code" id="malwares-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/malwares.rb, line 14</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">malwares</span>(<span class="ruby-identifier">malwares_file_path</span> = <span class="ruby-keyword">nil</span>)
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@malwares</span>
<span class="ruby-identifier">malwares_found</span> = []
<span class="ruby-identifier">malwares_file</span> = <span class="ruby-constant">Malwares</span>.<span class="ruby-identifier">malwares_file</span>(<span class="ruby-identifier">malwares_file_path</span>)
<span class="ruby-identifier">index_page_body</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">to_s</span>).<span class="ruby-identifier">body</span>
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">malwares_file</span>, <span class="ruby-string">'r'</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">file</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">file</span>.<span class="ruby-identifier">readlines</span>.<span class="ruby-identifier">collect</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">url</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">chomped_url</span> = <span class="ruby-identifier">url</span>.<span class="ruby-identifier">chomp</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">chomped_url</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
<span class="ruby-identifier">malwares_found</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">index_page_body</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-constant">Malwares</span>.<span class="ruby-identifier">malware_pattern</span>(<span class="ruby-identifier">chomped_url</span>))
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">malwares_found</span>.<span class="ruby-identifier">flatten!</span>
<span class="ruby-identifier">malwares_found</span>.<span class="ruby-identifier">uniq!</span>
<span class="ruby-ivar">@malwares</span> = <span class="ruby-identifier">malwares_found</span>
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@malwares</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- malwares-source -->
</div>
</div><!-- malwares-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,450 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: Plugin</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/plugins/plugin_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/plugins/plugin.rb">lib/common/plugins/plugin.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Object.html">Object</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-new">::new</a></li>
<li><a href="#method-i-register_options">#register_options</a></li>
<li><a href="#method-i-run">#run</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">Plugin</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="author-attribute-method" class="method-detail">
<a name="author"></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">author</span><span
class="attribute-access-type">[R]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="registered_options-attribute-method" class="method-detail">
<a name="registered_options"></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">registered_options</span><span
class="attribute-access-type">[R]</span>
</div>
<div class="method-description">
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="new-method" class="method-detail ">
<a name="method-c-new"></a>
<div class="method-heading">
<span class="method-name">new</span><span
class="method-args">(infos = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="new-source">
<pre>
<span class="ruby-comment"># File lib/common/plugins/plugin.rb, line 6</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">infos</span> = {})
<span class="ruby-ivar">@author</span> = <span class="ruby-identifier">infos</span>[<span class="ruby-value">:author</span>]
<span class="ruby-keyword">end</span></pre>
</div><!-- new-source -->
</div>
</div><!-- new-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="register_options-method" class="method-detail ">
<a name="method-i-register_options"></a>
<div class="method-heading">
<span class="method-name">register_options</span><span
class="method-args">(*options)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>param <a href="Array.html">Array</a> options</p>
<div class="method-source-code" id="register_options-source">
<pre>
<span class="ruby-comment"># File lib/common/plugins/plugin.rb, line 15</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">register_options</span>(*<span class="ruby-identifier">options</span>)
<span class="ruby-identifier">options</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">option</span><span class="ruby-operator">|</span>
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">option</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
<span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;Each option must be an array, #{option.class} supplied&quot;</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@registered_options</span> = <span class="ruby-identifier">options</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- register_options-source -->
</div>
</div><!-- register_options-method -->
<div id="run-method" class="method-detail ">
<a name="method-i-run"></a>
<div class="method-heading">
<span class="method-name">run</span><span
class="method-args">(options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="run-source">
<pre>
<span class="ruby-comment"># File lib/common/plugins/plugin.rb, line 10</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">run</span>(<span class="ruby-identifier">options</span> = {})
<span class="ruby-identifier">raise</span> <span class="ruby-constant">NotImplementedError</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- run-source -->
</div>
</div><!-- run-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,449 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: Plugins</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/plugins/plugins_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/plugins/plugins.rb">lib/common/plugins/plugins.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Array.html">Array</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-new">::new</a></li>
<li><a href="#method-i-register">#register</a></li>
<li><a href="#method-i-register_plugin">#register_plugin</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">Plugins</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="option_parser-attribute-method" class="method-detail">
<a name="option_parser"></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">option_parser</span><span
class="attribute-access-type">[R]</span>
</div>
<div class="method-description">
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="new-method" class="method-detail ">
<a name="method-c-new"></a>
<div class="method-heading">
<span class="method-name">new</span><span
class="method-args">(option_parser = nil)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="new-source">
<pre>
<span class="ruby-comment"># File lib/common/plugins/plugins.rb, line 6</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">option_parser</span> = <span class="ruby-keyword">nil</span>)
<span class="ruby-keyword">if</span> <span class="ruby-identifier">option_parser</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">option_parser</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">CustomOptionParser</span>)
<span class="ruby-ivar">@option_parser</span> = <span class="ruby-identifier">option_parser</span>
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;The parser must be an instance of CustomOptionParser, #{option_parser.class} supplied&quot;</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">else</span>
<span class="ruby-ivar">@option_parser</span> = <span class="ruby-constant">CustomOptionParser</span>.<span class="ruby-identifier">new</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- new-source -->
</div>
</div><!-- new-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="register-method" class="method-detail ">
<a name="method-i-register"></a>
<div class="method-heading">
<span class="method-name">register</span><span
class="method-args">(*plugins)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>param Array(<a href="Plugin.html">Plugin</a>) plugins</p>
<div class="method-source-code" id="register-source">
<pre>
<span class="ruby-comment"># File lib/common/plugins/plugins.rb, line 19</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">register</span>(*<span class="ruby-identifier">plugins</span>)
<span class="ruby-identifier">plugins</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">plugin</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">register_plugin</span>(<span class="ruby-identifier">plugin</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- register-source -->
</div>
</div><!-- register-method -->
<div id="register_plugin-method" class="method-detail ">
<a name="method-i-register_plugin"></a>
<div class="method-heading">
<span class="method-name">register_plugin</span><span
class="method-args">(plugin)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>param <a href="Plugin.html">Plugin</a> plugin</p>
<div class="method-source-code" id="register_plugin-source">
<pre>
<span class="ruby-comment"># File lib/common/plugins/plugins.rb, line 26</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">register_plugin</span>(<span class="ruby-identifier">plugin</span>)
<span class="ruby-keyword">if</span> <span class="ruby-identifier">plugin</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Plugin</span>)
<span class="ruby-keyword">self</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">plugin</span>
<span class="ruby-comment"># A plugin may not have options</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">plugin_options</span> = <span class="ruby-identifier">plugin</span>.<span class="ruby-identifier">registered_options</span>
<span class="ruby-ivar">@option_parser</span>.<span class="ruby-identifier">add</span>(<span class="ruby-identifier">plugin_options</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;The argument must be an instance of Plugin, #{plugin.class} supplied&quot;</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- register_plugin-source -->
</div>
</div><!-- register_plugin-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,471 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: README [RDoc Documentation]</title>
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
<script src="./js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<p><em>__</em></p>
<pre>__ _______ _____
\ \ / / __ \ / ____|
\ \ /\ / /| |__) | (___ ___ __ _ _ __
\ \/ \/ / | ___/ \___ \ / __|/ _` | '_ \
\ /\ / | | ____) | (__| (_| | | | |
\/ \/ |_| |_____/ \___|\__,_|_| |_|</pre>
<p><em>__</em></p>
<h2>LICENSE==</h2>
<p>WPScan - WordPress Security Scanner Copyright (C) 2011-2013 The WPScan Team</p>
<p>This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.</p>
<p>This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.</p>
<p>You should have received a copy of the GNU General Public License along
with this program. If not, see &lt;<a
href="http://www.gnu.org/licenses/">www.gnu.org/licenses/</a>&gt;.</p>
<p>ryandewhurst at gmail</p>
<h2>INSTALL==</h2>
<pre>WPScan comes pre-installed on the following Linux distributions:
* BackBox Linux
* BackTrack Linux (outdated WPScan installed, update needed)
* Pentoo
* SamuraiWTF
Prerequisites:
* Windows not supported
* Ruby =&gt; 1.9
* RubyGems
* Git
-&gt; Installing on Debian/Ubuntu:
sudo apt-get install libcurl4-gnutls-dev libopenssl-ruby libxml2 libxml2-dev libxslt1-dev ruby-dev
git clone https://github.com/wpscanteam/wpscan.git
cd wpscan
sudo gem install bundler &amp;&amp; bundle install --without test development
-&gt; Installing on Fedora:
sudo yum install libcurl-devel
git clone https://github.com/wpscanteam/wpscan.git
cd wpscan
sudo gem install bundler &amp;&amp; bundle install --without test development
-&gt; Installing on Archlinux:
pacman -Sy ruby
pacman -Sy libyaml
git clone https://github.com/wpscanteam/wpscan.git
cd wpscan
sudo gem install bundler &amp;&amp; bundle install --without test development
gem install typhoeus
gem install nokogiri
-&gt; Installing on Mac OS X:
git clone https://github.com/wpscanteam/wpscan.git
cd wpscan
sudo gem install bundler &amp;&amp; bundle install --without test development</pre>
<h2>KNOWN ISSUES==</h2>
<pre>- Typhoeus segmentation fault:
Update cURL to version =&gt; 7.21 (may have to install from source)
See http://code.google.com/p/wpscan/issues/detail?id=81
- Proxy not working:
Update cURL to version =&gt; 7.21.7 (may have to install from source).
Installation from sources :
- Grab the sources from http://curl.haxx.se/download.html
- Decompress the archive
- Open the folder with the extracted files
- Run ./configure
- Run make
- Run sudo make install
- Run sudo ldconfig
- cannot load such file -- readline:
Run sudo aptitude install libreadline5-dev libncurses5-dev
Then, open the directory of the readline gem (you have to locate it)
cd ~/.rvm/src/ruby-1.9.2-p180/ext/readline
ruby extconf.rb
make
make install
See http://vvv.tobiassjosten.net/ruby-on-rails/fixing-readline-for-the-ruby-on-rails-console/ for more details
- no such file to load -- rubygems
Run update-alternatives --config ruby
And select your ruby version
See https://github.com/wpscanteam/wpscan/issues/148</pre>
<h2>WPSCAN ARGUMENTS==</h2>
<p>update Update to the latest revision</p>
<p>url | -u &lt;target url&gt; The WordPress URL/domain to scan.</p>
<p>force | -f Forces WPScan to not check if the remote site is running
WordPress.</p>
<p>enumerate | -e [option(s)] Enumeration.</p>
<pre>option :
u usernames from id 1 to 10
u[10-20] usernames from id 10 to 20 (you must write [] chars)
p plugins
vp only vulnerable plugins
ap all plugins (can take a long time)
tt timthumbs
t themes
vp only vulnerable themes
at all themes (can take a long time)
Multiple values are allowed : '-e tt,p' will enumerate timthumbs and plugins
If no option is supplied, the default is 'vt,tt,u,vp'</pre>
<p>exclude-content-based &lt;regexp or string&gt; Used with the
enumeration option, will exclude all occurrences based on the regexp or
string supplied</p>
<pre>You do not need to provide the regexp delimiters, but you must write the quotes (simple or double)</pre>
<p>config-file | -c &lt;config file&gt; Use the specified config file</p>
<p>follow-redirection If the target url has a redirection, it will be
followed without asking if you wanted to do so or not</p>
<p>wp-content-dir &lt;wp content dir&gt; WPScan try to find the content
directory (ie wp-content) by scanning the index page, however you can
specified it. Subdirectories are allowed</p>
<p>wp-plugins-dir &lt;wp plugins dir&gt; Same thing than wp-content-dir but
for the plugins directory. If not supplied, WPScan will use
wp-content-dir/plugins. Subdirectories are allowed</p>
<p>proxy &lt;[protocol://]host:port&gt; Supply a proxy (will override the
one from conf/browser.conf.json).</p>
<pre>HTTP, SOCKS4 SOCKS4A and SOCKS5 are supported. If no protocol is given (format host:port), HTTP will be used</pre>
<p>proxy-auth &lt;username:password&gt; Supply the proxy login credentials
(will override the one from conf/browser.conf.json).</p>
<p>basic-auth &lt;username:password&gt; Set the HTTP Basic authentication</p>
<p>wordlist | -w &lt;wordlist&gt; Supply a wordlist for the password bruter
and do the brute.</p>
<p>threads | -t &lt;number of threads&gt; The number of threads to use when
multi-threading requests. (will override the value from
conf/browser.conf.json)</p>
<p>username | -U &lt;username&gt; Only brute force the supplied username.</p>
<p>help | -h This help screen.</p>
<p>verbose | -v Verbose output.</p>
<h2>WPSCAN EXAMPLES==</h2>
<p>Do non-intrusive checks…</p>
<pre>ruby wpscan.rb --url www.example.com</pre>
<p>Do wordlist password brute force on enumerated users using 50 threads…</p>
<pre>ruby wpscan.rb --url www.example.com --wordlist darkc0de.lst --threads 50</pre>
<p>Do wordlist password brute force on the admin username only…</p>
<pre>ruby wpscan.rb --url www.example.com --wordlist darkc0de.lst --username admin</pre>
<p>Enumerate installed plugins…</p>
<pre>ruby wpscan.rb --url www.example.com --enumerate p</pre>
<h2>WPSTOOLS ARGUMENTS==</h2>
<p>help | -h This help screen. Verbose | -v Verbose output. update
| -u Update to the latest revision. generate_plugin_list [number of
pages] Generate a new data/plugins.txt file. (supply number of
<b>pages</b> to parse, default : 150) gpl Alias for generate_plugin_list
check-local-vulnerable-files | clvf &lt;local directory&gt; Perform a
recursive scan in the &lt;local directory&gt; to find vulnerable files or
shells</p>
<h2>WPSTOOLS EXAMPLES==</h2>
<ul><li>
<p>Generate a new most popular plugin list, up to 150 pages …</p>
</li></ul>
<p>ruby <a href="wpstools_rb.html">wpstools.rb</a> generate_plugin_list 150</p>
<ul><li>
<p>Locally scan a wordpress installation for vulnerable files or shells :</p>
</li></ul>
<p>ruby <a href="wpstools_rb.html">wpstools.rb</a>
check-local-vulnerable-files /var/www/wordpress/</p>
<h3>PROJECT HOME===</h3>
<p><a href="http://www.wpscan.org">www.wpscan.org</a></p>
<h3>REPOSITORY===</h3>
<p><a
href="https://github.com/wpscanteam/wpscan">github.com/wpscanteam/wpscan</a></p>
<h3>ISSUES===</h3>
<p><a
href="https://github.com/wpscanteam/wpscan/issues">github.com/wpscanteam/wpscan/issues</a></p>
<h3>SPONSOR===</h3>
<p>WPScan is sponsored by the RandomStorm Open Source Initiative.</p>
<p>Visit RandomStorm at <a
href="http://www.randomstorm.com">www.randomstorm.com</a></p>
</div>
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,632 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: StatsPlugin</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/wpstools/plugins/stats/stats_plugin_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/wpstools/plugins/stats/stats_plugin.rb">lib/wpstools/plugins/stats/stats_plugin.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Plugin.html">Plugin</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-new">::new</a></li>
<li><a href="#method-i-lines_in_file">#lines_in_file</a></li>
<li><a href="#method-i-plugin_vulns_count">#plugin_vulns_count</a></li>
<li><a href="#method-i-run">#run</a></li>
<li><a href="#method-i-theme_vulns_count">#theme_vulns_count</a></li>
<li><a href="#method-i-total_plugins">#total_plugins</a></li>
<li><a href="#method-i-total_themes">#total_themes</a></li>
<li><a href="#method-i-vuln_plugin_count">#vuln_plugin_count</a></li>
<li><a href="#method-i-vuln_theme_count">#vuln_theme_count</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">StatsPlugin</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="new-method" class="method-detail ">
<a name="method-c-new"></a>
<div class="method-heading">
<span class="method-name">new</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="new-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/stats/stats_plugin.rb, line 4</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>
<span class="ruby-keyword">super</span>(<span class="ruby-identifier">author</span><span class="ruby-operator">:</span> <span class="ruby-string">'WPScanTeam - Christian Mehlmauer'</span>)
<span class="ruby-identifier">register_options</span>(
[<span class="ruby-string">'--stats'</span>, <span class="ruby-string">'--s'</span>, <span class="ruby-string">'Show WpScan Database statistics'</span>]
)
<span class="ruby-keyword">end</span></pre>
</div><!-- new-source -->
</div>
</div><!-- new-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="lines_in_file-method" class="method-detail ">
<a name="method-i-lines_in_file"></a>
<div class="method-heading">
<span class="method-name">lines_in_file</span><span
class="method-args">(file)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="lines_in_file-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/stats/stats_plugin.rb, line 50</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">lines_in_file</span>(<span class="ruby-identifier">file</span>)
<span class="ruby-constant">IO</span>.<span class="ruby-identifier">readlines</span>(<span class="ruby-identifier">file</span>).<span class="ruby-identifier">size</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- lines_in_file-source -->
</div>
</div><!-- lines_in_file-method -->
<div id="plugin_vulns_count-method" class="method-detail ">
<a name="method-i-plugin_vulns_count"></a>
<div class="method-heading">
<span class="method-name">plugin_vulns_count</span><span
class="method-args">(file=PLUGINS_VULNS_FILE)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="plugin_vulns_count-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/stats/stats_plugin.rb, line 34</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">plugin_vulns_count</span>(<span class="ruby-identifier">file</span>=<span class="ruby-constant">PLUGINS_VULNS_FILE</span>)
<span class="ruby-identifier">xml</span>(<span class="ruby-identifier">file</span>).<span class="ruby-identifier">xpath</span>(<span class="ruby-string">&quot;count(//vulnerability)&quot;</span>).<span class="ruby-identifier">to_i</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- plugin_vulns_count-source -->
</div>
</div><!-- plugin_vulns_count-method -->
<div id="run-method" class="method-detail ">
<a name="method-i-run"></a>
<div class="method-heading">
<span class="method-name">run</span><span
class="method-args">(options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="run-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/stats/stats_plugin.rb, line 12</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">run</span>(<span class="ruby-identifier">options</span> = {})
<span class="ruby-keyword">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:stats</span>]
<span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;Wpscan Databse Statistics:&quot;</span>
<span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;--------------------------&quot;</span>
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;[#] Total vulnerable plugins: #{vuln_plugin_count}&quot;</span>
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;[#] Total vulnerable themes: #{vuln_theme_count}&quot;</span>
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;[#] Total plugin vulnerabilities: #{plugin_vulns_count}&quot;</span>
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;[#] Total theme vulnerabilities: #{theme_vulns_count}&quot;</span>
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;[#] Total plugins to enumerate: #{total_plugins}&quot;</span>
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;[#] Total themes to enumerate: #{total_themes}&quot;</span>
<span class="ruby-identifier">puts</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- run-source -->
</div>
</div><!-- run-method -->
<div id="theme_vulns_count-method" class="method-detail ">
<a name="method-i-theme_vulns_count"></a>
<div class="method-heading">
<span class="method-name">theme_vulns_count</span><span
class="method-args">(file=THEMES_VULNS_FILE)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="theme_vulns_count-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/stats/stats_plugin.rb, line 38</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">theme_vulns_count</span>(<span class="ruby-identifier">file</span>=<span class="ruby-constant">THEMES_VULNS_FILE</span>)
<span class="ruby-identifier">xml</span>(<span class="ruby-identifier">file</span>).<span class="ruby-identifier">xpath</span>(<span class="ruby-string">&quot;count(//vulnerability)&quot;</span>).<span class="ruby-identifier">to_i</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- theme_vulns_count-source -->
</div>
</div><!-- theme_vulns_count-method -->
<div id="total_plugins-method" class="method-detail ">
<a name="method-i-total_plugins"></a>
<div class="method-heading">
<span class="method-name">total_plugins</span><span
class="method-args">(file=PLUGINS_FULL_FILE)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="total_plugins-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/stats/stats_plugin.rb, line 42</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">total_plugins</span>(<span class="ruby-identifier">file</span>=<span class="ruby-constant">PLUGINS_FULL_FILE</span>)
<span class="ruby-identifier">lines_in_file</span>(<span class="ruby-identifier">file</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- total_plugins-source -->
</div>
</div><!-- total_plugins-method -->
<div id="total_themes-method" class="method-detail ">
<a name="method-i-total_themes"></a>
<div class="method-heading">
<span class="method-name">total_themes</span><span
class="method-args">(file=THEMES_FULL_FILE)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="total_themes-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/stats/stats_plugin.rb, line 46</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">total_themes</span>(<span class="ruby-identifier">file</span>=<span class="ruby-constant">THEMES_FULL_FILE</span>)
<span class="ruby-identifier">lines_in_file</span>(<span class="ruby-identifier">file</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- total_themes-source -->
</div>
</div><!-- total_themes-method -->
<div id="vuln_plugin_count-method" class="method-detail ">
<a name="method-i-vuln_plugin_count"></a>
<div class="method-heading">
<span class="method-name">vuln_plugin_count</span><span
class="method-args">(file=PLUGINS_VULNS_FILE)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="vuln_plugin_count-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/stats/stats_plugin.rb, line 26</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vuln_plugin_count</span>(<span class="ruby-identifier">file</span>=<span class="ruby-constant">PLUGINS_VULNS_FILE</span>)
<span class="ruby-identifier">xml</span>(<span class="ruby-identifier">file</span>).<span class="ruby-identifier">xpath</span>(<span class="ruby-string">&quot;count(//plugin)&quot;</span>).<span class="ruby-identifier">to_i</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- vuln_plugin_count-source -->
</div>
</div><!-- vuln_plugin_count-method -->
<div id="vuln_theme_count-method" class="method-detail ">
<a name="method-i-vuln_theme_count"></a>
<div class="method-heading">
<span class="method-name">vuln_theme_count</span><span
class="method-args">(file=THEMES_VULNS_FILE)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="vuln_theme_count-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/stats/stats_plugin.rb, line 30</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vuln_theme_count</span>(<span class="ruby-identifier">file</span>=<span class="ruby-constant">THEMES_VULNS_FILE</span>)
<span class="ruby-identifier">xml</span>(<span class="ruby-identifier">file</span>).<span class="ruby-identifier">xpath</span>(<span class="ruby-string">&quot;count(//theme)&quot;</span>).<span class="ruby-identifier">to_i</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- vuln_theme_count-source -->
</div>
</div><!-- vuln_theme_count-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,435 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: SvnParser</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/wpstools/plugins/list_generator/svn_parser_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/wpstools/plugins/list_generator/svn_parser.rb">lib/wpstools/plugins/list_generator/svn_parser.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Object.html">Object</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-new">::new</a></li>
<li><a href="#method-i-parse">#parse</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">SvnParser</h1>
<div id="description" class="description">
<p>This Class Parses SVN Repositories via HTTP</p>
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="keep_empty_dirs-attribute-method" class="method-detail">
<a name="keep_empty_dirs"></a>
<a name="keep_empty_dirs="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">keep_empty_dirs</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="svn_root-attribute-method" class="method-detail">
<a name="svn_root"></a>
<a name="svn_root="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">svn_root</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="verbose-attribute-method" class="method-detail">
<a name="verbose"></a>
<a name="verbose="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">verbose</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="new-method" class="method-detail ">
<a name="method-c-new"></a>
<div class="method-heading">
<span class="method-name">new</span><span
class="method-args">(svn_root)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="new-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/list_generator/svn_parser.rb, line 7</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">svn_root</span>)
<span class="ruby-ivar">@svn_root</span> = <span class="ruby-identifier">svn_root</span>
<span class="ruby-ivar">@svn_browser</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>
<span class="ruby-ivar">@svn_hydra</span> = <span class="ruby-ivar">@svn_browser</span>.<span class="ruby-identifier">hydra</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- new-source -->
</div>
</div><!-- new-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="parse-method" class="method-detail ">
<a name="method-i-parse"></a>
<div class="method-heading">
<span class="method-name">parse</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="parse-source">
<pre>
<span class="ruby-comment"># File lib/wpstools/plugins/list_generator/svn_parser.rb, line 13</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">parse</span>
<span class="ruby-identifier">get_root_directories</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- parse-source -->
</div>
</div><!-- parse-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,421 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: SvnUpdater</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/updater/svn_updater_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/updater/svn_updater.rb">lib/common/updater/svn_updater.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Updater.html">Updater</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-is_installed-3F">#is_installed?</a></li>
<li><a href="#method-i-local_revision_number">#local_revision_number</a></li>
<li><a href="#method-i-update">#update</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">SvnUpdater</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Constants -->
<div id="constants-list" class="section">
<h3 class="section-header">Constants</h3>
<dl>
<dt><a name="REVISION_PATTERN">REVISION_PATTERN</a></dt>
<dd class="description"></dd>
<dt><a name="TRUNK_URL">TRUNK_URL</a></dt>
<dd class="description"></dd>
</dl>
</div>
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="is_installed-3F-method" class="method-detail ">
<a name="method-i-is_installed-3F"></a>
<div class="method-heading">
<span class="method-name">is_installed?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="is_installed-3F-source">
<pre>
<span class="ruby-comment"># File lib/common/updater/svn_updater.rb, line 9</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_installed?</span>
<span class="ruby-node">%[svn info &quot;#@repo_directory&quot; --xml 2&gt;&amp;1]</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/revision=/</span> <span class="ruby-operator">?</span> <span class="ruby-keyword">true</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- is_installed-3F-source -->
</div>
</div><!-- is_installed-3F-method -->
<div id="local_revision_number-method" class="method-detail ">
<a name="method-i-local_revision_number"></a>
<div class="method-heading">
<span class="method-name">local_revision_number</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="local_revision_number-source">
<pre>
<span class="ruby-comment"># File lib/common/updater/svn_updater.rb, line 13</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">local_revision_number</span>
<span class="ruby-identifier">local_revision</span> = <span class="ruby-node">%[svn info &quot;#@repo_directory&quot; --xml 2&gt;&amp;1]</span>
<span class="ruby-identifier">local_revision</span>[<span class="ruby-constant">REVISION_PATTERN</span>, <span class="ruby-value">1</span>].<span class="ruby-identifier">to_s</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- local_revision_number-source -->
</div>
</div><!-- local_revision_number-method -->
<div id="update-method" class="method-detail ">
<a name="method-i-update"></a>
<div class="method-heading">
<span class="method-name">update</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="update-source">
<pre>
<span class="ruby-comment"># File lib/common/updater/svn_updater.rb, line 18</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>
<span class="ruby-node">%[svn up &quot;#@repo_directory&quot;]</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- update-source -->
</div>
</div><!-- update-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,295 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: Typhoeus</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/typhoeus_cache_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/typhoeus_cache.rb">lib/common/typhoeus_cache.rb</a></li>
<li><a href="./lib/common/hacks_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/hacks.rb">lib/common/hacks.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Namespace Contents -->
<div id="namespace-list-section" class="section">
<h3 class="section-header">Namespace</h3>
<ul class="link-list">
<li><span class="type">CLASS</span> <a href="Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><span class="type">CLASS</span> <a href="Typhoeus/Response.html">Typhoeus::Response</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">Typhoeus</h1>
<div id="description" class="description">
<p>Implementaion of a cache_key (Typhoeus::Request#hash has too many options)</p>
<hr style="height: 1px">
<p>This is used in <a href="WpItem/Existable.html">WpItem::Existable</a></p>
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,293 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: Typhoeus::Request</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/typhoeus_cache_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/typhoeus_cache.rb">lib/common/typhoeus_cache.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="../Object.html">Object</a></p>
</div>
<!-- Namespace Contents -->
<div id="namespace-list-section" class="section">
<h3 class="section-header">Namespace</h3>
<ul class="link-list">
<li><span class="type">MODULE</span> <a href="Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">Typhoeus::Request</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,324 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: Typhoeus::Request::Cacheable</title>
<link rel="stylesheet" href="../../rdoc.css" type="text/css" media="screen" />
<script src="../../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../../index.html">Home</a>
<a href="../../index.html#classes">Classes</a>
<a href="../../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../../lib/common/typhoeus_cache_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/typhoeus_cache.rb">lib/common/typhoeus_cache.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-cache_key">#cache_key</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../../WpItem.html">WpItem</a></li>
<li><a href="../../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../../Typhoeus.html">Typhoeus</a></li>
<li><a href="../../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../../WpTheme.html">WpTheme</a></li>
<li><a href="../../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../../WpVersion.html">WpVersion</a></li>
<li><a href="../../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../../WpItems.html">WpItems</a></li>
<li><a href="../../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../../WpUsers.html">WpUsers</a></li>
<li><a href="../../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../../Vulnerability.html">Vulnerability</a></li>
<li><a href="../../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../../WpPlugin.html">WpPlugin</a></li>
<li><a href="../../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../../WpPlugins.html">WpPlugins</a></li>
<li><a href="../../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../../WpThemes.html">WpThemes</a></li>
<li><a href="../../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../../WpUser.html">WpUser</a></li>
<li><a href="../../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../../Array.html">Array</a></li>
<li><a href="../../Browser.html">Browser</a></li>
<li><a href="../../BruteForce.html">BruteForce</a></li>
<li><a href="../../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../../GenerateList.html">GenerateList</a></li>
<li><a href="../../GitUpdater.html">GitUpdater</a></li>
<li><a href="../../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../../Malwares.html">Malwares</a></li>
<li><a href="../../Object.html">Object</a></li>
<li><a href="../../Plugin.html">Plugin</a></li>
<li><a href="../../Plugins.html">Plugins</a></li>
<li><a href="../../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../../SvnParser.html">SvnParser</a></li>
<li><a href="../../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../../URI.html">URI</a></li>
<li><a href="../../Updater.html">Updater</a></li>
<li><a href="../../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../../WebSite.html">WebSite</a></li>
<li><a href="../../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../../WpReadme.html">WpReadme</a></li>
<li><a href="../../WpTarget.html">WpTarget</a></li>
<li><a href="../../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">Typhoeus::Request::Cacheable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="cache_key-method" class="method-detail ">
<a name="method-i-cache_key"></a>
<div class="method-heading">
<span class="method-name">cache_key</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="cache_key-source">
<pre>
<span class="ruby-comment"># File lib/common/typhoeus_cache.rb, line 8</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">cache_key</span>
<span class="ruby-constant">Digest</span><span class="ruby-operator">::</span><span class="ruby-constant">SHA2</span>.<span class="ruby-identifier">hexdigest</span>(<span class="ruby-node">&quot;#{url}-#{options[:body]}-#{options[:method]}&quot;</span>)[<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-value">32</span>]
<span class="ruby-keyword">end</span></pre>
</div><!-- cache_key-source -->
</div>
</div><!-- cache_key-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,337 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: Typhoeus::Response</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/hacks_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/hacks.rb">lib/common/hacks.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="../Object.html">Object</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-has_valid_hash-3F">#has_valid_hash?</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">Typhoeus::Response</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="has_valid_hash-3F-method" class="method-detail ">
<a name="method-i-has_valid_hash-3F"></a>
<div class="method-heading">
<span class="method-name">has_valid_hash?</span><span
class="method-args">(error_404_hash, homepage_hash)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Compare the body hash to error_404_hash and homepage_hash returns true if
they are different, false otherwise</p>
<p>@return [ Boolean ]</p>
<div class="method-source-code" id="has_valid_hash-3F-source">
<pre>
<span class="ruby-comment"># File lib/common/hacks.rb, line 40</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_valid_hash?</span>(<span class="ruby-identifier">error_404_hash</span>, <span class="ruby-identifier">homepage_hash</span>)
<span class="ruby-identifier">body_hash</span> = <span class="ruby-constant">Digest</span><span class="ruby-operator">::</span><span class="ruby-constant">MD5</span>.<span class="ruby-identifier">hexdigest</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">body</span>)
<span class="ruby-identifier">body_hash</span> <span class="ruby-operator">!=</span> <span class="ruby-identifier">error_404_hash</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">body_hash</span> <span class="ruby-operator">!=</span> <span class="ruby-identifier">homepage_hash</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_valid_hash-3F-source -->
</div>
</div><!-- has_valid_hash-3F-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,367 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: TyphoeusCache</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/typhoeus_cache_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/typhoeus_cache.rb">lib/common/typhoeus_cache.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="CacheFileStore.html">CacheFileStore</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-get">#get</a></li>
<li><a href="#method-i-set">#set</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">TyphoeusCache</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="get-method" class="method-detail ">
<a name="method-i-get"></a>
<div class="method-heading">
<span class="method-name">get</span><span
class="method-args">(request)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="get-source">
<pre>
<span class="ruby-comment"># File lib/common/typhoeus_cache.rb, line 17</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">request</span>)
<span class="ruby-identifier">read_entry</span>(<span class="ruby-identifier">request</span>.<span class="ruby-identifier">cache_key</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- get-source -->
</div>
</div><!-- get-method -->
<div id="set-method" class="method-detail ">
<a name="method-i-set"></a>
<div class="method-heading">
<span class="method-name">set</span><span
class="method-args">(request, response)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="set-source">
<pre>
<span class="ruby-comment"># File lib/common/typhoeus_cache.rb, line 21</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set</span>(<span class="ruby-identifier">request</span>, <span class="ruby-identifier">response</span>)
<span class="ruby-identifier">write_entry</span>(<span class="ruby-identifier">request</span>.<span class="ruby-identifier">cache_key</span>, <span class="ruby-identifier">response</span>, <span class="ruby-identifier">request</span>.<span class="ruby-identifier">cache_ttl</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- set-source -->
</div>
</div><!-- set-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,359 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: URI</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/hacks_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/hacks.rb">lib/common/hacks.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-encode">#encode</a></li>
<li><a href="#method-i-escape">#escape</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">URI</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="encode-method" class="method-detail method-alias">
<a name="method-i-encode"></a>
<div class="method-heading">
<span class="method-name">encode</span><span
class="method-args">(str)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
</div>
<div class="aliases">
Alias for: <a href="URI.html#method-i-escape">escape</a>
</div>
</div><!-- encode-method -->
<div id="escape-method" class="method-detail ">
<a name="method-i-escape"></a>
<div class="method-heading">
<span class="method-name">escape</span><span
class="method-args">(str)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="escape-source">
<pre>
<span class="ruby-comment"># File lib/common/hacks.rb, line 8</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">escape</span>(<span class="ruby-identifier">str</span>)
<span class="ruby-constant">URI</span><span class="ruby-operator">::</span><span class="ruby-constant">Parser</span>.<span class="ruby-identifier">new</span>.<span class="ruby-identifier">escape</span>(<span class="ruby-identifier">str</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- escape-source -->
</div>
<div class="aliases">
Also aliased as: <a href="URI.html#method-i-encode">encode</a>
</div>
</div><!-- escape-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,469 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: Updater</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/updater/updater_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/updater/updater.rb">lib/common/updater/updater.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Object.html">Object</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-new">::new</a></li>
<li><a href="#method-i-is_installed-3F">#is_installed?</a></li>
<li><a href="#method-i-local_revision_number">#local_revision_number</a></li>
<li><a href="#method-i-update">#update</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">Updater</h1>
<div id="description" class="description">
<p>This class act as an absract one</p>
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="repo_directory-attribute-method" class="method-detail">
<a name="repo_directory"></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">repo_directory</span><span
class="attribute-access-type">[R]</span>
</div>
<div class="method-description">
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="new-method" class="method-detail ">
<a name="method-c-new"></a>
<div class="method-heading">
<span class="method-name">new</span><span
class="method-args">(repo_directory = nil)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>TODO : add a last / to <a
href="Updater.html#attribute-i-repo_directory">repo_directory</a> if its
not present</p>
<div class="method-source-code" id="new-source">
<pre>
<span class="ruby-comment"># File lib/common/updater/updater.rb, line 8</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">repo_directory</span> = <span class="ruby-keyword">nil</span>)
<span class="ruby-ivar">@repo_directory</span> = <span class="ruby-identifier">repo_directory</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- new-source -->
</div>
</div><!-- new-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="is_installed-3F-method" class="method-detail ">
<a name="method-i-is_installed-3F"></a>
<div class="method-heading">
<span class="method-name">is_installed?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="is_installed-3F-source">
<pre>
<span class="ruby-comment"># File lib/common/updater/updater.rb, line 12</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_installed?</span>
<span class="ruby-identifier">raise</span> <span class="ruby-constant">NotImplementedError</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- is_installed-3F-source -->
</div>
</div><!-- is_installed-3F-method -->
<div id="local_revision_number-method" class="method-detail ">
<a name="method-i-local_revision_number"></a>
<div class="method-heading">
<span class="method-name">local_revision_number</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="local_revision_number-source">
<pre>
<span class="ruby-comment"># File lib/common/updater/updater.rb, line 16</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">local_revision_number</span>
<span class="ruby-identifier">raise</span> <span class="ruby-constant">NotImplementedError</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- local_revision_number-source -->
</div>
</div><!-- local_revision_number-method -->
<div id="update-method" class="method-detail ">
<a name="method-i-update"></a>
<div class="method-heading">
<span class="method-name">update</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="update-source">
<pre>
<span class="ruby-comment"># File lib/common/updater/updater.rb, line 20</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>
<span class="ruby-identifier">raise</span> <span class="ruby-constant">NotImplementedError</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- update-source -->
</div>
</div><!-- update-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,380 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: UpdaterFactory</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/updater/updater_factory_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/updater/updater_factory.rb">lib/common/updater/updater_factory.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Object.html">Object</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-available_updaters_classes">::available_updaters_classes</a></li>
<li><a href="#method-c-get_updater">::get_updater</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">UpdaterFactory</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="get_updater-method" class="method-detail ">
<a name="method-c-get_updater"></a>
<div class="method-heading">
<span class="method-name">get_updater</span><span
class="method-args">(repo_directory)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="get_updater-source">
<pre>
<span class="ruby-comment"># File lib/common/updater/updater_factory.rb, line 4</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">get_updater</span>(<span class="ruby-identifier">repo_directory</span>)
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">available_updaters_classes</span>().<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">updater_symbol</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">updater</span> = <span class="ruby-constant">Object</span>.<span class="ruby-identifier">const_get</span>(<span class="ruby-identifier">updater_symbol</span>).<span class="ruby-identifier">new</span>(<span class="ruby-identifier">repo_directory</span>)
<span class="ruby-keyword">if</span> <span class="ruby-identifier">updater</span>.<span class="ruby-identifier">is_installed?</span>
<span class="ruby-keyword">return</span> <span class="ruby-identifier">updater</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">nil</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- get_updater-source -->
</div>
</div><!-- get_updater-method -->
</div><!-- public-class-method-details -->
<div id="protected-class-method-details" class="method-section section">
<h3 class="section-header">Protected Class Methods</h3>
<div id="available_updaters_classes-method" class="method-detail ">
<a name="method-c-available_updaters_classes"></a>
<div class="method-heading">
<span class="method-name">available_updaters_classes</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>return array of class symbols</p>
<div class="method-source-code" id="available_updaters_classes-source">
<pre>
<span class="ruby-comment"># File lib/common/updater/updater_factory.rb, line 18</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">available_updaters_classes</span>
<span class="ruby-constant">Object</span>.<span class="ruby-identifier">constants</span>.<span class="ruby-identifier">grep</span>(<span class="ruby-regexp">/^.+Updater$/</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- available_updaters_classes-source -->
</div>
</div><!-- available_updaters_classes-method -->
</div><!-- protected-class-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,308 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: Vulnerabilities</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/collections/vulnerabilities_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/vulnerabilities.rb">lib/common/collections/vulnerabilities.rb</a></li>
<li><a href="./lib/common/collections/vulnerabilities/output_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/vulnerabilities/output.rb">lib/common/collections/vulnerabilities/output.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Array.html">Array</a></p>
</div>
<!-- Namespace Contents -->
<div id="namespace-list-section" class="section">
<h3 class="section-header">Namespace</h3>
<ul class="link-list">
<li><span class="type">MODULE</span> <a href="Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
</ul>
</div>
<!-- Included Modules -->
<div id="includes-section" class="section">
<h3 class="section-header">Included Modules</h3>
<ul class="link-list">
<li><a class="include" href="Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">Vulnerabilities</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,326 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: Vulnerabilities::Output</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/collections/vulnerabilities/output_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/vulnerabilities/output.rb">lib/common/collections/vulnerabilities/output.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-output">#output</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">Vulnerabilities::Output</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="output-method" class="method-detail ">
<a name="method-i-output"></a>
<div class="method-heading">
<span class="method-name">output</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="output-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/vulnerabilities/output.rb, line 5</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">output</span>
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">v</span>.<span class="ruby-identifier">output</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- output-source -->
</div>
</div><!-- output-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,528 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: Vulnerability</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/models/vulnerability_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/vulnerability.rb">lib/common/models/vulnerability.rb</a></li>
<li><a href="./lib/common/models/vulnerability/output_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/vulnerability/output.rb">lib/common/models/vulnerability/output.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Object.html">Object</a></p>
</div>
<!-- Namespace Contents -->
<div id="namespace-list-section" class="section">
<h3 class="section-header">Namespace</h3>
<ul class="link-list">
<li><span class="type">MODULE</span> <a href="Vulnerability/Output.html">Vulnerability::Output</a></li>
</ul>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-load_from_xml_node">::load_from_xml_node</a></li>
<li><a href="#method-c-new">::new</a></li>
<li><a href="#method-i-3D-3D">#==</a></li>
</ul>
</div>
<!-- Included Modules -->
<div id="includes-section" class="section">
<h3 class="section-header">Included Modules</h3>
<ul class="link-list">
<li><a class="include" href="Vulnerability/Output.html">Vulnerability::Output</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">Vulnerability</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="metasploit_modules-attribute-method" class="method-detail">
<a name="metasploit_modules"></a>
<a name="metasploit_modules="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">metasploit_modules</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="references-attribute-method" class="method-detail">
<a name="references"></a>
<a name="references="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">references</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="title-attribute-method" class="method-detail">
<a name="title"></a>
<a name="title="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">title</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="type-attribute-method" class="method-detail">
<a name="type"></a>
<a name="type="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">type</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="load_from_xml_node-method" class="method-detail ">
<a name="method-c-load_from_xml_node"></a>
<div class="method-heading">
<span class="method-name">load_from_xml_node</span><span
class="method-args">(xml_node)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Create the <a href="Vulnerability.html">Vulnerability</a> from the xml_node</p>
<p>@param [ Nokogiri::XML::Node ] xml_node</p>
<p>@return [ <a href="Vulnerability.html">Vulnerability</a> ]</p>
<div class="method-source-code" id="load_from_xml_node-source">
<pre>
<span class="ruby-comment"># File lib/common/models/vulnerability.rb, line 37</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">load_from_xml_node</span>(<span class="ruby-identifier">xml_node</span>)
<span class="ruby-identifier">new</span>(
<span class="ruby-identifier">xml_node</span>.<span class="ruby-identifier">search</span>(<span class="ruby-string">'title'</span>).<span class="ruby-identifier">text</span>,
<span class="ruby-identifier">xml_node</span>.<span class="ruby-identifier">search</span>(<span class="ruby-string">'type'</span>).<span class="ruby-identifier">text</span>,
<span class="ruby-identifier">xml_node</span>.<span class="ruby-identifier">search</span>(<span class="ruby-string">'reference'</span>).<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:text</span>),
<span class="ruby-identifier">xml_node</span>.<span class="ruby-identifier">search</span>(<span class="ruby-string">'metasploit'</span>).<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:text</span>)
)
<span class="ruby-keyword">end</span></pre>
</div><!-- load_from_xml_node-source -->
</div>
</div><!-- load_from_xml_node-method -->
<div id="new-method" class="method-detail ">
<a name="method-c-new"></a>
<div class="method-heading">
<span class="method-name">new</span><span
class="method-args">(title, type, references, metasploit_modules = [])</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ String ] title The title of the vulnerability @param [ String ]
type The type of the vulnerability @param [ <a href="Array.html">Array</a>
] references References urls @param [ <a href="Array.html">Array</a> ] <a
href="Vulnerability.html#attribute-i-metasploit_modules">metasploit_modules</a>
Metasploit modules for the vulnerability</p>
<p>@return [ <a href="Vulnerability.html">Vulnerability</a> ]</p>
<div class="method-source-code" id="new-source">
<pre>
<span class="ruby-comment"># File lib/common/models/vulnerability.rb, line 16</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">title</span>, <span class="ruby-identifier">type</span>, <span class="ruby-identifier">references</span>, <span class="ruby-identifier">metasploit_modules</span> = [])
<span class="ruby-ivar">@title</span> = <span class="ruby-identifier">title</span>
<span class="ruby-ivar">@type</span> = <span class="ruby-identifier">type</span>
<span class="ruby-ivar">@references</span> = <span class="ruby-identifier">references</span>
<span class="ruby-ivar">@metasploit_modules</span> = <span class="ruby-identifier">metasploit_modules</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- new-source -->
</div>
</div><!-- new-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="3D-3D-method" class="method-detail ">
<a name="method-i-3D-3D"></a>
<div class="method-heading">
<span class="method-name">==</span><span
class="method-args">(other)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="Vulnerability.html">Vulnerability</a> ] other</p>
<p>@return [ Boolean ] :nocov:</p>
<div class="method-source-code" id="3D-3D-source">
<pre>
<span class="ruby-comment"># File lib/common/models/vulnerability.rb, line 27</span>
<span class="ruby-keyword">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">other</span>)
<span class="ruby-identifier">title</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">title</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">type</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">references</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">references</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- 3D-3D-source -->
</div>
</div><!-- 3D-3D-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,374 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: Vulnerability::Output</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/vulnerability/output_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/vulnerability/output.rb">lib/common/models/vulnerability/output.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-metasploit_module_url">::metasploit_module_url</a></li>
<li><a href="#method-i-output">#output</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">Vulnerability::Output</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="metasploit_module_url-method" class="method-detail ">
<a name="method-c-metasploit_module_url"></a>
<div class="method-heading">
<span class="method-name">metasploit_module_url</span><span
class="method-args">(module_path)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ] The url to the metasploit module page</p>
<div class="method-source-code" id="metasploit_module_url-source">
<pre>
<span class="ruby-comment"># File lib/common/models/vulnerability/output.rb, line 18</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">metasploit_module_url</span>(<span class="ruby-identifier">module_path</span>)
<span class="ruby-comment"># remove leading slash</span>
<span class="ruby-identifier">module_path</span> = <span class="ruby-identifier">module_path</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp">/^\//</span>, <span class="ruby-string">''</span>)
<span class="ruby-node">&quot;http://www.metasploit.com/modules/#{module_path}&quot;</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- metasploit_module_url-source -->
</div>
</div><!-- metasploit_module_url-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="output-method" class="method-detail ">
<a name="method-i-output"></a>
<div class="method-heading">
<span class="method-name">output</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>output the vulnerability</p>
<div class="method-source-code" id="output-source">
<pre>
<span class="ruby-comment"># File lib/common/models/vulnerability/output.rb, line 6</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">output</span>
<span class="ruby-identifier">puts</span> <span class="ruby-string">' |'</span>
<span class="ruby-identifier">puts</span> <span class="ruby-string">' | '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">red</span>(<span class="ruby-node">&quot;* Title: #{title}&quot;</span>)
<span class="ruby-identifier">references</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">puts</span> <span class="ruby-string">' | '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">red</span>(<span class="ruby-node">&quot;* Reference: #{r}&quot;</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">metasploit_modules</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">puts</span> <span class="ruby-string">' | '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">red</span>(<span class="ruby-node">&quot;* Metasploit module: #{metasploit_module_url(m)}&quot;</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- output-source -->
</div>
</div><!-- output-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,925 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: WebSite</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/wpscan/web_site_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/wpscan/web_site.rb">lib/wpscan/web_site.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Object.html">Object</a></p>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-new">::new</a></li>
<li><a href="#method-c-page_hash">::page_hash</a></li>
<li><a href="#method-i-error_404_hash">#error_404_hash</a></li>
<li><a href="#method-i-has_basic_auth-3F">#has_basic_auth?</a></li>
<li><a href="#method-i-has_robots-3F">#has_robots?</a></li>
<li><a href="#method-i-has_xml_rpc-3F">#has_xml_rpc?</a></li>
<li><a href="#method-i-homepage_hash">#homepage_hash</a></li>
<li><a href="#method-i-online-3F">#online?</a></li>
<li><a href="#method-i-redirection">#redirection</a></li>
<li><a href="#method-i-robots_url">#robots_url</a></li>
<li><a href="#method-i-rss_url">#rss_url</a></li>
<li><a href="#method-i-url">#url</a></li>
<li><a href="#method-i-url-3D">#url=</a></li>
<li><a href="#method-i-xml_rpc_url">#xml_rpc_url</a></li>
<li><a href="#method-i-xml_rpc_url_from_body">#xml_rpc_url_from_body</a></li>
<li><a href="#method-i-xml_rpc_url_from_headers">#xml_rpc_url_from_headers</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">WebSite</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="uri-attribute-method" class="method-detail">
<a name="uri"></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">uri</span><span
class="attribute-access-type">[R]</span>
</div>
<div class="method-description">
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="new-method" class="method-detail ">
<a name="method-c-new"></a>
<div class="method-heading">
<span class="method-name">new</span><span
class="method-args">(site_url)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="new-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 6</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">site_url</span>)
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">url</span> = <span class="ruby-identifier">site_url</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- new-source -->
</div>
</div><!-- new-method -->
<div id="page_hash-method" class="method-detail ">
<a name="method-c-page_hash"></a>
<div class="method-heading">
<span class="method-name">page_hash</span><span
class="method-args">(url)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Return the MD5 hash of the page given by url</p>
<div class="method-source-code" id="page_hash-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 79</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">page_hash</span>(<span class="ruby-identifier">url</span>)
<span class="ruby-constant">Digest</span><span class="ruby-operator">::</span><span class="ruby-constant">MD5</span>.<span class="ruby-identifier">hexdigest</span>(<span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">url</span>).<span class="ruby-identifier">body</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- page_hash-source -->
</div>
</div><!-- page_hash-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="error_404_hash-method" class="method-detail ">
<a name="method-i-error_404_hash"></a>
<div class="method-heading">
<span class="method-name">error_404_hash</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Return the MD5 hash of a 404 page</p>
<div class="method-source-code" id="error_404_hash-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 91</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">error_404_hash</span>
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@error_404_hash</span>
<span class="ruby-identifier">non_existant_page</span> = <span class="ruby-constant">Digest</span><span class="ruby-operator">::</span><span class="ruby-constant">MD5</span>.<span class="ruby-identifier">hexdigest</span>(<span class="ruby-identifier">rand</span>(<span class="ruby-value">999_999_999</span>).<span class="ruby-identifier">to_s</span>) <span class="ruby-operator">+</span> <span class="ruby-string">'.html'</span>
<span class="ruby-ivar">@error_404_hash</span> = <span class="ruby-constant">WebSite</span>.<span class="ruby-identifier">page_hash</span>(<span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">non_existant_page</span>).<span class="ruby-identifier">to_s</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@error_404_hash</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- error_404_hash-source -->
</div>
</div><!-- error_404_hash-method -->
<div id="has_basic_auth-3F-method" class="method-detail ">
<a name="method-i-has_basic_auth-3F"></a>
<div class="method-heading">
<span class="method-name">has_basic_auth?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="has_basic_auth-3F-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 23</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_basic_auth?</span>
<span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">to_s</span>).<span class="ruby-identifier">code</span> <span class="ruby-operator">==</span> <span class="ruby-value">401</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_basic_auth-3F-source -->
</div>
</div><!-- has_basic_auth-3F-method -->
<div id="has_robots-3F-method" class="method-detail ">
<a name="method-i-has_robots-3F"></a>
<div class="method-heading">
<span class="method-name">has_robots?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Checks if a robots.txt file exists</p>
<div class="method-source-code" id="has_robots-3F-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 107</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_robots?</span>
<span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">robots_url</span>).<span class="ruby-identifier">code</span> <span class="ruby-operator">==</span> <span class="ruby-value">200</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_robots-3F-source -->
</div>
</div><!-- has_robots-3F-method -->
<div id="has_xml_rpc-3F-method" class="method-detail ">
<a name="method-i-has_xml_rpc-3F"></a>
<div class="method-heading">
<span class="method-name">has_xml_rpc?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="has_xml_rpc-3F-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 27</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_xml_rpc?</span>
<span class="ruby-operator">!</span><span class="ruby-identifier">xml_rpc_url</span>.<span class="ruby-identifier">nil?</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_xml_rpc-3F-source -->
</div>
</div><!-- has_xml_rpc-3F-method -->
<div id="homepage_hash-method" class="method-detail ">
<a name="method-i-homepage_hash"></a>
<div class="method-heading">
<span class="method-name">homepage_hash</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="homepage_hash-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 83</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">homepage_hash</span>
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@homepage_hash</span>
<span class="ruby-ivar">@homepage_hash</span> = <span class="ruby-constant">WebSite</span>.<span class="ruby-identifier">page_hash</span>(<span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">to_s</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@homepage_hash</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- homepage_hash-source -->
</div>
</div><!-- homepage_hash-method -->
<div id="online-3F-method" class="method-detail ">
<a name="method-i-online-3F"></a>
<div class="method-heading">
<span class="method-name">online?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Checks if the remote website is up.</p>
<div class="method-source-code" id="online-3F-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 19</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">online?</span>
<span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">to_s</span>).<span class="ruby-identifier">code</span> <span class="ruby-operator">!=</span> <span class="ruby-value">0</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- online-3F-source -->
</div>
</div><!-- online-3F-method -->
<div id="redirection-method" class="method-detail ">
<a name="method-i-redirection"></a>
<div class="method-heading">
<span class="method-name">redirection</span><span
class="method-args">(url = nil)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>See if the remote url returns 30x redirect This method is recursive Return
a string with the redirection or nil</p>
<div class="method-source-code" id="redirection-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 61</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">redirection</span>(<span class="ruby-identifier">url</span> = <span class="ruby-keyword">nil</span>)
<span class="ruby-identifier">redirection</span> = <span class="ruby-keyword">nil</span>
<span class="ruby-identifier">url</span> <span class="ruby-operator">||=</span> <span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">to_s</span>
<span class="ruby-identifier">response</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">url</span>)
<span class="ruby-keyword">if</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">code</span> <span class="ruby-operator">==</span> <span class="ruby-value">301</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">code</span> <span class="ruby-operator">==</span> <span class="ruby-value">302</span>
<span class="ruby-identifier">redirection</span> = <span class="ruby-identifier">response</span>.<span class="ruby-identifier">headers_hash</span>[<span class="ruby-string">'location'</span>]
<span class="ruby-comment"># Let's check if there is a redirection in the redirection</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">other_redirection</span> = <span class="ruby-identifier">redirection</span>(<span class="ruby-identifier">redirection</span>)
<span class="ruby-identifier">redirection</span> = <span class="ruby-identifier">other_redirection</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">redirection</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- redirection-source -->
</div>
</div><!-- redirection-method -->
<div id="robots_url-method" class="method-detail ">
<a name="method-i-robots_url"></a>
<div class="method-heading">
<span class="method-name">robots_url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Gets a robots.txt URL</p>
<div class="method-source-code" id="robots_url-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 112</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">robots_url</span>
<span class="ruby-identifier">robots</span> = <span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">clone</span>
<span class="ruby-identifier">robots</span>.<span class="ruby-identifier">path</span> = <span class="ruby-string">'/robots.txt'</span>
<span class="ruby-identifier">robots</span>.<span class="ruby-identifier">to_s</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- robots_url-source -->
</div>
</div><!-- robots_url-method -->
<div id="rss_url-method" class="method-detail ">
<a name="method-i-rss_url"></a>
<div class="method-heading">
<span class="method-name">rss_url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Will try to find the rss url in the homepage Only the first one found iw
returned</p>
<div class="method-source-code" id="rss_url-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 101</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">rss_url</span>
<span class="ruby-identifier">homepage_body</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">to_s</span>).<span class="ruby-identifier">body</span>
<span class="ruby-identifier">homepage_body</span>[<span class="ruby-regexp">%{&lt;link .* type=&quot;application/rss\+xml&quot; .* href=&quot;([^&quot;]+)&quot; /&gt;}</span>, <span class="ruby-value">1</span>]
<span class="ruby-keyword">end</span></pre>
</div><!-- rss_url-source -->
</div>
</div><!-- rss_url-method -->
<div id="url-method" class="method-detail ">
<a name="method-i-url"></a>
<div class="method-heading">
<span class="method-name">url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="url-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 14</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">url</span>
<span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">to_s</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- url-source -->
</div>
</div><!-- url-method -->
<div id="url-3D-method" class="method-detail ">
<a name="method-i-url-3D"></a>
<div class="method-heading">
<span class="method-name">url=</span><span
class="method-args">(url)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="url-3D-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 10</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">url=</span>(<span class="ruby-identifier">url</span>)
<span class="ruby-ivar">@uri</span> = <span class="ruby-constant">URI</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">add_trailing_slash</span>(<span class="ruby-identifier">add_http_protocol</span>(<span class="ruby-identifier">url</span>)))
<span class="ruby-keyword">end</span></pre>
</div><!-- url-3D-source -->
</div>
</div><!-- url-3D-method -->
<div id="xml_rpc_url-method" class="method-detail ">
<a name="method-i-xml_rpc_url"></a>
<div class="method-heading">
<span class="method-name">xml_rpc_url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>See <a
href="http://www.hixie.ch/specs/pingback/pingback-1.0#TOC2.3">www.hixie.ch/specs/pingback/pingback-1.0#TOC2.3</a></p>
<div class="method-source-code" id="xml_rpc_url-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 32</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">xml_rpc_url</span>
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@xmlrpc_url</span>
<span class="ruby-ivar">@xmlrpc_url</span> = <span class="ruby-identifier">xml_rpc_url_from_headers</span>() <span class="ruby-operator">||</span> <span class="ruby-identifier">xml_rpc_url_from_body</span>()
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@xmlrpc_url</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- xml_rpc_url-source -->
</div>
</div><!-- xml_rpc_url-method -->
<div id="xml_rpc_url_from_body-method" class="method-detail ">
<a name="method-i-xml_rpc_url_from_body"></a>
<div class="method-heading">
<span class="method-name">xml_rpc_url_from_body</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="xml_rpc_url_from_body-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 52</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">xml_rpc_url_from_body</span>
<span class="ruby-identifier">body</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">to_s</span>).<span class="ruby-identifier">body</span>
<span class="ruby-identifier">body</span>[<span class="ruby-regexp">%{&lt;link rel=&quot;pingback&quot; href=&quot;([^&quot;]+)&quot; ?\/?&gt;}</span>, <span class="ruby-value">1</span>]
<span class="ruby-keyword">end</span></pre>
</div><!-- xml_rpc_url_from_body-source -->
</div>
</div><!-- xml_rpc_url_from_body-method -->
<div id="xml_rpc_url_from_headers-method" class="method-detail ">
<a name="method-i-xml_rpc_url_from_headers"></a>
<div class="method-heading">
<span class="method-name">xml_rpc_url_from_headers</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="xml_rpc_url_from_headers-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/web_site.rb, line 39</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">xml_rpc_url_from_headers</span>
<span class="ruby-identifier">headers</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">to_s</span>).<span class="ruby-identifier">headers_hash</span>
<span class="ruby-identifier">xmlrpc_url</span> = <span class="ruby-keyword">nil</span>
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">headers</span>.<span class="ruby-identifier">nil?</span>
<span class="ruby-identifier">pingback_url</span> = <span class="ruby-identifier">headers</span>[<span class="ruby-string">'X-Pingback'</span>]
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">pingback_url</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">pingback_url</span>.<span class="ruby-identifier">empty?</span>
<span class="ruby-identifier">xmlrpc_url</span> = <span class="ruby-identifier">pingback_url</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">xmlrpc_url</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- xml_rpc_url_from_headers-source -->
</div>
</div><!-- xml_rpc_url_from_headers-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,398 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpConfigBackup</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/wpscan/modules/wp_config_backup_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/wpscan/modules/wp_config_backup.rb">lib/wpscan/modules/wp_config_backup.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-config_backup_files">::config_backup_files</a></li>
<li><a href="#method-i-config_backup">#config_backup</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpConfigBackup</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="config_backup_files-method" class="method-detail ">
<a name="method-c-config_backup_files"></a>
<div class="method-heading">
<span class="method-name">config_backup_files</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return <a href="Array.html">Array</a></p>
<div class="method-source-code" id="config_backup_files-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_config_backup.rb, line 39</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">config_backup_files</span>
<span class="ruby-node">%{
wp-config.php~ #wp-config.php# wp-config.php.save wp-config.php.swp wp-config.php.swo wp-config.php_bak
wp-config.bak wp-config.php.bak wp-config.save wp-config.old wp-config.php.old wp-config.php.orig
wp-config.orig wp-config.php.original wp-config.original wp-config.txt
}</span> <span class="ruby-comment"># thanks to Feross.org for these</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- config_backup_files-source -->
</div>
</div><!-- config_backup_files-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="config_backup-method" class="method-detail ">
<a name="method-i-config_backup"></a>
<div class="method-heading">
<span class="method-name">config_backup</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Checks to see if wp-config.php has a backup See <a
href="http://www.feross.org/cmsploit/">www.feross.org/cmsploit/</a> return
an array of backup config files url</p>
<div class="method-source-code" id="config_backup-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_config_backup.rb, line 7</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">config_backup</span>
<span class="ruby-identifier">found</span> = []
<span class="ruby-identifier">backups</span> = <span class="ruby-constant">WpConfigBackup</span>.<span class="ruby-identifier">config_backup_files</span>
<span class="ruby-identifier">browser</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>
<span class="ruby-identifier">hydra</span> = <span class="ruby-identifier">browser</span>.<span class="ruby-identifier">hydra</span>
<span class="ruby-identifier">queue_count</span> = <span class="ruby-value">0</span>
<span class="ruby-identifier">backups</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">file</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">file_url</span> = <span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-constant">URI</span>.<span class="ruby-identifier">escape</span>(<span class="ruby-identifier">file</span>)).<span class="ruby-identifier">to_s</span>
<span class="ruby-identifier">request</span> = <span class="ruby-identifier">browser</span>.<span class="ruby-identifier">forge_request</span>(<span class="ruby-identifier">file_url</span>)
<span class="ruby-identifier">request</span>.<span class="ruby-identifier">on_complete</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">response</span><span class="ruby-operator">|</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-regexp">%{define}</span>] <span class="ruby-keyword">and</span> <span class="ruby-keyword">not</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-regexp">%{&lt;\s?html}</span>]
<span class="ruby-identifier">found</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">file_url</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">hydra</span>.<span class="ruby-identifier">queue</span>(<span class="ruby-identifier">request</span>)
<span class="ruby-identifier">queue_count</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">queue_count</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">browser</span>.<span class="ruby-identifier">max_threads</span>
<span class="ruby-identifier">hydra</span>.<span class="ruby-identifier">run</span>
<span class="ruby-identifier">queue_count</span> = <span class="ruby-value">0</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">hydra</span>.<span class="ruby-identifier">run</span>
<span class="ruby-identifier">found</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- config_backup-source -->
</div>
</div><!-- config_backup-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,360 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpFullPathDisclosure</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/wpscan/modules/wp_full_path_disclosure_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/wpscan/modules/wp_full_path_disclosure.rb">lib/wpscan/modules/wp_full_path_disclosure.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-full_path_disclosure_url">#full_path_disclosure_url</a></li>
<li><a href="#method-i-has_full_path_disclosure-3F">#has_full_path_disclosure?</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpFullPathDisclosure</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="full_path_disclosure_url-method" class="method-detail ">
<a name="method-i-full_path_disclosure_url"></a>
<div class="method-heading">
<span class="method-name">full_path_disclosure_url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="full_path_disclosure_url-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_full_path_disclosure.rb, line 10</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">full_path_disclosure_url</span>
<span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-string">'wp-includes/rss-functions.php'</span>).<span class="ruby-identifier">to_s</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- full_path_disclosure_url-source -->
</div>
</div><!-- full_path_disclosure_url-method -->
<div id="has_full_path_disclosure-3F-method" class="method-detail ">
<a name="method-i-has_full_path_disclosure-3F"></a>
<div class="method-heading">
<span class="method-name">has_full_path_disclosure?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Check for Full Path Disclosure (FPD)</p>
<div class="method-source-code" id="has_full_path_disclosure-3F-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_full_path_disclosure.rb, line 5</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_full_path_disclosure?</span>
<span class="ruby-identifier">response</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">full_path_disclosure_url</span>())
<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-regexp">%{Fatal error}</span>]
<span class="ruby-keyword">end</span></pre>
</div><!-- has_full_path_disclosure-3F-source -->
</div>
</div><!-- has_full_path_disclosure-3F-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,849 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: WpItem</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/models/wp_item/output_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_item/output.rb">lib/common/models/wp_item/output.rb</a></li>
<li><a href="./lib/common/models/wp_item/findable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_item/findable.rb">lib/common/models/wp_item/findable.rb</a></li>
<li><a href="./lib/common/models/wp_item/infos_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_item/infos.rb">lib/common/models/wp_item/infos.rb</a></li>
<li><a href="./lib/common/models/wp_item/versionable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_item/versionable.rb">lib/common/models/wp_item/versionable.rb</a></li>
<li><a href="./lib/common/models/wp_item/existable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_item/existable.rb">lib/common/models/wp_item/existable.rb</a></li>
<li><a href="./lib/common/models/wp_item/vulnerable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_item/vulnerable.rb">lib/common/models/wp_item/vulnerable.rb</a></li>
<li><a href="./lib/common/models/wp_item_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_item.rb">lib/common/models/wp_item.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Object.html">Object</a></p>
</div>
<!-- Namespace Contents -->
<div id="namespace-list-section" class="section">
<h3 class="section-header">Namespace</h3>
<ul class="link-list">
<li><span class="type">MODULE</span> <a href="WpItem/Existable.html">WpItem::Existable</a></li>
<li><span class="type">MODULE</span> <a href="WpItem/Findable.html">WpItem::Findable</a></li>
<li><span class="type">MODULE</span> <a href="WpItem/Infos.html">WpItem::Infos</a></li>
<li><span class="type">MODULE</span> <a href="WpItem/Output.html">WpItem::Output</a></li>
<li><span class="type">MODULE</span> <a href="WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><span class="type">MODULE</span> <a href="WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
</ul>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-new">::new</a></li>
<li><a href="#method-i-3C-3D-3E">#<=></a></li>
<li><a href="#method-i-3D-3D">#==</a></li>
<li><a href="#method-i-3D-3D-3D">#===</a></li>
<li><a href="#method-i-allowed_options">#allowed_options</a></li>
<li><a href="#method-i-forge_uri">#forge_uri</a></li>
<li><a href="#method-i-found_from-3D">#found_from=</a></li>
<li><a href="#method-i-path-3D">#path=</a></li>
<li><a href="#method-i-uri">#uri</a></li>
<li><a href="#method-i-url">#url</a></li>
</ul>
</div>
<!-- Included Modules -->
<div id="includes-section" class="section">
<h3 class="section-header">Included Modules</h3>
<ul class="link-list">
<li><a class="include" href="WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a class="include" href="WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a class="include" href="WpItem/Existable.html">WpItem::Existable</a></li>
<li><a class="include" href="WpItem/Infos.html">WpItem::Infos</a></li>
<li><a class="include" href="WpItem/Output.html">WpItem::Output</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">WpItem</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="found_from-attribute-method" class="method-detail">
<a name="found_from"></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">found_from</span><span
class="attribute-access-type">[R]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="name-attribute-method" class="method-detail">
<a name="name"></a>
<a name="name="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">name</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="path-attribute-method" class="method-detail">
<a name="path"></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">path</span><span
class="attribute-access-type">[R]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="version-attribute-method" class="method-detail">
<a name="version"></a>
<a name="version="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">version</span><span
class="attribute-access-type">[W]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="wp_content_dir-attribute-method" class="method-detail">
<a name="wp_content_dir"></a>
<a name="wp_content_dir="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">wp_content_dir</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="wp_plugins_dir-attribute-method" class="method-detail">
<a name="wp_plugins_dir"></a>
<a name="wp_plugins_dir="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">wp_plugins_dir</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="new-method" class="method-detail ">
<a name="method-c-new"></a>
<div class="method-heading">
<span class="method-name">new</span><span
class="method-args">(target_base_uri, options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="URI.html">URI</a> ] target_base_uri @param [ Hash ]
options See allowed_option</p>
<p>@return [ <a href="WpItem.html">WpItem</a> ]</p>
<div class="method-source-code" id="new-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item.rb, line 31</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">target_base_uri</span>, <span class="ruby-identifier">options</span> = {})
<span class="ruby-identifier">options</span>[<span class="ruby-value">:wp_content_dir</span>] <span class="ruby-operator">||=</span> <span class="ruby-string">'wp-content'</span>
<span class="ruby-identifier">options</span>[<span class="ruby-value">:wp_plugins_dir</span>] <span class="ruby-operator">||=</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:wp_content_dir</span>] <span class="ruby-operator">+</span> <span class="ruby-string">'/plugins'</span>
<span class="ruby-identifier">set_options</span>(<span class="ruby-identifier">options</span>)
<span class="ruby-identifier">forge_uri</span>(<span class="ruby-identifier">target_base_uri</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- new-source -->
</div>
</div><!-- new-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="3C-3D-3E-method" class="method-detail ">
<a name="method-i-3C-3D-3E"></a>
<div class="method-heading">
<span class="method-name">&lt;=&gt;</span><span
class="method-args">(other)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="WpItem.html">WpItem</a> ] other</p>
<div class="method-source-code" id="3C-3D-3E-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item.rb, line 88</span>
<span class="ruby-keyword">def</span> <span class="ruby-operator">&lt;=&gt;</span>(<span class="ruby-identifier">other</span>)
<span class="ruby-identifier">name</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">name</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- 3C-3D-3E-source -->
</div>
</div><!-- 3C-3D-3E-method -->
<div id="3D-3D-method" class="method-detail ">
<a name="method-i-3D-3D"></a>
<div class="method-heading">
<span class="method-name">==</span><span
class="method-args">(other)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="WpItem.html">WpItem</a> ] other</p>
<div class="method-source-code" id="3D-3D-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item.rb, line 93</span>
<span class="ruby-keyword">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">other</span>)
<span class="ruby-identifier">name</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">name</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- 3D-3D-source -->
</div>
</div><!-- 3D-3D-method -->
<div id="3D-3D-3D-method" class="method-detail ">
<a name="method-i-3D-3D-3D"></a>
<div class="method-heading">
<span class="method-name">===</span><span
class="method-args">(other)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="WpItem.html">WpItem</a> ] other</p>
<div class="method-source-code" id="3D-3D-3D-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item.rb, line 98</span>
<span class="ruby-keyword">def</span> <span class="ruby-operator">===</span>(<span class="ruby-identifier">other</span>)
<span class="ruby-keyword">self</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">version</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">version</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- 3D-3D-3D-source -->
</div>
</div><!-- 3D-3D-3D-method -->
<div id="allowed_options-method" class="method-detail ">
<a name="method-i-allowed_options"></a>
<div class="method-heading">
<span class="method-name">allowed_options</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ <a href="Array.html">Array</a> ] Make it private ?</p>
<div class="method-source-code" id="allowed_options-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item.rb, line 23</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">allowed_options</span>
[<span class="ruby-value">:name</span>, <span class="ruby-value">:wp_content_dir</span>, <span class="ruby-value">:wp_plugins_dir</span>, <span class="ruby-value">:path</span>, <span class="ruby-value">:version</span>, <span class="ruby-value">:vulns_file</span>]
<span class="ruby-keyword">end</span></pre>
</div><!-- allowed_options-source -->
</div>
</div><!-- allowed_options-method -->
<div id="forge_uri-method" class="method-detail ">
<a name="method-i-forge_uri"></a>
<div class="method-heading">
<span class="method-name">forge_uri</span><span
class="method-args">(target_base_uri)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="URI.html">URI</a> ] target_base_uri</p>
<p>@return [ void ]</p>
<div class="method-source-code" id="forge_uri-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item.rb, line 61</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">forge_uri</span>(<span class="ruby-identifier">target_base_uri</span>)
<span class="ruby-ivar">@uri</span> = <span class="ruby-identifier">target_base_uri</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- forge_uri-source -->
</div>
</div><!-- forge_uri-method -->
<div id="found_from-3D-method" class="method-detail ">
<a name="method-i-found_from-3D"></a>
<div class="method-heading">
<span class="method-name">found_from=</span><span
class="method-args">(method)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Sets the <a href="WpItem.html#attribute-i-found_from">found_from</a>
attribute</p>
<p>@param [ String ] method The method which found the <a
href="WpItem.html">WpItem</a></p>
<p>@return [ void ]</p>
<div class="method-source-code" id="found_from-3D-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item/findable.rb, line 10</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">found_from=</span>(<span class="ruby-identifier">method</span>)
<span class="ruby-identifier">found</span> = <span class="ruby-identifier">method</span>[<span class="ruby-regexp">%{find_from_(.*)}</span>, <span class="ruby-value">1</span>]
<span class="ruby-ivar">@found_from</span> = <span class="ruby-identifier">found</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-string">'_'</span>, <span class="ruby-string">' '</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">found</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- found_from-3D-source -->
</div>
</div><!-- found_from-3D-method -->
<div id="path-3D-method" class="method-detail ">
<a name="method-i-path-3D"></a>
<div class="method-heading">
<span class="method-name">path=</span><span
class="method-args">(path)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Sets the path</p>
<p>Variable, such as $wp-plugins$ and $wp-content$ can be used and will be
replace by their value</p>
<p>@param [ String ] path</p>
<p>@return [ void ]</p>
<div class="method-source-code" id="path-3D-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item.rb, line 81</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">path=</span>(<span class="ruby-identifier">path</span>)
<span class="ruby-ivar">@path</span> = <span class="ruby-constant">URI</span>.<span class="ruby-identifier">encode</span>(
<span class="ruby-identifier">path</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">/\$wp-plugins\$/</span>, <span class="ruby-identifier">wp_plugins_dir</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">/\$wp-content\$/</span>, <span class="ruby-identifier">wp_content_dir</span>)
)
<span class="ruby-keyword">end</span></pre>
</div><!-- path-3D-source -->
</div>
</div><!-- path-3D-method -->
<div id="uri-method" class="method-detail ">
<a name="method-i-uri"></a>
<div class="method-heading">
<span class="method-name">uri</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ <a href="URI.html">URI</a> ] The uri to the <a
href="WpItem.html">WpItem</a>, with the path if present</p>
<div class="method-source-code" id="uri-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item.rb, line 66</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">uri</span>
<span class="ruby-identifier">path</span> <span class="ruby-operator">?</span> <span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">path</span>) <span class="ruby-operator">:</span> <span class="ruby-ivar">@uri</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- uri-source -->
</div>
</div><!-- uri-method -->
<div id="url-method" class="method-detail ">
<a name="method-i-url"></a>
<div class="method-heading">
<span class="method-name">url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ] The url to the <a href="WpItem.html">WpItem</a></p>
<div class="method-source-code" id="url-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item.rb, line 71</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">url</span>; <span class="ruby-identifier">uri</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-keyword">end</span></pre>
</div><!-- url-source -->
</div>
</div><!-- url-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,397 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpItem::Existable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_item/existable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_item/existable.rb">lib/common/models/wp_item/existable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-exists-3F">#exists?</a></li>
<li><a href="#method-i-exists_from_response-3F">#exists_from_response?</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpItem::Existable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="exists-3F-method" class="method-detail ">
<a name="method-i-exists-3F"></a>
<div class="method-heading">
<span class="method-name">exists?</span><span
class="method-args">(options = {}, response = nil)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Check the existence of the <a href="../WpItem.html">WpItem</a> If the
response is supplied, its used for the verification Otherwise a new
request is done</p>
<p>@param [ Hash ] options See exists_from_response? @param [ <a
href="../Typhoeus/Response.html">Typhoeus::Response</a> ] response</p>
<p>@return [ Boolean ]</p>
<div class="method-source-code" id="exists-3F-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item/existable.rb, line 13</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">options</span> = {}, <span class="ruby-identifier">response</span> = <span class="ruby-keyword">nil</span>)
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">response</span>
<span class="ruby-identifier">response</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">url</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">exists_from_response?</span>(<span class="ruby-identifier">response</span>, <span class="ruby-identifier">options</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- exists-3F-source -->
</div>
</div><!-- exists-3F-method -->
</div><!-- public-instance-method-details -->
<div id="protected-instance-method-details" class="method-section section">
<h3 class="section-header">Protected Instance Methods</h3>
<div id="exists_from_response-3F-method" class="method-detail ">
<a name="method-i-exists_from_response-3F"></a>
<div class="method-heading">
<span class="method-name">exists_from_response?</span><span
class="method-args">(response, options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="../Typhoeus/Response.html">Typhoeus::Response</a> ]
response @param [ options ] options</p>
<p>@option options [ Hash ] :error_404_hash The hash of the error 404 page
@option options [ Hash ] :homepage_hash The hash of the homepage @option
options [ Hash ] :exclude_content A regexp with the pattern to exclude from
the body of the response</p>
<p>@return [ Boolean ]</p>
<div class="method-source-code" id="exists_from_response-3F-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item/existable.rb, line 30</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">exists_from_response?</span>(<span class="ruby-identifier">response</span>, <span class="ruby-identifier">options</span> = {})
<span class="ruby-comment"># FIXME : The response is supposed to follow locations, so we should not have 301 or 302.
</span>
<span class="ruby-comment"># However, due to an issue with Typhoeus or Webmock, the location is not followed in specs
</span>
<span class="ruby-comment"># See https://github.com/typhoeus/typhoeus/issues/279
</span>
<span class="ruby-keyword">if</span> [<span class="ruby-value">200</span>, <span class="ruby-value">301</span>, <span class="ruby-value">302</span>, <span class="ruby-value">401</span>, <span class="ruby-value">403</span>].<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">code</span>)
<span class="ruby-keyword">if</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">has_valid_hash?</span>(<span class="ruby-identifier">options</span>[<span class="ruby-value">:error_404_hash</span>], <span class="ruby-identifier">options</span>[<span class="ruby-value">:homepage_hash</span>])
<span class="ruby-keyword">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:exclude_content</span>]
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">options</span>[<span class="ruby-value">:exclude_content</span>])
<span class="ruby-keyword">return</span> <span class="ruby-keyword">true</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">else</span>
<span class="ruby-keyword">return</span> <span class="ruby-keyword">true</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">false</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- exists_from_response-3F-source -->
</div>
</div><!-- exists_from_response-3F-method -->
</div><!-- protected-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>

View File

@@ -1,275 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpItem::Findable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_item/findable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_item/findable.rb">lib/common/models/wp_item/findable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpItem::Findable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,545 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpItem::Infos</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_item/infos_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_item/infos.rb">lib/common/models/wp_item/infos.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-changelog_url">#changelog_url</a></li>
<li><a href="#method-i-error_log_url">#error_log_url</a></li>
<li><a href="#method-i-has_changelog-3F">#has_changelog?</a></li>
<li><a href="#method-i-has_directory_listing-3F">#has_directory_listing?</a></li>
<li><a href="#method-i-has_error_log-3F">#has_error_log?</a></li>
<li><a href="#method-i-has_readme-3F">#has_readme?</a></li>
<li><a href="#method-i-readme_url">#readme_url</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpItem::Infos</h1>
<div id="description" class="description">
<p>@uri is used instead of uri to avoid the presence of the :path into it</p>
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="changelog_url-method" class="method-detail ">
<a name="method-i-changelog_url"></a>
<div class="method-heading">
<span class="method-name">changelog_url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ] The url to the changelog file</p>
<div class="method-source-code" id="changelog_url-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item/infos.rb, line 23</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">changelog_url</span>
<span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-string">'changelog.txt'</span>).<span class="ruby-identifier">to_s</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- changelog_url-source -->
</div>
</div><!-- changelog_url-method -->
<div id="error_log_url-method" class="method-detail ">
<a name="method-i-error_log_url"></a>
<div class="method-heading">
<span class="method-name">error_log_url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ] The url to the error_log file</p>
<div class="method-source-code" id="error_log_url-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item/infos.rb, line 48</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">error_log_url</span>
<span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-string">'error_log'</span>).<span class="ruby-identifier">to_s</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- error_log_url-source -->
</div>
</div><!-- error_log_url-method -->
<div id="has_changelog-3F-method" class="method-detail ">
<a name="method-i-has_changelog-3F"></a>
<div class="method-heading">
<span class="method-name">has_changelog?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ Boolean ]</p>
<div class="method-source-code" id="has_changelog-3F-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item/infos.rb, line 18</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_changelog?</span>
<span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">changelog_url</span>).<span class="ruby-identifier">code</span> <span class="ruby-operator">==</span> <span class="ruby-value">200</span> <span class="ruby-operator">?</span> <span class="ruby-keyword">true</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_changelog-3F-source -->
</div>
</div><!-- has_changelog-3F-method -->
<div id="has_directory_listing-3F-method" class="method-detail ">
<a name="method-i-has_directory_listing-3F"></a>
<div class="method-heading">
<span class="method-name">has_directory_listing?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ Boolean ]</p>
<div class="method-source-code" id="has_directory_listing-3F-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item/infos.rb, line 28</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_directory_listing?</span>
<span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">to_s</span>).<span class="ruby-identifier">body</span>[<span class="ruby-regexp">%{&lt;title&gt;Index of}</span>] <span class="ruby-operator">?</span> <span class="ruby-keyword">true</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_directory_listing-3F-source -->
</div>
</div><!-- has_directory_listing-3F-method -->
<div id="has_error_log-3F-method" class="method-detail ">
<a name="method-i-has_error_log-3F"></a>
<div class="method-heading">
<span class="method-name">has_error_log?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Discover any error_log files created by WordPress These are created by the
WordPress error_log() function They are normally found in the /plugins/
directory, however can also be found in their specific plugin dir. <a
href="http://www.exploit-db.com/ghdb/3714/">www.exploit-db.com/ghdb/3714/</a></p>
<p>Only the first 700 bytes are checked to avoid the download of the whole
file which can be very huge (like 2 Go)</p>
<p>@return [ Boolean ]</p>
<div class="method-source-code" id="has_error_log-3F-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item/infos.rb, line 42</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_error_log?</span>
<span class="ruby-identifier">response_body</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">error_log_url</span>, <span class="ruby-identifier">headers</span><span class="ruby-operator">:</span> {<span class="ruby-string">'range'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'bytes=0-700'</span>}).<span class="ruby-identifier">body</span>
<span class="ruby-identifier">response_body</span>[<span class="ruby-regexp">%{PHP Fatal error}</span>] <span class="ruby-operator">?</span> <span class="ruby-keyword">true</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_error_log-3F-source -->
</div>
</div><!-- has_error_log-3F-method -->
<div id="has_readme-3F-method" class="method-detail ">
<a name="method-i-has_readme-3F"></a>
<div class="method-heading">
<span class="method-name">has_readme?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ Boolean ]</p>
<div class="method-source-code" id="has_readme-3F-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item/infos.rb, line 8</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_readme?</span>
<span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">readme_url</span>).<span class="ruby-identifier">code</span> <span class="ruby-operator">==</span> <span class="ruby-value">200</span> <span class="ruby-operator">?</span> <span class="ruby-keyword">true</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_readme-3F-source -->
</div>
</div><!-- has_readme-3F-method -->
<div id="readme_url-method" class="method-detail ">
<a name="method-i-readme_url"></a>
<div class="method-heading">
<span class="method-name">readme_url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ] The url to the readme file</p>
<div class="method-source-code" id="readme_url-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item/infos.rb, line 13</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">readme_url</span>
<span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-string">'readme.txt'</span>).<span class="ruby-identifier">to_s</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- readme_url-source -->
</div>
</div><!-- readme_url-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,336 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpItem::Output</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_item/output_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_item/output.rb">lib/common/models/wp_item/output.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-output">#output</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpItem::Output</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="output-method" class="method-detail ">
<a name="method-i-output"></a>
<div class="method-heading">
<span class="method-name">output</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ Void ]</p>
<div class="method-source-code" id="output-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item/output.rb, line 6</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">output</span>
<span class="ruby-identifier">puts</span>
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot; | Name: #{self}&quot;</span> <span class="ruby-comment">#this will also output the version number if detected</span>
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot; | Location: #{url}&quot;</span>
<span class="ruby-comment">#puts &quot; | WordPress: #{wordpress_url}&quot; if wordpress_org_item?</span>
<span class="ruby-identifier">puts</span> <span class="ruby-string">' | Directory listing enabled: Yes'</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">has_directory_listing?</span>
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot; | Readme: #{readme_url}&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">has_readme?</span>
<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot; | Changelog: #{changelog_url}&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">has_changelog?</span>
<span class="ruby-identifier">vulnerabilities</span>.<span class="ruby-identifier">output</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">has_error_log?</span>
<span class="ruby-identifier">puts</span> <span class="ruby-string">' | '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">red</span>(<span class="ruby-string">'[!]'</span>) <span class="ruby-operator">+</span> <span class="ruby-node">&quot; An error_log file has been found : #{error_log_url}&quot;</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- output-source -->
</div>
</div><!-- output-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,366 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpItem::Versionable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_item/versionable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_item/versionable.rb">lib/common/models/wp_item/versionable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-to_s">#to_s</a></li>
<li><a href="#method-i-version">#version</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpItem::Versionable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="to_s-method" class="method-detail ">
<a name="method-i-to_s"></a>
<div class="method-heading">
<span class="method-name">to_s</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ]</p>
<div class="method-source-code" id="to_s-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item/versionable.rb, line 19</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
<span class="ruby-identifier">item_version</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">version</span>
<span class="ruby-node">&quot;#@name#{' v' + item_version.strip if item_version}&quot;</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- to_s-source -->
</div>
</div><!-- to_s-method -->
<div id="version-method" class="method-detail ">
<a name="method-i-version"></a>
<div class="method-heading">
<span class="method-name">version</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Get the version from the readme.txt</p>
<p>@return [ String ] The version number</p>
<div class="method-source-code" id="version-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item/versionable.rb, line 10</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">version</span>
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@version</span>
<span class="ruby-identifier">response</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">readme_url</span>)
<span class="ruby-ivar">@version</span> = <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-node">%{stable tag: #{WpVersion.version_pattern}}</span>, <span class="ruby-value">1</span>]
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@version</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- version-source -->
</div>
</div><!-- version-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,374 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpItem::Vulnerable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_item/vulnerable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_item/vulnerable.rb">lib/common/models/wp_item/vulnerable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-vulnerabilities">#vulnerabilities</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpItem::Vulnerable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="vulns_file-attribute-method" class="method-detail">
<a name="vulns_file"></a>
<a name="vulns_file="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">vulns_file</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="vulns_xpath-attribute-method" class="method-detail">
<a name="vulns_xpath"></a>
<a name="vulns_xpath="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">vulns_xpath</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="vulnerabilities-method" class="method-detail ">
<a name="method-i-vulnerabilities"></a>
<div class="method-heading">
<span class="method-name">vulnerabilities</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Get the vulnerabilities associated to the <a
href="../WpItem.html">WpItem</a></p>
<p>@return [ <a href="../Vulnerabilities.html">Vulnerabilities</a> ]</p>
<div class="method-source-code" id="vulnerabilities-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_item/vulnerable.rb, line 9</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vulnerabilities</span>
<span class="ruby-identifier">xml</span> = <span class="ruby-identifier">xml</span>(<span class="ruby-identifier">vulns_file</span>)
<span class="ruby-identifier">vulnerabilities</span> = <span class="ruby-constant">Vulnerabilities</span>.<span class="ruby-identifier">new</span>
<span class="ruby-identifier">xml</span>.<span class="ruby-identifier">xpath</span>(<span class="ruby-identifier">vulns_xpath</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">node</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">vulnerabilities</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">Vulnerability</span>.<span class="ruby-identifier">load_from_xml_node</span>(<span class="ruby-identifier">node</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">vulnerabilities</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- vulnerabilities-source -->
</div>
</div><!-- vulnerabilities-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,313 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: WpItems</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/collections/wp_items/output_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_items/output.rb">lib/common/collections/wp_items/output.rb</a></li>
<li><a href="./lib/common/collections/wp_items/detectable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_items/detectable.rb">lib/common/collections/wp_items/detectable.rb</a></li>
<li><a href="./lib/common/collections/wp_items_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_items.rb">lib/common/collections/wp_items.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="Array.html">Array</a></p>
</div>
<!-- Namespace Contents -->
<div id="namespace-list-section" class="section">
<h3 class="section-header">Namespace</h3>
<ul class="link-list">
<li><span class="type">MODULE</span> <a href="WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><span class="type">MODULE</span> <a href="WpItems/Output.html">WpItems::Output</a></li>
</ul>
</div>
<!-- Included Modules -->
<div id="includes-section" class="section">
<h3 class="section-header">Included Modules</h3>
<ul class="link-list">
<li><a class="include" href="WpItems/Output.html">WpItems::Output</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">WpItems</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,744 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpItems::Detectable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/collections/wp_items/detectable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_items/detectable.rb">lib/common/collections/wp_items/detectable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-aggressive_detection">#aggressive_detection</a></li>
<li><a href="#method-i-create_item">#create_item</a></li>
<li><a href="#method-i-item_class">#item_class</a></li>
<li><a href="#method-i-passive_detection">#passive_detection</a></li>
<li><a href="#method-i-request_params">#request_params</a></li>
<li><a href="#method-i-targets_items">#targets_items</a></li>
<li><a href="#method-i-targets_items_from_file">#targets_items_from_file</a></li>
<li><a href="#method-i-vulnerable_targets_items">#vulnerable_targets_items</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpItems::Detectable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="item_xpath-attribute-method" class="method-detail">
<a name="item_xpath"></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">item_xpath</span><span
class="attribute-access-type">[R]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="vulns_file-attribute-method" class="method-detail">
<a name="vulns_file"></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">vulns_file</span><span
class="attribute-access-type">[R]</span>
</div>
<div class="method-description">
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="aggressive_detection-method" class="method-detail ">
<a name="method-i-aggressive_detection"></a>
<div class="method-heading">
<span class="method-name">aggressive_detection</span><span
class="method-args">(wp_target, options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ Wptarget ] wp_target @param [ Hash ] options @option options [
Boolean ] :show_progression Whether or not output the progress bar @option
options [ Boolean ] :only_vulnerable Only check for vulnerable items
@option options [ String ] :exclude_content</p>
<p>@return [ <a href="../WpItems.html">WpItems</a> ]</p>
<div class="method-source-code" id="aggressive_detection-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_items/detectable.rb, line 14</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">aggressive_detection</span>(<span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">options</span> = {})
<span class="ruby-identifier">queue_count</span> = <span class="ruby-value">0</span>
<span class="ruby-identifier">request_count</span> = <span class="ruby-value">0</span>
<span class="ruby-identifier">browser</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>
<span class="ruby-identifier">hydra</span> = <span class="ruby-identifier">browser</span>.<span class="ruby-identifier">hydra</span>
<span class="ruby-identifier">targets</span> = <span class="ruby-identifier">targets_items</span>(<span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">options</span>)
<span class="ruby-identifier">targets_size</span> = <span class="ruby-identifier">targets</span>.<span class="ruby-identifier">size</span>
<span class="ruby-identifier">show_progression</span> = <span class="ruby-identifier">options</span>[<span class="ruby-value">:show_progression</span>] <span class="ruby-operator">||</span> <span class="ruby-keyword">false</span>
<span class="ruby-identifier">exist_options</span> = {
<span class="ruby-identifier">error_404_hash</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wp_target</span>.<span class="ruby-identifier">error_404_hash</span>,
<span class="ruby-identifier">homepage_hash</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wp_target</span>.<span class="ruby-identifier">homepage_hash</span>,
<span class="ruby-identifier">exclude_content</span><span class="ruby-operator">:</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:exclude_content</span>] <span class="ruby-operator">?</span> <span class="ruby-node">%{#{options[:exclude_content]}}</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">nil</span>
}
<span class="ruby-comment"># If we only want the vulnerable ones, the passive detection is ignored
</span>
<span class="ruby-comment"># Otherwise, a passive detection is performed, and results will be merged
</span>
<span class="ruby-identifier">results</span> = <span class="ruby-identifier">options</span>[<span class="ruby-value">:only_vulnerable</span>] <span class="ruby-operator">?</span> <span class="ruby-identifier">new</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">passive_detection</span>(<span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">options</span>)
<span class="ruby-identifier">targets</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">target_item</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">request</span> = <span class="ruby-identifier">browser</span>.<span class="ruby-identifier">forge_request</span>(<span class="ruby-identifier">target_item</span>.<span class="ruby-identifier">url</span>, <span class="ruby-identifier">request_params</span>)
<span class="ruby-identifier">request_count</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
<span class="ruby-identifier">request</span>.<span class="ruby-identifier">on_complete</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">response</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">print</span> <span class="ruby-node">&quot;\rChecking for #{targets_size} total ... #{(request_count * 100) / targets_size}% complete.&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">show_progression</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">target_item</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">exist_options</span>, <span class="ruby-identifier">response</span>)
<span class="ruby-keyword">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">results</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">target_item</span>)
<span class="ruby-identifier">results</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">target_item</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">hydra</span>.<span class="ruby-identifier">queue</span>(<span class="ruby-identifier">request</span>)
<span class="ruby-identifier">queue_count</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">queue_count</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">browser</span>.<span class="ruby-identifier">max_threads</span>
<span class="ruby-identifier">hydra</span>.<span class="ruby-identifier">run</span>
<span class="ruby-identifier">queue_count</span> = <span class="ruby-value">0</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">hydra</span>.<span class="ruby-identifier">run</span>
<span class="ruby-identifier">results</span>.<span class="ruby-identifier">sort!</span>
<span class="ruby-identifier">results</span> <span class="ruby-comment"># can't just return results.sort because the #sort returns an array, and we want a WpItems
</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- aggressive_detection-source -->
</div>
</div><!-- aggressive_detection-method -->
<div id="passive_detection-method" class="method-detail ">
<a name="method-i-passive_detection"></a>
<div class="method-heading">
<span class="method-name">passive_detection</span><span
class="method-args">(wp_target, options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="../WpTarget.html">WpTarget</a> ] wp_target @param [ Hash
] options</p>
<p>@return [ <a href="../WpItems.html">WpItems</a> ]</p>
<div class="method-source-code" id="passive_detection-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_items/detectable.rb, line 65</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">passive_detection</span>(<span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">options</span> = {})
<span class="ruby-identifier">results</span> = <span class="ruby-identifier">new</span>
<span class="ruby-identifier">item_class</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">item_class</span>
<span class="ruby-identifier">type</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">/Wp/</span>, <span class="ruby-string">''</span>).<span class="ruby-identifier">downcase</span>
<span class="ruby-identifier">response</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">wp_target</span>.<span class="ruby-identifier">url</span>)
<span class="ruby-identifier">item_options</span> = {
<span class="ruby-identifier">wp_content_dir</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wp_target</span>.<span class="ruby-identifier">wp_content_dir</span>,
<span class="ruby-identifier">wp_plugins_dir</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wp_target</span>.<span class="ruby-identifier">wp_plugins_dir</span>,
<span class="ruby-identifier">vulns_file</span><span class="ruby-operator">:</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">vulns_file</span>
}
<span class="ruby-identifier">regex1</span> = <span class="ruby-regexp">%{(?:[^=:]+)\s?(?:=|:)\s?(?:&quot;|')[^&quot;']+\\?/}</span>
<span class="ruby-identifier">regex2</span> = <span class="ruby-regexp">%{\\?/}</span>
<span class="ruby-identifier">regex3</span> = <span class="ruby-regexp">%{\\?/([^/\\&quot;']+)\\?(?:/|&quot;|')}</span>
<span class="ruby-identifier">names</span> = <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-node">/#{regex1}#{Regexp.escape(wp_target.wp_content_dir)}#{regex2}#{Regexp.escape(type)}#{regex3}/</span>)
<span class="ruby-identifier">names</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">uniq</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">results</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">item_class</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">wp_target</span>.<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">item_options</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">name</span>))
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">results</span>.<span class="ruby-identifier">sort!</span>
<span class="ruby-identifier">results</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- passive_detection-source -->
</div>
</div><!-- passive_detection-method -->
</div><!-- public-instance-method-details -->
<div id="protected-instance-method-details" class="method-section section">
<h3 class="section-header">Protected Instance Methods</h3>
<div id="create_item-method" class="method-detail ">
<a name="method-i-create_item"></a>
<div class="method-heading">
<span class="method-name">create_item</span><span
class="method-args">(klass, name, wp_target, vulns_file = nil)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ Class ] klass @param [ String ] name @param [ <a
href="../WpTarget.html">WpTarget</a> ] wp_target @option [ String ] <a
href="Detectable.html#attribute-i-vulns_file">vulns_file</a></p>
<p>@return [ <a href="../WpItem.html">WpItem</a> ]</p>
<div class="method-source-code" id="create_item-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_items/detectable.rb, line 147</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">create_item</span>(<span class="ruby-identifier">klass</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">vulns_file</span> = <span class="ruby-keyword">nil</span>)
<span class="ruby-identifier">klass</span>.<span class="ruby-identifier">new</span>(
<span class="ruby-identifier">wp_target</span>.<span class="ruby-identifier">uri</span>,
<span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">name</span>,
<span class="ruby-identifier">vulns_file</span><span class="ruby-operator">:</span> <span class="ruby-identifier">vulns_file</span>,
<span class="ruby-identifier">wp_content_dir</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wp_target</span>.<span class="ruby-identifier">wp_content_dir</span>,
<span class="ruby-identifier">wp_plugins_dir</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wp_target</span>.<span class="ruby-identifier">wp_plugins_dir</span>
)
<span class="ruby-keyword">end</span></pre>
</div><!-- create_item-source -->
</div>
</div><!-- create_item-method -->
<div id="item_class-method" class="method-detail ">
<a name="method-i-item_class"></a>
<div class="method-heading">
<span class="method-name">item_class</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ Class ]</p>
<div class="method-source-code" id="item_class-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_items/detectable.rb, line 180</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">item_class</span>
<span class="ruby-constant">Object</span>.<span class="ruby-identifier">const_get</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">/.$/</span>, <span class="ruby-string">''</span>))
<span class="ruby-keyword">end</span></pre>
</div><!-- item_class-source -->
</div>
</div><!-- item_class-method -->
<div id="request_params-method" class="method-detail ">
<a name="method-i-request_params"></a>
<div class="method-heading">
<span class="method-name">request_params</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>The default request parameters</p>
<p>@return [ Hash ]</p>
<div class="method-source-code" id="request_params-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_items/detectable.rb, line 95</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">request_params</span>; { <span class="ruby-identifier">cache_ttl</span><span class="ruby-operator">:</span> <span class="ruby-value">0</span>, <span class="ruby-identifier">followlocation</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span> } <span class="ruby-keyword">end</span></pre>
</div><!-- request_params-source -->
</div>
</div><!-- request_params-method -->
<div id="targets_items-method" class="method-detail ">
<a name="method-i-targets_items"></a>
<div class="method-heading">
<span class="method-name">targets_items</span><span
class="method-args">(wp_target, options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="../WpTarget.html">WpTarget</a> ] wp_target @param [
options ] options @option options [ Boolean ] :only_vulnerable @option
options [ String ] :file The path to the file containing the targets</p>
<p>@return [ <a href="../Array.html">Array</a>&lt;WpItem&gt; ]</p>
<div class="method-source-code" id="targets_items-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_items/detectable.rb, line 103</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">targets_items</span>(<span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">options</span> = {})
<span class="ruby-identifier">item_class</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">item_class</span>
<span class="ruby-identifier">vulns_file</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">vulns_file</span>
<span class="ruby-identifier">targets</span> = <span class="ruby-identifier">vulnerable_targets_items</span>(<span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">item_class</span>, <span class="ruby-identifier">vulns_file</span>)
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:only_vulnerable</span>]
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:file</span>]
<span class="ruby-identifier">raise</span> <span class="ruby-string">'A file must be supplied'</span>
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">targets</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">targets_items_from_file</span>(<span class="ruby-identifier">options</span>[<span class="ruby-value">:file</span>], <span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">item_class</span>, <span class="ruby-identifier">vulns_file</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">targets</span>.<span class="ruby-identifier">uniq!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span> <span class="ruby-identifier">t</span>.<span class="ruby-identifier">name</span> }
<span class="ruby-identifier">targets</span>.<span class="ruby-identifier">sort_by</span> { <span class="ruby-identifier">rand</span> }
<span class="ruby-keyword">end</span></pre>
</div><!-- targets_items-source -->
</div>
</div><!-- targets_items-method -->
<div id="targets_items_from_file-method" class="method-detail ">
<a name="method-i-targets_items_from_file"></a>
<div class="method-heading">
<span class="method-name">targets_items_from_file</span><span
class="method-args">(file, wp_target, item_class, vulns_file)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ String ] file @param [ <a href="../WpTarget.html">WpTarget</a> ]
wp_target @param [ Class ] <a
href="Detectable.html#method-i-item_class">item_class</a> @param [ String ]
<a href="Detectable.html#attribute-i-vulns_file">vulns_file</a></p>
<p>@return [ <a href="../WpItem.html">WpItem</a> ]</p>
<div class="method-source-code" id="targets_items_from_file-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_items/detectable.rb, line 163</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">targets_items_from_file</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">item_class</span>, <span class="ruby-identifier">vulns_file</span>)
<span class="ruby-identifier">targets</span> = []
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">file</span>, <span class="ruby-string">'r'</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">f</span>.<span class="ruby-identifier">readlines</span>.<span class="ruby-identifier">collect</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">item_name</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">targets</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">create_item</span>(
<span class="ruby-identifier">item_class</span>,
<span class="ruby-identifier">item_name</span>.<span class="ruby-identifier">strip</span>,
<span class="ruby-identifier">wp_target</span>,
<span class="ruby-identifier">vulns_file</span>
)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">targets</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- targets_items_from_file-source -->
</div>
</div><!-- targets_items_from_file-method -->
<div id="vulnerable_targets_items-method" class="method-detail ">
<a name="method-i-vulnerable_targets_items"></a>
<div class="method-heading">
<span class="method-name">vulnerable_targets_items</span><span
class="method-args">(wp_target, item_class, vulns_file)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="../WpTarget.html">WpTarget</a> ] wp_target @param [ Class
] <a href="Detectable.html#method-i-item_class">item_class</a> @param [
String ] <a href="Detectable.html#attribute-i-vulns_file">vulns_file</a></p>
<p>@return [ <a href="../Array.html">Array</a>&lt;WpItem&gt; ]</p>
<div class="method-source-code" id="vulnerable_targets_items-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_items/detectable.rb, line 126</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vulnerable_targets_items</span>(<span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">item_class</span>, <span class="ruby-identifier">vulns_file</span>)
<span class="ruby-identifier">targets</span> = []
<span class="ruby-identifier">xml</span> = <span class="ruby-identifier">xml</span>(<span class="ruby-identifier">vulns_file</span>)
<span class="ruby-identifier">xml</span>.<span class="ruby-identifier">xpath</span>(<span class="ruby-identifier">item_xpath</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">node</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">targets</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">create_item</span>(
<span class="ruby-identifier">item_class</span>,
<span class="ruby-identifier">node</span>.<span class="ruby-identifier">attribute</span>(<span class="ruby-string">'name'</span>).<span class="ruby-identifier">text</span>,
<span class="ruby-identifier">wp_target</span>,
<span class="ruby-identifier">vulns_file</span>
)
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">targets</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- vulnerable_targets_items-source -->
</div>
</div><!-- vulnerable_targets_items-method -->
</div><!-- protected-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>

View File

@@ -1,324 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpItems::Output</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/collections/wp_items/output_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_items/output.rb">lib/common/collections/wp_items/output.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-output">#output</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpItems::Output</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="output-method" class="method-detail ">
<a name="method-i-output"></a>
<div class="method-heading">
<span class="method-name">output</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="output-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_items/output.rb, line 5</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">output</span>
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">item</span><span class="ruby-operator">|</span> <span class="ruby-identifier">item</span>.<span class="ruby-identifier">output</span> }
<span class="ruby-keyword">end</span></pre>
</div><!-- output-source -->
</div>
</div><!-- output-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,864 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpLoginProtection</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/wpscan/modules/wp_login_protection_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/wpscan/modules/wp_login_protection.rb">lib/wpscan/modules/wp_login_protection.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-better_wp_security_url">#better_wp_security_url</a></li>
<li><a href="#method-i-bluetrait_event_viewer_url">#bluetrait_event_viewer_url</a></li>
<li><a href="#method-i-has_better_wp_security_protection-3F">#has_better_wp_security_protection?</a></li>
<li><a href="#method-i-has_bluetrait_event_viewer_protection-3F">#has_bluetrait_event_viewer_protection?</a></li>
<li><a href="#method-i-has_limit_login_attempts_protection-3F">#has_limit_login_attempts_protection?</a></li>
<li><a href="#method-i-has_login_lock_protection-3F">#has_login_lock_protection?</a></li>
<li><a href="#method-i-has_login_lockdown_protection-3F">#has_login_lockdown_protection?</a></li>
<li><a href="#method-i-has_login_protection-3F">#has_login_protection?</a></li>
<li><a href="#method-i-has_login_security_solution_protection-3F">#has_login_security_solution_protection?</a></li>
<li><a href="#method-i-has_simple_login_lockdown_protection-3F">#has_simple_login_lockdown_protection?</a></li>
<li><a href="#method-i-limit_login_attempts_url">#limit_login_attempts_url</a></li>
<li><a href="#method-i-login_protection_plugin">#login_protection_plugin</a></li>
<li><a href="#method-i-login_security_solution_url">#login_security_solution_url</a></li>
<li><a href="#method-i-plugin_url">#plugin_url</a></li>
<li><a href="#method-i-simple_login_lockdown_url">#simple_login_lockdown_url</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpLoginProtection</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Constants -->
<div id="constants-list" class="section">
<h3 class="section-header">Constants</h3>
<dl>
<dt><a name="LOGIN_PROTECTION_METHOD_PATTERN">LOGIN_PROTECTION_METHOD_PATTERN</a></dt>
<dd class="description"></dd>
</dl>
</div>
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="has_login_protection-3F-method" class="method-detail ">
<a name="method-i-has_login_protection-3F"></a>
<div class="method-heading">
<span class="method-name">has_login_protection?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="has_login_protection-3F-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_login_protection.rb, line 8</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_login_protection?</span>
<span class="ruby-operator">!</span><span class="ruby-identifier">login_protection_plugin</span>().<span class="ruby-identifier">nil?</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_login_protection-3F-source -->
</div>
</div><!-- has_login_protection-3F-method -->
<div id="login_protection_plugin-method" class="method-detail ">
<a name="method-i-login_protection_plugin"></a>
<div class="method-heading">
<span class="method-name">login_protection_plugin</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Checks if a login protection plugin is enabled <a
href="http://code.google.com/p/wpscan/issues/detail?id=111">code.google.com/p/wpscan/issues/detail?id=111</a>
return a <a href="WpPlugin.html">WpPlugin</a> object or nil if no one is
found</p>
<div class="method-source-code" id="login_protection_plugin-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_login_protection.rb, line 15</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">login_protection_plugin</span>
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@login_protection_plugin</span>
<span class="ruby-identifier">protected_methods</span>.<span class="ruby-identifier">grep</span>(<span class="ruby-constant">LOGIN_PROTECTION_METHOD_PATTERN</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">symbol_to_call</span><span class="ruby-operator">|</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">send</span>(<span class="ruby-identifier">symbol_to_call</span>)
<span class="ruby-identifier">plugin_name</span> = <span class="ruby-identifier">symbol_to_call</span>[<span class="ruby-constant">LOGIN_PROTECTION_METHOD_PATTERN</span>, <span class="ruby-value">1</span>].<span class="ruby-identifier">gsub</span>(<span class="ruby-string">'_'</span>, <span class="ruby-string">'-'</span>)
<span class="ruby-keyword">return</span> <span class="ruby-ivar">@login_protection_plugin</span> = <span class="ruby-constant">WpPlugin</span>.<span class="ruby-identifier">new</span>(
<span class="ruby-ivar">@uri</span>,
<span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">plugin_name</span>,
<span class="ruby-identifier">wp_content_dir</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wp_content_dir</span>,
<span class="ruby-identifier">wp_plugins_dir</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wp_plugins_dir</span>
)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@login_protection_plugin</span> = <span class="ruby-keyword">nil</span>
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@login_protection_plugin</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- login_protection_plugin-source -->
</div>
</div><!-- login_protection_plugin-method -->
</div><!-- public-instance-method-details -->
<div id="protected-instance-method-details" class="method-section section">
<h3 class="section-header">Protected Instance Methods</h3>
<div id="better_wp_security_url-method" class="method-detail ">
<a name="method-i-better_wp_security_url"></a>
<div class="method-heading">
<span class="method-name">better_wp_security_url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="better_wp_security_url-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_login_protection.rb, line 61</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">better_wp_security_url</span>
<span class="ruby-identifier">plugin_url</span>(<span class="ruby-string">'better-wp-security/'</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- better_wp_security_url-source -->
</div>
</div><!-- better_wp_security_url-method -->
<div id="bluetrait_event_viewer_url-method" class="method-detail ">
<a name="method-i-bluetrait_event_viewer_url"></a>
<div class="method-heading">
<span class="method-name">bluetrait_event_viewer_url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="bluetrait_event_viewer_url-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_login_protection.rb, line 97</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">bluetrait_event_viewer_url</span>
<span class="ruby-identifier">plugin_url</span>(<span class="ruby-string">'bluetrait-event-viewer'</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- bluetrait_event_viewer_url-source -->
</div>
</div><!-- bluetrait_event_viewer_url-method -->
<div id="has_better_wp_security_protection-3F-method" class="method-detail ">
<a name="method-i-has_better_wp_security_protection-3F"></a>
<div class="method-heading">
<span class="method-name">has_better_wp_security_protection?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p><a
href="http://wordpress.org/extend/plugins/better-wp-security/">wordpress.org/extend/plugins/better-wp-security/</a></p>
<div class="method-source-code" id="has_better_wp_security_protection-3F-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_login_protection.rb, line 48</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_better_wp_security_protection?</span>
<span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">better_wp_security_url</span>).<span class="ruby-identifier">code</span> <span class="ruby-operator">!=</span> <span class="ruby-value">404</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_better_wp_security_protection-3F-source -->
</div>
</div><!-- has_better_wp_security_protection-3F-method -->
<div id="has_bluetrait_event_viewer_protection-3F-method" class="method-detail ">
<a name="method-i-has_bluetrait_event_viewer_protection-3F"></a>
<div class="method-heading">
<span class="method-name">has_bluetrait_event_viewer_protection?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p><a
href="http://wordpress.org/extend/plugins/bluetrait-event-viewer/">wordpress.org/extend/plugins/bluetrait-event-viewer/</a></p>
<div class="method-source-code" id="has_bluetrait_event_viewer_protection-3F-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_login_protection.rb, line 93</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_bluetrait_event_viewer_protection?</span>
<span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">bluetrait_event_viewer_url</span>).<span class="ruby-identifier">code</span> <span class="ruby-operator">!=</span> <span class="ruby-value">404</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_bluetrait_event_viewer_protection-3F-source -->
</div>
</div><!-- has_bluetrait_event_viewer_protection-3F-method -->
<div id="has_limit_login_attempts_protection-3F-method" class="method-detail ">
<a name="method-i-has_limit_login_attempts_protection-3F"></a>
<div class="method-heading">
<span class="method-name">has_limit_login_attempts_protection?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p><a
href="http://wordpress.org/extend/plugins/limit-login-attempts/">wordpress.org/extend/plugins/limit-login-attempts/</a></p>
<div class="method-source-code" id="has_limit_login_attempts_protection-3F-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_login_protection.rb, line 84</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_limit_login_attempts_protection?</span>
<span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">limit_login_attempts_url</span>).<span class="ruby-identifier">code</span> <span class="ruby-operator">!=</span> <span class="ruby-value">404</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_limit_login_attempts_protection-3F-source -->
</div>
</div><!-- has_limit_login_attempts_protection-3F-method -->
<div id="has_login_lock_protection-3F-method" class="method-detail ">
<a name="method-i-has_login_lock_protection-3F"></a>
<div class="method-heading">
<span class="method-name">has_login_lock_protection?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p><a
href="http://wordpress.org/extend/plugins/login-lock/">wordpress.org/extend/plugins/login-lock/</a></p>
<div class="method-source-code" id="has_login_lock_protection-3F-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_login_protection.rb, line 43</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_login_lock_protection?</span>
<span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">login_url</span>).<span class="ruby-identifier">body</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">%{LOGIN LOCK}</span> <span class="ruby-operator">?</span> <span class="ruby-keyword">true</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_login_lock_protection-3F-source -->
</div>
</div><!-- has_login_lock_protection-3F-method -->
<div id="has_login_lockdown_protection-3F-method" class="method-detail ">
<a name="method-i-has_login_lockdown_protection-3F"></a>
<div class="method-heading">
<span class="method-name">has_login_lockdown_protection?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Thanks to Alip Aswalid for providing this method. <a
href="http://wordpress.org/extend/plugins/login-lockdown/">wordpress.org/extend/plugins/login-lockdown/</a></p>
<div class="method-source-code" id="has_login_lockdown_protection-3F-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_login_protection.rb, line 38</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_login_lockdown_protection?</span>
<span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">login_url</span>).<span class="ruby-identifier">body</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">%{Login LockDown}</span> <span class="ruby-operator">?</span> <span class="ruby-keyword">true</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_login_lockdown_protection-3F-source -->
</div>
</div><!-- has_login_lockdown_protection-3F-method -->
<div id="has_login_security_solution_protection-3F-method" class="method-detail ">
<a name="method-i-has_login_security_solution_protection-3F"></a>
<div class="method-heading">
<span class="method-name">has_login_security_solution_protection?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p><a
href="http://wordpress.org/extend/plugins/login-security-solution/">wordpress.org/extend/plugins/login-security-solution/</a></p>
<div class="method-source-code" id="has_login_security_solution_protection-3F-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_login_protection.rb, line 75</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_login_security_solution_protection?</span>
<span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">login_security_solution_url</span>()).<span class="ruby-identifier">code</span> <span class="ruby-operator">!=</span> <span class="ruby-value">404</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_login_security_solution_protection-3F-source -->
</div>
</div><!-- has_login_security_solution_protection-3F-method -->
<div id="has_simple_login_lockdown_protection-3F-method" class="method-detail ">
<a name="method-i-has_simple_login_lockdown_protection-3F"></a>
<div class="method-heading">
<span class="method-name">has_simple_login_lockdown_protection?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p><a
href="http://wordpress.org/extend/plugins/simple-login-lockdown/">wordpress.org/extend/plugins/simple-login-lockdown/</a></p>
<div class="method-source-code" id="has_simple_login_lockdown_protection-3F-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_login_protection.rb, line 66</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_simple_login_lockdown_protection?</span>
<span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">simple_login_lockdown_url</span>).<span class="ruby-identifier">code</span> <span class="ruby-operator">!=</span> <span class="ruby-value">404</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_simple_login_lockdown_protection-3F-source -->
</div>
</div><!-- has_simple_login_lockdown_protection-3F-method -->
<div id="limit_login_attempts_url-method" class="method-detail ">
<a name="method-i-limit_login_attempts_url"></a>
<div class="method-heading">
<span class="method-name">limit_login_attempts_url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="limit_login_attempts_url-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_login_protection.rb, line 88</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">limit_login_attempts_url</span>
<span class="ruby-identifier">plugin_url</span>(<span class="ruby-string">'limit-login-attempts'</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- limit_login_attempts_url-source -->
</div>
</div><!-- limit_login_attempts_url-method -->
<div id="login_security_solution_url-method" class="method-detail ">
<a name="method-i-login_security_solution_url"></a>
<div class="method-heading">
<span class="method-name">login_security_solution_url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="login_security_solution_url-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_login_protection.rb, line 79</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">login_security_solution_url</span>
<span class="ruby-identifier">plugin_url</span>(<span class="ruby-string">'login-security-solution'</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- login_security_solution_url-source -->
</div>
</div><!-- login_security_solution_url-method -->
<div id="plugin_url-method" class="method-detail ">
<a name="method-i-plugin_url"></a>
<div class="method-heading">
<span class="method-name">plugin_url</span><span
class="method-args">(plugin_name)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="plugin_url-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_login_protection.rb, line 52</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">plugin_url</span>(<span class="ruby-identifier">plugin_name</span>)
<span class="ruby-constant">WpPlugin</span>.<span class="ruby-identifier">new</span>(
<span class="ruby-ivar">@uri</span>,
<span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">plugin_name</span>,
<span class="ruby-identifier">wp_content_dir</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wp_content_dir</span>,
<span class="ruby-identifier">wp_plugins_dir</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wp_plugins_dir</span>
).<span class="ruby-identifier">url</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- plugin_url-source -->
</div>
</div><!-- plugin_url-method -->
<div id="simple_login_lockdown_url-method" class="method-detail ">
<a name="method-i-simple_login_lockdown_url"></a>
<div class="method-heading">
<span class="method-name">simple_login_lockdown_url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="simple_login_lockdown_url-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_login_protection.rb, line 70</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">simple_login_lockdown_url</span>
<span class="ruby-identifier">plugin_url</span>(<span class="ruby-string">'simple-login-lockdown/'</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- simple_login_lockdown_url-source -->
</div>
</div><!-- simple_login_lockdown_url-method -->
</div><!-- protected-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,362 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: WpPlugin</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/models/wp_plugin_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_plugin.rb">lib/common/models/wp_plugin.rb</a></li>
<li><a href="./lib/common/models/wp_plugin/vulnerable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_plugin/vulnerable.rb">lib/common/models/wp_plugin/vulnerable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="WpItem.html">WpItem</a></p>
</div>
<!-- Namespace Contents -->
<div id="namespace-list-section" class="section">
<h3 class="section-header">Namespace</h3>
<ul class="link-list">
<li><span class="type">MODULE</span> <a href="WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
</ul>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-forge_uri">#forge_uri</a></li>
</ul>
</div>
<!-- Included Modules -->
<div id="includes-section" class="section">
<h3 class="section-header">Included Modules</h3>
<ul class="link-list">
<li><a class="include" href="WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">WpPlugin</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="forge_uri-method" class="method-detail ">
<a name="method-i-forge_uri"></a>
<div class="method-heading">
<span class="method-name">forge_uri</span><span
class="method-args">(target_base_uri)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Sets the @uri</p>
<p>@param [ <a href="URI.html">URI</a> ] target_base_uri The <a
href="URI.html">URI</a> of the wordpress blog</p>
<p>@return [ void ]</p>
<div class="method-source-code" id="forge_uri-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_plugin.rb, line 12</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">forge_uri</span>(<span class="ruby-identifier">target_base_uri</span>)
<span class="ruby-ivar">@uri</span> = <span class="ruby-identifier">target_base_uri</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-constant">URI</span>.<span class="ruby-identifier">encode</span>(<span class="ruby-identifier">wp_plugins_dir</span> <span class="ruby-operator">+</span> <span class="ruby-string">'/'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">name</span> <span class="ruby-operator">+</span> <span class="ruby-string">'/'</span>))
<span class="ruby-keyword">end</span></pre>
</div><!-- forge_uri-source -->
</div>
</div><!-- forge_uri-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,362 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpPlugin::Vulnerable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_plugin/vulnerable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_plugin/vulnerable.rb">lib/common/models/wp_plugin/vulnerable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-vulns_file">#vulns_file</a></li>
<li><a href="#method-i-vulns_xpath">#vulns_xpath</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpPlugin::Vulnerable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="vulns_file-method" class="method-detail ">
<a name="method-i-vulns_file"></a>
<div class="method-heading">
<span class="method-name">vulns_file</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ] The path to the file containing vulnerabilities</p>
<div class="method-source-code" id="vulns_file-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_plugin/vulnerable.rb, line 6</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vulns_file</span>
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@vulns_file</span>
<span class="ruby-ivar">@vulns_file</span> = <span class="ruby-constant">PLUGINS_VULNS_FILE</span>
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@vulns_file</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- vulns_file-source -->
</div>
</div><!-- vulns_file-method -->
<div id="vulns_xpath-method" class="method-detail ">
<a name="method-i-vulns_xpath"></a>
<div class="method-heading">
<span class="method-name">vulns_xpath</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ]</p>
<div class="method-source-code" id="vulns_xpath-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_plugin/vulnerable.rb, line 14</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vulns_xpath</span>
<span class="ruby-node">&quot;//plugin[@name='#{@name}']/vulnerability&quot;</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- vulns_xpath-source -->
</div>
</div><!-- vulns_xpath-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,296 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: WpPlugins</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/collections/wp_plugins/detectable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_plugins/detectable.rb">lib/common/collections/wp_plugins/detectable.rb</a></li>
<li><a href="./lib/common/collections/wp_plugins_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_plugins.rb">lib/common/collections/wp_plugins.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="WpItems.html">WpItems</a></p>
</div>
<!-- Namespace Contents -->
<div id="namespace-list-section" class="section">
<h3 class="section-header">Namespace</h3>
<ul class="link-list">
<li><span class="type">MODULE</span> <a href="WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">WpPlugins</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,359 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpPlugins::Detectable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/collections/wp_plugins/detectable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_plugins/detectable.rb">lib/common/collections/wp_plugins/detectable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-item_xpath">#item_xpath</a></li>
<li><a href="#method-i-vulns_file">#vulns_file</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpPlugins::Detectable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="item_xpath-method" class="method-detail ">
<a name="method-i-item_xpath"></a>
<div class="method-heading">
<span class="method-name">item_xpath</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ]</p>
<div class="method-source-code" id="item_xpath-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_plugins/detectable.rb, line 11</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">item_xpath</span>
<span class="ruby-string">'//plugin'</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- item_xpath-source -->
</div>
</div><!-- item_xpath-method -->
<div id="vulns_file-method" class="method-detail ">
<a name="method-i-vulns_file"></a>
<div class="method-heading">
<span class="method-name">vulns_file</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ]</p>
<div class="method-source-code" id="vulns_file-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_plugins/detectable.rb, line 6</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vulns_file</span>
<span class="ruby-constant">PLUGINS_VULNS_FILE</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- vulns_file-source -->
</div>
</div><!-- vulns_file-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,366 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpReadme</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/wpscan/modules/wp_readme_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/wpscan/modules/wp_readme.rb">lib/wpscan/modules/wp_readme.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-has_readme-3F">#has_readme?</a></li>
<li><a href="#method-i-readme_url">#readme_url</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpReadme</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="has_readme-3F-method" class="method-detail ">
<a name="method-i-has_readme-3F"></a>
<div class="method-heading">
<span class="method-name">has_readme?</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Checks to see if the readme.html file exists</p>
<p>This file comes by default in a wordpress installation, and if deleted is
reinstated with an upgrade.</p>
<div class="method-source-code" id="has_readme-3F-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_readme.rb, line 8</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_readme?</span>
<span class="ruby-identifier">response</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">readme_url</span>())
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">code</span> <span class="ruby-operator">==</span> <span class="ruby-value">404</span>
<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">%{wordpress}</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- has_readme-3F-source -->
</div>
</div><!-- has_readme-3F-method -->
<div id="readme_url-method" class="method-detail ">
<a name="method-i-readme_url"></a>
<div class="method-heading">
<span class="method-name">readme_url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="readme_url-source">
<pre>
<span class="ruby-comment"># File lib/wpscan/modules/wp_readme.rb, line 16</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">readme_url</span>
<span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-string">'readme.html'</span>).<span class="ruby-identifier">to_s</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- readme_url-source -->
</div>
</div><!-- readme_url-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@@ -1,471 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: WpTheme</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/models/wp_theme_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_theme.rb">lib/common/models/wp_theme.rb</a></li>
<li><a href="./lib/common/models/wp_theme/findable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_theme/findable.rb">lib/common/models/wp_theme/findable.rb</a></li>
<li><a href="./lib/common/models/wp_theme/versionable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_theme/versionable.rb">lib/common/models/wp_theme/versionable.rb</a></li>
<li><a href="./lib/common/models/wp_theme/vulnerable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_theme/vulnerable.rb">lib/common/models/wp_theme/vulnerable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="WpItem.html">WpItem</a></p>
</div>
<!-- Namespace Contents -->
<div id="namespace-list-section" class="section">
<h3 class="section-header">Namespace</h3>
<ul class="link-list">
<li><span class="type">MODULE</span> <a href="WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><span class="type">MODULE</span> <a href="WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><span class="type">MODULE</span> <a href="WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
</ul>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-allowed_options">#allowed_options</a></li>
<li><a href="#method-i-forge_uri">#forge_uri</a></li>
<li><a href="#method-i-style_url">#style_url</a></li>
</ul>
</div>
<!-- Included Modules -->
<div id="includes-section" class="section">
<h3 class="section-header">Included Modules</h3>
<ul class="link-list">
<li><a class="include" href="WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a class="include" href="WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">WpTheme</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="style_url-attribute-method" class="method-detail">
<a name="style_url"></a>
<a name="style_url="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">style_url</span><span
class="attribute-access-type">[W]</span>
</div>
<div class="method-description">
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="allowed_options-method" class="method-detail ">
<a name="method-i-allowed_options"></a>
<div class="method-heading">
<span class="method-name">allowed_options</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="allowed_options-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_theme.rb, line 13</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">allowed_options</span>; <span class="ruby-keyword">super</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value">:style_url</span> <span class="ruby-keyword">end</span></pre>
</div><!-- allowed_options-source -->
</div>
</div><!-- allowed_options-method -->
<div id="forge_uri-method" class="method-detail ">
<a name="method-i-forge_uri"></a>
<div class="method-heading">
<span class="method-name">forge_uri</span><span
class="method-args">(target_base_uri)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Sets the @uri</p>
<p>@param [ <a href="URI.html">URI</a> ] target_base_uri The <a
href="URI.html">URI</a> of the wordpress blog</p>
<p>@return [ void ]</p>
<div class="method-source-code" id="forge_uri-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_theme.rb, line 20</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">forge_uri</span>(<span class="ruby-identifier">target_base_uri</span>)
<span class="ruby-ivar">@uri</span> = <span class="ruby-identifier">target_base_uri</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-constant">URI</span>.<span class="ruby-identifier">encode</span>(<span class="ruby-identifier">wp_content_dir</span> <span class="ruby-operator">+</span> <span class="ruby-string">'/themes/'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">name</span> <span class="ruby-operator">+</span> <span class="ruby-string">'/'</span>))
<span class="ruby-keyword">end</span></pre>
</div><!-- forge_uri-source -->
</div>
</div><!-- forge_uri-method -->
<div id="style_url-method" class="method-detail ">
<a name="method-i-style_url"></a>
<div class="method-heading">
<span class="method-name">style_url</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ] The url to the theme stylesheet</p>
<div class="method-source-code" id="style_url-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_theme.rb, line 25</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">style_url</span>
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@style_url</span>
<span class="ruby-ivar">@style_url</span> = <span class="ruby-identifier">uri</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-string">'style.css'</span>).<span class="ruby-identifier">to_s</span>
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@style_url</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- style_url-source -->
</div>
</div><!-- style_url-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,449 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpTheme::Findable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_theme/findable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_theme/findable.rb">lib/common/models/wp_theme/findable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-find">#find</a></li>
<li><a href="#method-i-find_from_css_link">#find_from_css_link</a></li>
<li><a href="#method-i-find_from_wooframework">#find_from_wooframework</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpTheme::Findable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="find-method" class="method-detail ">
<a name="method-i-find"></a>
<div class="method-heading">
<span class="method-name">find</span><span
class="method-args">(target_uri)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Find the main theme of the blog</p>
<p>@param [ <a href="../URI.html">URI</a> ] target_uri</p>
<p>@return [ <a href="../WpTheme.html">WpTheme</a> ]</p>
<div class="method-source-code" id="find-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_theme/findable.rb, line 10</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find</span>(<span class="ruby-identifier">target_uri</span>)
<span class="ruby-identifier">methods</span>.<span class="ruby-identifier">grep</span>(<span class="ruby-regexp">/^find_from_/</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">method</span><span class="ruby-operator">|</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">wp_theme</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">target_uri</span>)
<span class="ruby-identifier">wp_theme</span>.<span class="ruby-identifier">found_from</span> = <span class="ruby-identifier">method</span>
<span class="ruby-keyword">return</span> <span class="ruby-identifier">wp_theme</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">nil</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- find-source -->
</div>
</div><!-- find-method -->
</div><!-- public-instance-method-details -->
<div id="protected-instance-method-details" class="method-section section">
<h3 class="section-header">Protected Instance Methods</h3>
<div id="find_from_css_link-method" class="method-detail ">
<a name="method-i-find_from_css_link"></a>
<div class="method-heading">
<span class="method-name">find_from_css_link</span><span
class="method-args">(target_uri)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Discover the wordpress theme by parsing the css link rel</p>
<p>@param [ <a href="../URI.html">URI</a> ] target_uri</p>
<p>@return [ <a href="../WpTheme.html">WpTheme</a> ]</p>
<div class="method-source-code" id="find_from_css_link-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_theme/findable.rb, line 28</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_from_css_link</span>(<span class="ruby-identifier">target_uri</span>)
<span class="ruby-identifier">response</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get_and_follow_location</span>(<span class="ruby-identifier">target_uri</span>.<span class="ruby-identifier">to_s</span>)
<span class="ruby-comment"># https + domain is optional because of relative links
</span>
<span class="ruby-identifier">matches</span> = <span class="ruby-regexp">%{(?:https?://[^&quot;']+)?/([^/]+)/themes/([^&quot;']+)/style.css}</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>)
<span class="ruby-keyword">if</span> <span class="ruby-identifier">matches</span>
<span class="ruby-keyword">return</span> <span class="ruby-identifier">new</span>(
<span class="ruby-identifier">target_uri</span>,
{
<span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">matches</span>[<span class="ruby-value">2</span>],
<span class="ruby-identifier">style_url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">matches</span>[<span class="ruby-value">0</span>],
<span class="ruby-identifier">wp_content_dir</span><span class="ruby-operator">:</span> <span class="ruby-identifier">matches</span>[<span class="ruby-value">1</span>]
}
)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- find_from_css_link-source -->
</div>
</div><!-- find_from_css_link-method -->
<div id="find_from_wooframework-method" class="method-detail ">
<a name="method-i-find_from_wooframework"></a>
<div class="method-heading">
<span class="method-name">find_from_wooframework</span><span
class="method-args">(target_uri)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p><a
href="http://code.google.com/p/wpscan/issues/detail?id=141">code.google.com/p/wpscan/issues/detail?id=141</a></p>
<p>@param [ <a href="../URI.html">URI</a> ] target_uri</p>
<p>@return [ <a href="../WpTheme.html">WpTheme</a> ]</p>
<div class="method-source-code" id="find_from_wooframework-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_theme/findable.rb, line 50</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_from_wooframework</span>(<span class="ruby-identifier">target_uri</span>)
<span class="ruby-identifier">body</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">target_uri</span>.<span class="ruby-identifier">to_s</span>).<span class="ruby-identifier">body</span>
<span class="ruby-identifier">regexp</span> = <span class="ruby-regexp">%{&lt;meta name=&quot;generator&quot; content=&quot;([^\s&quot;]+)\s?([^&quot;]+)?&quot; /&gt;\s+&lt;meta name=&quot;generator&quot; content=&quot;WooFramework\s?([^&quot;]+)?&quot; /&gt;}</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">matches</span> = <span class="ruby-identifier">regexp</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">body</span>)
<span class="ruby-identifier">woo_theme_name</span> = <span class="ruby-identifier">matches</span>[<span class="ruby-value">1</span>]
<span class="ruby-identifier">woo_theme_version</span> = <span class="ruby-identifier">matches</span>[<span class="ruby-value">2</span>]
<span class="ruby-comment">#woo_framework_version = matches[3] # Not used at this time
</span>
<span class="ruby-keyword">return</span> <span class="ruby-identifier">new</span>(
<span class="ruby-identifier">target_uri</span>,
{
<span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">woo_theme_name</span>,
<span class="ruby-identifier">version</span><span class="ruby-operator">:</span> <span class="ruby-identifier">woo_theme_version</span>
}
)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- find_from_wooframework-source -->
</div>
</div><!-- find_from_wooframework-method -->
</div><!-- protected-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>

View File

@@ -1,330 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpTheme::Versionable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_theme/versionable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_theme/versionable.rb">lib/common/models/wp_theme/versionable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-version">#version</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpTheme::Versionable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="version-method" class="method-detail ">
<a name="method-i-version"></a>
<div class="method-heading">
<span class="method-name">version</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="version-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_theme/versionable.rb, line 5</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">version</span>
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@version</span>
<span class="ruby-ivar">@version</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">style_url</span>).<span class="ruby-identifier">body</span>[<span class="ruby-regexp">%{Version:\s([^\s]+)}</span>, <span class="ruby-value">1</span>]
<span class="ruby-comment"># Get Version from readme.txt
</span>
<span class="ruby-ivar">@version</span> <span class="ruby-operator">||=</span> <span class="ruby-keyword">super</span>
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@version</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- version-source -->
</div>
</div><!-- version-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,362 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpTheme::Vulnerable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_theme/vulnerable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_theme/vulnerable.rb">lib/common/models/wp_theme/vulnerable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-vulns_file">#vulns_file</a></li>
<li><a href="#method-i-vulns_xpath">#vulns_xpath</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpTheme::Vulnerable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="vulns_file-method" class="method-detail ">
<a name="method-i-vulns_file"></a>
<div class="method-heading">
<span class="method-name">vulns_file</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ] The path to the file containing vulnerabilities</p>
<div class="method-source-code" id="vulns_file-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_theme/vulnerable.rb, line 6</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vulns_file</span>
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@vulns_file</span>
<span class="ruby-ivar">@vulns_file</span> = <span class="ruby-constant">THEMES_VULNS_FILE</span>
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@vulns_file</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- vulns_file-source -->
</div>
</div><!-- vulns_file-method -->
<div id="vulns_xpath-method" class="method-detail ">
<a name="method-i-vulns_xpath"></a>
<div class="method-heading">
<span class="method-name">vulns_xpath</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ]</p>
<div class="method-source-code" id="vulns_xpath-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_theme/vulnerable.rb, line 14</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vulns_xpath</span>
<span class="ruby-node">&quot;//theme[@name='#{@name}']/vulnerability&quot;</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- vulns_xpath-source -->
</div>
</div><!-- vulns_xpath-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,296 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: WpThemes</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/collections/wp_themes_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_themes.rb">lib/common/collections/wp_themes.rb</a></li>
<li><a href="./lib/common/collections/wp_themes/detectable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_themes/detectable.rb">lib/common/collections/wp_themes/detectable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="WpItems.html">WpItems</a></p>
</div>
<!-- Namespace Contents -->
<div id="namespace-list-section" class="section">
<h3 class="section-header">Namespace</h3>
<ul class="link-list">
<li><span class="type">MODULE</span> <a href="WpThemes/Detectable.html">WpThemes::Detectable</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">WpThemes</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,359 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpThemes::Detectable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/collections/wp_themes/detectable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_themes/detectable.rb">lib/common/collections/wp_themes/detectable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-item_xpath">#item_xpath</a></li>
<li><a href="#method-i-vulns_file">#vulns_file</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpThemes::Detectable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="item_xpath-method" class="method-detail ">
<a name="method-i-item_xpath"></a>
<div class="method-heading">
<span class="method-name">item_xpath</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ]</p>
<div class="method-source-code" id="item_xpath-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_themes/detectable.rb, line 11</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">item_xpath</span>
<span class="ruby-string">'//theme'</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- item_xpath-source -->
</div>
</div><!-- item_xpath-method -->
<div id="vulns_file-method" class="method-detail ">
<a name="method-i-vulns_file"></a>
<div class="method-heading">
<span class="method-name">vulns_file</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ]</p>
<div class="method-source-code" id="vulns_file-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_themes/detectable.rb, line 6</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vulns_file</span>
<span class="ruby-constant">THEMES_VULNS_FILE</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- vulns_file-source -->
</div>
</div><!-- vulns_file-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,377 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: WpTimthumb</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/models/wp_timthumb_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_timthumb.rb">lib/common/models/wp_timthumb.rb</a></li>
<li><a href="./lib/common/models/wp_timthumb/output_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_timthumb/output.rb">lib/common/models/wp_timthumb/output.rb</a></li>
<li><a href="./lib/common/models/wp_timthumb/versionable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_timthumb/versionable.rb">lib/common/models/wp_timthumb/versionable.rb</a></li>
<li><a href="./lib/common/models/wp_timthumb/existable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_timthumb/existable.rb">lib/common/models/wp_timthumb/existable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="WpItem.html">WpItem</a></p>
</div>
<!-- Namespace Contents -->
<div id="namespace-list-section" class="section">
<h3 class="section-header">Namespace</h3>
<ul class="link-list">
<li><span class="type">MODULE</span> <a href="WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><span class="type">MODULE</span> <a href="WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><span class="type">MODULE</span> <a href="WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
</ul>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-3D-3D">#==</a></li>
</ul>
</div>
<!-- Included Modules -->
<div id="includes-section" class="section">
<h3 class="section-header">Included Modules</h3>
<ul class="link-list">
<li><a class="include" href="WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a class="include" href="WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a class="include" href="WpTimthumb/Output.html">WpTimthumb::Output</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">WpTimthumb</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="3D-3D-method" class="method-detail ">
<a name="method-i-3D-3D"></a>
<div class="method-heading">
<span class="method-name">==</span><span
class="method-args">(other)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="WpTimthumb.html">WpTimthumb</a> ] other</p>
<p>@return [ Boolean ]</p>
<div class="method-source-code" id="3D-3D-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_timthumb.rb, line 14</span>
<span class="ruby-keyword">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">other</span>)
<span class="ruby-identifier">url</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">url</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- 3D-3D-source -->
</div>
</div><!-- 3D-3D-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,327 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpTimthumb::Existable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_timthumb/existable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_timthumb/existable.rb">lib/common/models/wp_timthumb/existable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-exists_from_response-3F">#exists_from_response?</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpTimthumb::Existable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="exists_from_response-3F-method" class="method-detail ">
<a name="method-i-exists_from_response-3F"></a>
<div class="method-heading">
<span class="method-name">exists_from_response?</span><span
class="method-args">(response, options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="../Typhoeus/Response.html">Typhoeus::Response</a> ]
response @param [ Hash ] options</p>
<p>@return [ Boolean ]</p>
<div class="method-source-code" id="exists_from_response-3F-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_timthumb/existable.rb, line 9</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">exists_from_response?</span>(<span class="ruby-identifier">response</span>, <span class="ruby-identifier">options</span> = {})
<span class="ruby-identifier">response</span>.<span class="ruby-identifier">code</span> <span class="ruby-operator">==</span> <span class="ruby-value">400</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/no image specified/</span> <span class="ruby-operator">?</span> <span class="ruby-keyword">true</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- exists_from_response-3F-source -->
</div>
</div><!-- exists_from_response-3F-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,324 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpTimthumb::Output</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_timthumb/output_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_timthumb/output.rb">lib/common/models/wp_timthumb/output.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-output">#output</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpTimthumb::Output</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="output-method" class="method-detail ">
<a name="method-i-output"></a>
<div class="method-heading">
<span class="method-name">output</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="output-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_timthumb/output.rb, line 5</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">output</span>
<span class="ruby-identifier">puts</span> <span class="ruby-string">' | '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">red</span>(<span class="ruby-string">'[!]'</span>) <span class="ruby-operator">+</span> <span class="ruby-node">&quot; #{self}&quot;</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- output-source -->
</div>
</div><!-- output-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,366 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpTimthumb::Versionable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_timthumb/versionable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_timthumb/versionable.rb">lib/common/models/wp_timthumb/versionable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-to_s">#to_s</a></li>
<li><a href="#method-i-version">#version</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpTimthumb::Versionable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="to_s-method" class="method-detail ">
<a name="method-i-to_s"></a>
<div class="method-heading">
<span class="method-name">to_s</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ]</p>
<div class="method-source-code" id="to_s-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_timthumb/versionable.rb, line 18</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
<span class="ruby-node">&quot;#{url}#{ ' v' + version if version}&quot;</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- to_s-source -->
</div>
</div><!-- to_s-method -->
<div id="version-method" class="method-detail ">
<a name="method-i-version"></a>
<div class="method-heading">
<span class="method-name">version</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Get the version from the body of an invalid request See <a
href="https://code.google.com/p/timthumb/source/browse/trunk/timthumb.php#426">code.google.com/p/timthumb/source/browse/trunk/timthumb.php#426</a></p>
<p>@return [ String ] The version</p>
<div class="method-source-code" id="version-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_timthumb/versionable.rb, line 9</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">version</span>
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@version</span>
<span class="ruby-identifier">response</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">url</span>)
<span class="ruby-ivar">@version</span> = <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-regexp">%{TimThumb version\s*: ([^&lt;]+)}</span> , <span class="ruby-value">1</span>]
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@version</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- version-source -->
</div>
</div><!-- version-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,296 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: WpTimthumbs</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/collections/wp_timthumbs_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_timthumbs.rb">lib/common/collections/wp_timthumbs.rb</a></li>
<li><a href="./lib/common/collections/wp_timthumbs/detectable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_timthumbs/detectable.rb">lib/common/collections/wp_timthumbs/detectable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="WpItems.html">WpItems</a></p>
</div>
<!-- Namespace Contents -->
<div id="namespace-list-section" class="section">
<h3 class="section-header">Namespace</h3>
<ul class="link-list">
<li><span class="type">MODULE</span> <a href="WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">WpTimthumbs</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,519 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpTimthumbs::Detectable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/collections/wp_timthumbs/detectable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_timthumbs/detectable.rb">lib/common/collections/wp_timthumbs/detectable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-create_item">#create_item</a></li>
<li><a href="#method-i-passive_detection">#passive_detection</a></li>
<li><a href="#method-i-targets_items">#targets_items</a></li>
<li><a href="#method-i-targets_items_from_file">#targets_items_from_file</a></li>
<li><a href="#method-i-theme_timthumbs">#theme_timthumbs</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpTimthumbs::Detectable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="passive_detection-method" class="method-detail ">
<a name="method-i-passive_detection"></a>
<div class="method-heading">
<span class="method-name">passive_detection</span><span
class="method-args">(wp_target, options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>No passive detection</p>
<p>@param [ <a href="../WpTarget.html">WpTarget</a> ] wp_target @param [ Hash
] options</p>
<p>@return [ <a href="../WpTimthumbs.html">WpTimthumbs</a> ]</p>
<div class="method-source-code" id="passive_detection-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_timthumbs/detectable.rb, line 11</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">passive_detection</span>(<span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">options</span> = {})
<span class="ruby-identifier">new</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- passive_detection-source -->
</div>
</div><!-- passive_detection-method -->
</div><!-- public-instance-method-details -->
<div id="protected-instance-method-details" class="method-section section">
<h3 class="section-header">Protected Instance Methods</h3>
<div id="create_item-method" class="method-detail ">
<a name="method-i-create_item"></a>
<div class="method-heading">
<span class="method-name">create_item</span><span
class="method-args">(wp_target, path = nil)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="../WpTarget.html">WpTarget</a> ] wp_target @option [
String ] path</p>
<p>@return [ <a href="../WpTimthumb.html">WpTimthumb</a> ]</p>
<div class="method-source-code" id="create_item-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_timthumbs/detectable.rb, line 71</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">create_item</span>(<span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">path</span> = <span class="ruby-keyword">nil</span>)
<span class="ruby-identifier">options</span> = {
<span class="ruby-identifier">wp_content_dir</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wp_target</span>.<span class="ruby-identifier">wp_content_dir</span>,
<span class="ruby-identifier">wp_plugins_dir</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wp_target</span>.<span class="ruby-identifier">wp_plugins_dir</span>
}
<span class="ruby-identifier">options</span>.<span class="ruby-identifier">merge!</span>(<span class="ruby-identifier">path</span><span class="ruby-operator">:</span> <span class="ruby-identifier">path</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">path</span>
<span class="ruby-constant">WpTimthumb</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">wp_target</span>.<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">options</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- create_item-source -->
</div>
</div><!-- create_item-method -->
<div id="targets_items-method" class="method-detail ">
<a name="method-i-targets_items"></a>
<div class="method-heading">
<span class="method-name">targets_items</span><span
class="method-args">(wp_target, options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="../WpTarget.html">WpTarget</a> ] wp_target @param [ Hash
] options @option options [ String ] :file The path to the file containing
the targets @option options [ String ] :theme_name</p>
<p>@return [ <a href="../Array.html">Array</a>&lt;WpTimthumb&gt; ]</p>
<div class="method-source-code" id="targets_items-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_timthumbs/detectable.rb, line 23</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">targets_items</span>(<span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">options</span> = {})
<span class="ruby-identifier">targets</span> = <span class="ruby-identifier">options</span>[<span class="ruby-value">:theme_name</span>] <span class="ruby-operator">?</span> <span class="ruby-identifier">theme_timthumbs</span>(<span class="ruby-identifier">options</span>[<span class="ruby-value">:theme_name</span>], <span class="ruby-identifier">wp_target</span>) <span class="ruby-operator">:</span> []
<span class="ruby-keyword">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:file</span>]
<span class="ruby-identifier">targets</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">targets_items_from_file</span>(<span class="ruby-identifier">options</span>[<span class="ruby-value">:file</span>], <span class="ruby-identifier">wp_target</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">targets</span>.<span class="ruby-identifier">uniq</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">i</span>.<span class="ruby-identifier">url</span> }
<span class="ruby-keyword">end</span></pre>
</div><!-- targets_items-source -->
</div>
</div><!-- targets_items-method -->
<div id="targets_items_from_file-method" class="method-detail ">
<a name="method-i-targets_items_from_file"></a>
<div class="method-heading">
<span class="method-name">targets_items_from_file</span><span
class="method-args">(file, wp_target)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ String ] file @param [ <a href="../WpTarget.html">WpTarget</a> ]
wp_target</p>
<p>@return [ <a href="../Array.html">Array</a>&lt;WpTimthumb&gt; ]</p>
<div class="method-source-code" id="targets_items_from_file-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_timthumbs/detectable.rb, line 56</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">targets_items_from_file</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">wp_target</span>)
<span class="ruby-identifier">targets</span> = []
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">file</span>, <span class="ruby-string">'r'</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">f</span>.<span class="ruby-identifier">readlines</span>.<span class="ruby-identifier">collect</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">path</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">targets</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">create_item</span>(<span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">path</span>.<span class="ruby-identifier">strip</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">targets</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- targets_items_from_file-source -->
</div>
</div><!-- targets_items_from_file-method -->
<div id="theme_timthumbs-method" class="method-detail ">
<a name="method-i-theme_timthumbs"></a>
<div class="method-heading">
<span class="method-name">theme_timthumbs</span><span
class="method-args">(theme_name, wp_target)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ String ] theme_name @param [ <a
href="../WpTarget.html">WpTarget</a> ] wp_target</p>
<p>@return [ <a href="../Array.html">Array</a>&lt;WpTimthumb&gt; ]</p>
<div class="method-source-code" id="theme_timthumbs-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_timthumbs/detectable.rb, line 37</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">theme_timthumbs</span>(<span class="ruby-identifier">theme_name</span>, <span class="ruby-identifier">wp_target</span>)
<span class="ruby-identifier">targets</span> = []
<span class="ruby-identifier">wp_timthumb</span> = <span class="ruby-identifier">create_item</span>(<span class="ruby-identifier">wp_target</span>)
<span class="ruby-node">%{
timthumb.php lib/timthumb.php inc/timthumb.php includes/timthumb.php
scripts/timthumb.php tools/timthumb.php functions/timthumb.php
}</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">path</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">wp_timthumb</span>.<span class="ruby-identifier">path</span> = <span class="ruby-node">&quot;$wp-content$/themes/#{theme_name}/#{path}&quot;</span>
<span class="ruby-identifier">targets</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">wp_timthumb</span>.<span class="ruby-identifier">dup</span>
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">targets</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- theme_timthumbs-source -->
</div>
</div><!-- theme_timthumbs-method -->
</div><!-- protected-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,616 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: WpUser</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/models/wp_user/existable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_user/existable.rb">lib/common/models/wp_user/existable.rb</a></li>
<li><a href="./lib/common/models/wp_user_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_user.rb">lib/common/models/wp_user.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="WpItem.html">WpItem</a></p>
</div>
<!-- Namespace Contents -->
<div id="namespace-list-section" class="section">
<h3 class="section-header">Namespace</h3>
<ul class="link-list">
<li><span class="type">MODULE</span> <a href="WpUser/Existable.html">WpUser::Existable</a></li>
</ul>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-3C-3D-3E">#<=></a></li>
<li><a href="#method-i-3D-3D">#==</a></li>
<li><a href="#method-i-3D-3D-3D">#===</a></li>
<li><a href="#method-i-allowed_options">#allowed_options</a></li>
<li><a href="#method-i-to_s">#to_s</a></li>
<li><a href="#method-i-uri">#uri</a></li>
</ul>
</div>
<!-- Included Modules -->
<div id="includes-section" class="section">
<h3 class="section-header">Included Modules</h3>
<ul class="link-list">
<li><a class="include" href="WpUser/Existable.html">WpUser::Existable</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">WpUser</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="display_name-attribute-method" class="method-detail">
<a name="display_name"></a>
<a name="display_name="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">display_name</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="id-attribute-method" class="method-detail">
<a name="id"></a>
<a name="id="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">id</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="login-attribute-method" class="method-detail">
<a name="login"></a>
<a name="login="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">login</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
<div id="password-attribute-method" class="method-detail">
<a name="password"></a>
<a name="password="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">password</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="3C-3D-3E-method" class="method-detail ">
<a name="method-i-3C-3D-3E"></a>
<div class="method-heading">
<span class="method-name">&lt;=&gt;</span><span
class="method-args">(other)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="WpUser.html">WpUser</a> ] other</p>
<div class="method-source-code" id="3C-3D-3E-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_user.rb, line 30</span>
<span class="ruby-keyword">def</span> <span class="ruby-operator">&lt;=&gt;</span>(<span class="ruby-identifier">other</span>)
<span class="ruby-identifier">id</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">id</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- 3C-3D-3E-source -->
</div>
</div><!-- 3C-3D-3E-method -->
<div id="3D-3D-method" class="method-detail ">
<a name="method-i-3D-3D"></a>
<div class="method-heading">
<span class="method-name">==</span><span
class="method-args">(other)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="WpUser.html">WpUser</a> ] other</p>
<p>@return [ Boolean ]</p>
<div class="method-source-code" id="3D-3D-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_user.rb, line 37</span>
<span class="ruby-keyword">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">other</span>)
<span class="ruby-keyword">self</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">other</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- 3D-3D-source -->
</div>
</div><!-- 3D-3D-method -->
<div id="3D-3D-3D-method" class="method-detail ">
<a name="method-i-3D-3D-3D"></a>
<div class="method-heading">
<span class="method-name">===</span><span
class="method-args">(other)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="WpUser.html">WpUser</a> ] other</p>
<p>@return [ Boolean ]</p>
<div class="method-source-code" id="3D-3D-3D-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_user.rb, line 44</span>
<span class="ruby-keyword">def</span> <span class="ruby-operator">===</span>(<span class="ruby-identifier">other</span>)
<span class="ruby-identifier">id</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">id</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">login</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">login</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- 3D-3D-3D-source -->
</div>
</div><!-- 3D-3D-3D-method -->
<div id="allowed_options-method" class="method-detail ">
<a name="method-i-allowed_options"></a>
<div class="method-heading">
<span class="method-name">allowed_options</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ <a href="Array.html">Array</a>&lt;Symbol&gt; ]</p>
<div class="method-source-code" id="allowed_options-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_user.rb, line 10</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">allowed_options</span>; [<span class="ruby-value">:id</span>, <span class="ruby-value">:login</span>, <span class="ruby-value">:display_name</span>, <span class="ruby-value">:password</span>] <span class="ruby-keyword">end</span></pre>
</div><!-- allowed_options-source -->
</div>
</div><!-- allowed_options-method -->
<div id="to_s-method" class="method-detail ">
<a name="method-i-to_s"></a>
<div class="method-heading">
<span class="method-name">to_s</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ]</p>
<div class="method-source-code" id="to_s-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_user.rb, line 22</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
<span class="ruby-identifier">s</span> = <span class="ruby-node">&quot;#{id}&quot;</span>
<span class="ruby-identifier">s</span> <span class="ruby-operator">+=</span> <span class="ruby-node">&quot; | #{login}&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">login</span>
<span class="ruby-identifier">s</span> <span class="ruby-operator">+=</span> <span class="ruby-node">&quot; | #{display_name}&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">display_name</span>
<span class="ruby-identifier">s</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- to_s-source -->
</div>
</div><!-- to_s-method -->
<div id="uri-method" class="method-detail ">
<a name="method-i-uri"></a>
<div class="method-heading">
<span class="method-name">uri</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ <a href="URI.html">URI</a> ] The uri to the auhor page</p>
<div class="method-source-code" id="uri-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_user.rb, line 13</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">uri</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">id</span>
<span class="ruby-keyword">return</span> <span class="ruby-ivar">@uri</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-node">&quot;?author=#{id}&quot;</span>)
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">raise</span> <span class="ruby-string">'The id is nil'</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- uri-source -->
</div>
</div><!-- uri-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,468 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpUser::Existable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_user/existable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_user/existable.rb">lib/common/models/wp_user/existable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-c-display_name_from_body">::display_name_from_body</a></li>
<li><a href="#method-c-login_from_author_pattern">::login_from_author_pattern</a></li>
<li><a href="#method-c-login_from_body">::login_from_body</a></li>
<li><a href="#method-i-exists_from_response-3F">#exists_from_response?</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpUser::Existable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-class-method-details" class="method-section section">
<h3 class="section-header">Public Class Methods</h3>
<div id="display_name_from_body-method" class="method-detail ">
<a name="method-c-display_name_from_body"></a>
<div class="method-heading">
<span class="method-name">display_name_from_body</span><span
class="method-args">(body)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@note Some bodies are encoded in ASCII-8BIT, and Nokogiri doesnt support
it</p>
<pre>So it's forced to UTF-8 when this encoding is detected</pre>
<p>@param [ String ] body</p>
<p>@return [ String ] The display_name</p>
<div class="method-source-code" id="display_name_from_body-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_user/existable.rb, line 63</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">display_name_from_body</span>(<span class="ruby-identifier">body</span>)
<span class="ruby-keyword">if</span> <span class="ruby-identifier">title_tag</span> = <span class="ruby-identifier">body</span>[<span class="ruby-regexp">%{&lt;title&gt;([^&lt;]+)&lt;/title&gt;}</span>, <span class="ruby-value">1</span>]
<span class="ruby-identifier">title_tag</span>.<span class="ruby-identifier">force_encoding</span>(<span class="ruby-string">'UTF-8'</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">title_tag</span>.<span class="ruby-identifier">encoding</span> <span class="ruby-operator">==</span> <span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">ASCII_8BIT</span>
<span class="ruby-identifier">title_tag</span> = <span class="ruby-constant">Nokogiri</span><span class="ruby-operator">::</span><span class="ruby-constant">HTML</span><span class="ruby-operator">::</span><span class="ruby-constant">DocumentFragment</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">title_tag</span>).<span class="ruby-identifier">to_s</span>
<span class="ruby-comment"># &amp;amp; are not decoded with Nokogiri
</span>
<span class="ruby-identifier">title_tag</span>.<span class="ruby-identifier">sub!</span>(<span class="ruby-string">'&amp;amp;'</span>, <span class="ruby-string">'&amp;'</span>)
<span class="ruby-identifier">name</span> = <span class="ruby-identifier">title_tag</span>[<span class="ruby-regexp">%{([^|«]+) }</span>, <span class="ruby-value">1</span>]
<span class="ruby-keyword">return</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">strip</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">name</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- display_name_from_body-source -->
</div>
</div><!-- display_name_from_body-method -->
<div id="login_from_author_pattern-method" class="method-detail ">
<a name="method-c-login_from_author_pattern"></a>
<div class="method-heading">
<span class="method-name">login_from_author_pattern</span><span
class="method-args">(text)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ String ] text</p>
<p>@return [ String ] The login</p>
<div class="method-source-code" id="login_from_author_pattern-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_user/existable.rb, line 38</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">login_from_author_pattern</span>(<span class="ruby-identifier">text</span>)
<span class="ruby-identifier">text</span>[<span class="ruby-regexp">%{/author/([^/\b]+)/?}</span>, <span class="ruby-value">1</span>]
<span class="ruby-keyword">end</span></pre>
</div><!-- login_from_author_pattern-source -->
</div>
</div><!-- login_from_author_pattern-method -->
<div id="login_from_body-method" class="method-detail ">
<a name="method-c-login_from_body"></a>
<div class="method-heading">
<span class="method-name">login_from_body</span><span
class="method-args">(body)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ String ] body</p>
<p>@return [ String ] The login</p>
<div class="method-source-code" id="login_from_body-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_user/existable.rb, line 45</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">login_from_body</span>(<span class="ruby-identifier">body</span>)
<span class="ruby-comment"># Feed URL with Permalinks
</span>
<span class="ruby-identifier">login</span> = <span class="ruby-constant">WpUser</span><span class="ruby-operator">::</span><span class="ruby-constant">Existable</span>.<span class="ruby-identifier">login_from_author_pattern</span>(<span class="ruby-identifier">body</span>)
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">login</span>
<span class="ruby-comment"># No Permalinks
</span>
<span class="ruby-identifier">login</span> = <span class="ruby-identifier">body</span>[<span class="ruby-regexp">%{&lt;body class=&quot;archive author author-([^\s]+) author-(\d+)}</span>, <span class="ruby-value">1</span>]
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">login</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- login_from_body-source -->
</div>
</div><!-- login_from_body-method -->
</div><!-- public-class-method-details -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="exists_from_response-3F-method" class="method-detail ">
<a name="method-i-exists_from_response-3F"></a>
<div class="method-heading">
<span class="method-name">exists_from_response?</span><span
class="method-args">(response, options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="../Typhoeus/Response.html">Typhoeus::Response</a> ]
response @param [ Hash ] options</p>
<p>@return [ Boolean ]</p>
<div class="method-source-code" id="exists_from_response-3F-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_user/existable.rb, line 9</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">exists_from_response?</span>(<span class="ruby-identifier">response</span>, <span class="ruby-identifier">options</span> = {})
<span class="ruby-identifier">load_from_response</span>(<span class="ruby-identifier">response</span>)
<span class="ruby-ivar">@login</span> <span class="ruby-operator">?</span> <span class="ruby-keyword">true</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- exists_from_response-3F-source -->
</div>
</div><!-- exists_from_response-3F-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>

View File

@@ -1,313 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: WpUsers</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/collections/wp_users_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_users.rb">lib/common/collections/wp_users.rb</a></li>
<li><a href="./lib/common/collections/wp_users/output_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_users/output.rb">lib/common/collections/wp_users/output.rb</a></li>
<li><a href="./lib/common/collections/wp_users/detectable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_users/detectable.rb">lib/common/collections/wp_users/detectable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="WpItems.html">WpItems</a></p>
</div>
<!-- Namespace Contents -->
<div id="namespace-list-section" class="section">
<h3 class="section-header">Namespace</h3>
<ul class="link-list">
<li><span class="type">MODULE</span> <a href="WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><span class="type">MODULE</span> <a href="WpUsers/Output.html">WpUsers::Output</a></li>
</ul>
</div>
<!-- Included Modules -->
<div id="includes-section" class="section">
<h3 class="section-header">Included Modules</h3>
<ul class="link-list">
<li><a class="include" href="WpUsers/Output.html">WpUsers::Output</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">WpUsers</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,409 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpUsers::Detectable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/collections/wp_users/detectable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_users/detectable.rb">lib/common/collections/wp_users/detectable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-passive_detection">#passive_detection</a></li>
<li><a href="#method-i-request_params">#request_params</a></li>
<li><a href="#method-i-targets_items">#targets_items</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpUsers::Detectable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="passive_detection-method" class="method-detail ">
<a name="method-i-passive_detection"></a>
<div class="method-heading">
<span class="method-name">passive_detection</span><span
class="method-args">(wp_target, options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>No passive detection</p>
<p>@return [ <a href="../WpUsers.html">WpUsers</a> ]</p>
<div class="method-source-code" id="passive_detection-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_users/detectable.rb, line 11</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">passive_detection</span>(<span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">options</span> = {})
<span class="ruby-identifier">new</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- passive_detection-source -->
</div>
</div><!-- passive_detection-method -->
<div id="request_params-method" class="method-detail ">
<a name="method-i-request_params"></a>
<div class="method-heading">
<span class="method-name">request_params</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ Hash ]</p>
<div class="method-source-code" id="request_params-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_users/detectable.rb, line 6</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">request_params</span>; {} <span class="ruby-keyword">end</span></pre>
</div><!-- request_params-source -->
</div>
</div><!-- request_params-method -->
</div><!-- public-instance-method-details -->
<div id="protected-instance-method-details" class="method-section section">
<h3 class="section-header">Protected Instance Methods</h3>
<div id="targets_items-method" class="method-detail ">
<a name="method-i-targets_items"></a>
<div class="method-heading">
<span class="method-name">targets_items</span><span
class="method-args">(wp_target, options = {})</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="../WpTarget.html">WpTarget</a> ] wp_target @param [ Hash
] options @option options [ Range ] :range ((1..10))</p>
<p>@return [ <a href="../Array.html">Array</a>&lt;WpUser&gt; ]</p>
<div class="method-source-code" id="targets_items-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_users/detectable.rb, line 22</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">targets_items</span>(<span class="ruby-identifier">wp_target</span>, <span class="ruby-identifier">options</span> = {})
<span class="ruby-identifier">range</span> = <span class="ruby-identifier">options</span>[<span class="ruby-value">:range</span>] <span class="ruby-operator">||</span> (<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">10</span>)
<span class="ruby-identifier">targets</span> = []
<span class="ruby-identifier">range</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">user_id</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">targets</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">WpUser</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">wp_target</span>.<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user_id</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">targets</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- targets_items-source -->
</div>
</div><!-- targets_items-method -->
</div><!-- protected-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,341 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpUsers::Output</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/collections/wp_users/output_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/collections/wp_users/output.rb">lib/common/collections/wp_users/output.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-output">#output</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpUsers::Output</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="output-method" class="method-detail ">
<a name="method-i-output"></a>
<div class="method-heading">
<span class="method-name">output</span><span
class="method-args">(left_margin = '')</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>TODO : create a generic method to output tabs</p>
<div class="method-source-code" id="output-source">
<pre>
<span class="ruby-comment"># File lib/common/collections/wp_users/output.rb, line 6</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">output</span>(<span class="ruby-identifier">left_margin</span> = <span class="ruby-string">''</span>)
<span class="ruby-identifier">max_id_length</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">sort</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span>, <span class="ruby-identifier">b</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">id</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">b</span>.<span class="ruby-identifier">id</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">length</span> }.<span class="ruby-identifier">last</span>.<span class="ruby-identifier">id</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">length</span>
<span class="ruby-identifier">max_login_length</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">sort</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span>, <span class="ruby-identifier">b</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">login</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">b</span>.<span class="ruby-identifier">login</span>.<span class="ruby-identifier">length</span> }.<span class="ruby-identifier">last</span>.<span class="ruby-identifier">login</span>.<span class="ruby-identifier">length</span>
<span class="ruby-identifier">max_display_name_length</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">sort</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span>, <span class="ruby-identifier">b</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">display_name</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">b</span>.<span class="ruby-identifier">display_name</span>.<span class="ruby-identifier">length</span> }.<span class="ruby-identifier">last</span>.<span class="ruby-identifier">display_name</span>.<span class="ruby-identifier">length</span>
<span class="ruby-identifier">inner_space</span> = <span class="ruby-value">2</span>
<span class="ruby-identifier">id_length</span> = (<span class="ruby-identifier">max_id_length</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">inner_space</span> * <span class="ruby-value">2</span>) <span class="ruby-operator">/</span><span class="ruby-value">2</span> *<span class="ruby-value">2</span>
<span class="ruby-identifier">login_length</span> = <span class="ruby-identifier">max_login_length</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">inner_space</span> * <span class="ruby-value">2</span>
<span class="ruby-identifier">display_name_length</span> = <span class="ruby-identifier">max_display_name_length</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">inner_space</span> * <span class="ruby-value">2</span>
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">left_margin</span> <span class="ruby-operator">+</span> <span class="ruby-string">'+'</span> * (<span class="ruby-identifier">id_length</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">login_length</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">display_name_length</span> <span class="ruby-operator">+</span> <span class="ruby-value">4</span>)
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">left_margin</span> <span class="ruby-operator">+</span> <span class="ruby-string">'|'</span> <span class="ruby-operator">+</span> <span class="ruby-string">'id'</span>.<span class="ruby-identifier">center</span>(<span class="ruby-identifier">id_length</span>) <span class="ruby-operator">+</span> <span class="ruby-string">'|'</span> <span class="ruby-operator">+</span> <span class="ruby-string">'login'</span>.<span class="ruby-identifier">center</span>(<span class="ruby-identifier">login_length</span>) <span class="ruby-operator">+</span> <span class="ruby-string">'|'</span> <span class="ruby-operator">+</span> <span class="ruby-string">'display name'</span>.<span class="ruby-identifier">center</span>(<span class="ruby-identifier">display_name_length</span>) <span class="ruby-operator">+</span> <span class="ruby-string">'|'</span>
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">left_margin</span> <span class="ruby-operator">+</span> <span class="ruby-string">'|'</span> <span class="ruby-operator">+</span> <span class="ruby-string">'+'</span> * (<span class="ruby-identifier">id_length</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">login_length</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">display_name_length</span> <span class="ruby-operator">+</span> <span class="ruby-value">2</span>) <span class="ruby-operator">+</span> <span class="ruby-string">'|'</span>
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">u</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">left_margin</span> <span class="ruby-operator">+</span> <span class="ruby-string">'|'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">u</span>.<span class="ruby-identifier">id</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">center</span>(<span class="ruby-identifier">id_length</span>) <span class="ruby-operator">+</span> <span class="ruby-string">'|'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">u</span>.<span class="ruby-identifier">login</span>.<span class="ruby-identifier">center</span>(<span class="ruby-identifier">login_length</span>) <span class="ruby-operator">+</span> <span class="ruby-string">'|'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">u</span>.<span class="ruby-identifier">display_name</span>.<span class="ruby-identifier">center</span>(<span class="ruby-identifier">display_name_length</span>) <span class="ruby-operator">+</span> <span class="ruby-string">'|'</span>
<span class="ruby-keyword">end</span>
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">left_margin</span> <span class="ruby-operator">+</span> <span class="ruby-string">'+'</span> * (<span class="ruby-identifier">id_length</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">login_length</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">display_name_length</span> <span class="ruby-operator">+</span> <span class="ruby-value">4</span>)
<span class="ruby-keyword">end</span></pre>
</div><!-- output-source -->
</div>
</div><!-- output-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,430 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: WpVersion</title>
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="class">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="./index.html">Home</a>
<a href="./index.html#classes">Classes</a>
<a href="./index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="./lib/common/models/wp_version/output_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_version/output.rb">lib/common/models/wp_version/output.rb</a></li>
<li><a href="./lib/common/models/wp_version/findable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_version/findable.rb">lib/common/models/wp_version/findable.rb</a></li>
<li><a href="./lib/common/models/wp_version/vulnerable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_version/vulnerable.rb">lib/common/models/wp_version/vulnerable.rb</a></li>
<li><a href="./lib/common/models/wp_version_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_version.rb">lib/common/models/wp_version.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Parent Class -->
<div id="parent-class-section" class="section">
<h3 class="section-header">Parent</h3>
<p class="link"><a href="WpItem.html">WpItem</a></p>
</div>
<!-- Namespace Contents -->
<div id="namespace-list-section" class="section">
<h3 class="section-header">Namespace</h3>
<ul class="link-list">
<li><span class="type">MODULE</span> <a href="WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><span class="type">MODULE</span> <a href="WpVersion/Output.html">WpVersion::Output</a></li>
<li><span class="type">MODULE</span> <a href="WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
</ul>
</div>
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-3D-3D">#==</a></li>
<li><a href="#method-i-allowed_options">#allowed_options</a></li>
</ul>
</div>
<!-- Included Modules -->
<div id="includes-section" class="section">
<h3 class="section-header">Included Modules</h3>
<ul class="link-list">
<li><a class="include" href="WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a class="include" href="WpVersion/Output.html">WpVersion::Output</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="./CREDITS.html">CREDITS</a></li>
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
<li class="file"><a href="./README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="./images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="./WpItem.html">WpItem</a></li>
<li><a href="./WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="./WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="./WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="./WpItem/Output.html">WpItem::Output</a></li>
<li><a href="./WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="./WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="./Typhoeus.html">Typhoeus</a></li>
<li><a href="./Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="./Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="./Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="./WpTheme.html">WpTheme</a></li>
<li><a href="./WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="./WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="./WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="./WpTimthumb.html">WpTimthumb</a></li>
<li><a href="./WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="./WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="./WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="./WpVersion.html">WpVersion</a></li>
<li><a href="./WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="./WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="./WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="./WpItems.html">WpItems</a></li>
<li><a href="./WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="./WpItems/Output.html">WpItems::Output</a></li>
<li><a href="./WpUsers.html">WpUsers</a></li>
<li><a href="./WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="./WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="./Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="./Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="./Vulnerability.html">Vulnerability</a></li>
<li><a href="./Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="./WpPlugin.html">WpPlugin</a></li>
<li><a href="./WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="./WpPlugins.html">WpPlugins</a></li>
<li><a href="./WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="./WpThemes.html">WpThemes</a></li>
<li><a href="./WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="./WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="./WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="./WpUser.html">WpUser</a></li>
<li><a href="./WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="./Array.html">Array</a></li>
<li><a href="./Browser.html">Browser</a></li>
<li><a href="./BruteForce.html">BruteForce</a></li>
<li><a href="./CacheFileStore.html">CacheFileStore</a></li>
<li><a href="./CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="./CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="./GenerateList.html">GenerateList</a></li>
<li><a href="./GitUpdater.html">GitUpdater</a></li>
<li><a href="./ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="./Malwares.html">Malwares</a></li>
<li><a href="./Object.html">Object</a></li>
<li><a href="./Plugin.html">Plugin</a></li>
<li><a href="./Plugins.html">Plugins</a></li>
<li><a href="./StatsPlugin.html">StatsPlugin</a></li>
<li><a href="./SvnParser.html">SvnParser</a></li>
<li><a href="./SvnUpdater.html">SvnUpdater</a></li>
<li><a href="./TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="./URI.html">URI</a></li>
<li><a href="./Updater.html">Updater</a></li>
<li><a href="./UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="./WebSite.html">WebSite</a></li>
<li><a href="./WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="./WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="./WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="./WpReadme.html">WpReadme</a></li>
<li><a href="./WpTarget.html">WpTarget</a></li>
<li><a href="./WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="class">WpVersion</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Attributes -->
<div id="attribute-method-details" class="method-section section">
<h3 class="section-header">Attributes</h3>
<div id="number-attribute-method" class="method-detail">
<a name="number"></a>
<a name="number="></a>
<div class="method-heading attribute-method-heading">
<span class="method-name">number</span><span
class="attribute-access-type">[RW]</span>
</div>
<div class="method-description">
<p>The version number</p>
</div>
</div>
</div><!-- attribute-method-details -->
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="3D-3D-method" class="method-detail ">
<a name="method-i-3D-3D"></a>
<div class="method-heading">
<span class="method-name">==</span><span
class="method-args">(other)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@param [ <a href="WpVersion.html">WpVersion</a> ] other</p>
<p>@return [ Boolean ]</p>
<div class="method-source-code" id="3D-3D-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version.rb, line 21</span>
<span class="ruby-keyword">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">other</span>)
<span class="ruby-identifier">number</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">number</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- 3D-3D-source -->
</div>
</div><!-- 3D-3D-method -->
<div id="allowed_options-method" class="method-detail ">
<a name="method-i-allowed_options"></a>
<div class="method-heading">
<span class="method-name">allowed_options</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ <a href="Array.html">Array</a> ]</p>
<div class="method-source-code" id="allowed_options-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version.rb, line 16</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">allowed_options</span>; <span class="ruby-keyword">super</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value">:number</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value">:found_from</span> <span class="ruby-keyword">end</span></pre>
</div><!-- allowed_options-source -->
</div>
</div><!-- allowed_options-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,803 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpVersion::Findable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_version/findable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_version/findable.rb">lib/common/models/wp_version/findable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-find">#find</a></li>
<li><a href="#method-i-find_from_advanced_fingerprinting">#find_from_advanced_fingerprinting</a></li>
<li><a href="#method-i-find_from_atom_generator">#find_from_atom_generator</a></li>
<li><a href="#method-i-find_from_links_opml">#find_from_links_opml</a></li>
<li><a href="#method-i-find_from_meta_generator">#find_from_meta_generator</a></li>
<li><a href="#method-i-find_from_rdf_generator">#find_from_rdf_generator</a></li>
<li><a href="#method-i-find_from_readme">#find_from_readme</a></li>
<li><a href="#method-i-find_from_rss_generator">#find_from_rss_generator</a></li>
<li><a href="#method-i-find_from_sitemap_generator">#find_from_sitemap_generator</a></li>
<li><a href="#method-i-scan_url">#scan_url</a></li>
<li><a href="#method-i-version_pattern">#version_pattern</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpVersion::Findable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="find-method" class="method-detail ">
<a name="method-i-find"></a>
<div class="method-heading">
<span class="method-name">find</span><span
class="method-args">(target_uri, wp_content_dir, wp_plugins_dir, versions_xml)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Find the version of the blog designated from target_uri</p>
<p>@param [ <a href="../URI.html">URI</a> ] target_uri @param [ String ]
wp_content_dir @param [ String ] wp_plugins_dir</p>
<p>@return [ <a href="../WpVersion.html">WpVersion</a> ]</p>
<div class="method-source-code" id="find-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version/findable.rb, line 13</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find</span>(<span class="ruby-identifier">target_uri</span>, <span class="ruby-identifier">wp_content_dir</span>, <span class="ruby-identifier">wp_plugins_dir</span>, <span class="ruby-identifier">versions_xml</span>)
<span class="ruby-identifier">methods</span>.<span class="ruby-identifier">grep</span>(<span class="ruby-regexp">/find_from_/</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">method</span><span class="ruby-operator">|</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">method</span> <span class="ruby-operator">===</span> <span class="ruby-value">:find_from_advanced_fingerprinting</span>
<span class="ruby-identifier">version</span> = <span class="ruby-identifier">send</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">target_uri</span>, <span class="ruby-identifier">wp_content_dir</span>, <span class="ruby-identifier">wp_plugins_dir</span>, <span class="ruby-identifier">versions_xml</span>)
<span class="ruby-keyword">else</span>
<span class="ruby-identifier">version</span> = <span class="ruby-identifier">send</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">target_uri</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">version</span>
<span class="ruby-keyword">return</span> <span class="ruby-identifier">new</span>(<span class="ruby-identifier">target_uri</span>, <span class="ruby-identifier">number</span><span class="ruby-operator">:</span> <span class="ruby-identifier">version</span>, <span class="ruby-identifier">found_from</span><span class="ruby-operator">:</span> <span class="ruby-identifier">method</span>)
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">nil</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- find-source -->
</div>
</div><!-- find-method -->
<div id="version_pattern-method" class="method-detail ">
<a name="method-i-version_pattern"></a>
<div class="method-heading">
<span class="method-name">version_pattern</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Used to check if the version is correct: must contain at least one dot.</p>
<p>@return [ String ]</p>
<div class="method-source-code" id="version_pattern-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version/findable.rb, line 32</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">version_pattern</span>
<span class="ruby-string">'([^\r\n&quot;\]+\.[^\r\n&quot;\]+)'</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- version_pattern-source -->
</div>
</div><!-- version_pattern-method -->
</div><!-- public-instance-method-details -->
<div id="protected-instance-method-details" class="method-section section">
<h3 class="section-header">Protected Instance Methods</h3>
<div id="find_from_advanced_fingerprinting-method" class="method-detail ">
<a name="method-i-find_from_advanced_fingerprinting"></a>
<div class="method-heading">
<span class="method-name">find_from_advanced_fingerprinting</span><span
class="method-args">(target_uri, wp_content_dir, wp_plugins_dir, versions_xml)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Uses data/wp_versions.xml to try to identify a wordpress version.</p>
<p>It does this by using client side file hashing</p>
<p>/!\ Warning : this method might return false positive if the file used for
fingerprinting is part of a theme (they can be updated)</p>
<p>@param [ <a href="../URI.html">URI</a> ] target_uri @param [ String ]
wp_content_dir @param [ String ] wp_plugins_dir @param [ String ]
versions_xml The path to the xml containing all versions</p>
<p>@return [ String ] The version number</p>
<div class="method-source-code" id="find_from_advanced_fingerprinting-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version/findable.rb, line 153</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_from_advanced_fingerprinting</span>(<span class="ruby-identifier">target_uri</span>, <span class="ruby-identifier">wp_content_dir</span>, <span class="ruby-identifier">wp_plugins_dir</span>, <span class="ruby-identifier">versions_xml</span>)
<span class="ruby-identifier">xml</span> = <span class="ruby-identifier">xml</span>(<span class="ruby-identifier">versions_xml</span>)
<span class="ruby-comment"># This wp_item will take care of encoding the path
</span>
<span class="ruby-comment"># and replace variables like $wp-content$ &amp; $wp-plugins$
</span>
<span class="ruby-identifier">wp_item</span> = <span class="ruby-constant">WpItem</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">target_uri</span>,
<span class="ruby-identifier">wp_content_dir</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wp_content_dir</span>,
<span class="ruby-identifier">wp_plugins_dir</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wp_plugins_dir</span>)
<span class="ruby-identifier">xml</span>.<span class="ruby-identifier">xpath</span>(<span class="ruby-string">'//file'</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">node</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">wp_item</span>.<span class="ruby-identifier">path</span> = <span class="ruby-identifier">node</span>.<span class="ruby-identifier">attribute</span>(<span class="ruby-string">'src'</span>).<span class="ruby-identifier">text</span>
<span class="ruby-identifier">response</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">wp_item</span>.<span class="ruby-identifier">url</span>)
<span class="ruby-identifier">md5sum</span> = <span class="ruby-constant">Digest</span><span class="ruby-operator">::</span><span class="ruby-constant">MD5</span>.<span class="ruby-identifier">hexdigest</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>)
<span class="ruby-identifier">node</span>.<span class="ruby-identifier">search</span>(<span class="ruby-string">'hash'</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">hash</span><span class="ruby-operator">|</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">hash</span>.<span class="ruby-identifier">attribute</span>(<span class="ruby-string">'md5'</span>).<span class="ruby-identifier">text</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">md5sum</span>
<span class="ruby-keyword">return</span> <span class="ruby-identifier">hash</span>.<span class="ruby-identifier">search</span>(<span class="ruby-string">'version'</span>).<span class="ruby-identifier">text</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">nil</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- find_from_advanced_fingerprinting-source -->
</div>
</div><!-- find_from_advanced_fingerprinting-method -->
<div id="find_from_atom_generator-method" class="method-detail ">
<a name="method-i-find_from_atom_generator"></a>
<div class="method-heading">
<span class="method-name">find_from_atom_generator</span><span
class="method-args">(target_uri)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Attempts to find the WordPress version from, the generator tag in the Atom
source.</p>
<p>@param [ <a href="../URI.html">URI</a> ] target_uri</p>
<p>@return [ String ] The version number</p>
<div class="method-source-code" id="find_from_atom_generator-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version/findable.rb, line 120</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_from_atom_generator</span>(<span class="ruby-identifier">target_uri</span>)
<span class="ruby-identifier">scan_url</span>(
<span class="ruby-identifier">target_uri</span>,
<span class="ruby-node">%{&lt;generator uri=&quot;http://wordpress.org/&quot; version=&quot;#{version_pattern}&quot;&gt;WordPress&lt;/generator&gt;}</span>,
<span class="ruby-string">'feed/atom/'</span>
)
<span class="ruby-keyword">end</span></pre>
</div><!-- find_from_atom_generator-source -->
</div>
</div><!-- find_from_atom_generator-method -->
<div id="find_from_links_opml-method" class="method-detail ">
<a name="method-i-find_from_links_opml"></a>
<div class="method-heading">
<span class="method-name">find_from_links_opml</span><span
class="method-args">(target_uri)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Attempts to find the WordPress version from the p-links-opml.php file.</p>
<p>@param [ <a href="../URI.html">URI</a> ] target_uri</p>
<p>@return [ String ] The version number</p>
<div class="method-source-code" id="find_from_links_opml-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version/findable.rb, line 210</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_from_links_opml</span>(<span class="ruby-identifier">target_uri</span>)
<span class="ruby-identifier">scan_url</span>(
<span class="ruby-identifier">target_uri</span>,
<span class="ruby-node">%{generator=&quot;wordpress/#{version_pattern}&quot;}</span>,
<span class="ruby-string">'wp-links-opml.php'</span>
)
<span class="ruby-keyword">end</span></pre>
</div><!-- find_from_links_opml-source -->
</div>
</div><!-- find_from_links_opml-method -->
<div id="find_from_meta_generator-method" class="method-detail ">
<a name="method-i-find_from_meta_generator"></a>
<div class="method-heading">
<span class="method-name">find_from_meta_generator</span><span
class="method-args">(target_uri)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Attempts to find the wordpress version from, the generator meta tag in the
html source.</p>
<p>The meta tag can be removed however it seems, that it is reinstated on
upgrade.</p>
<p>@param [ <a href="../URI.html">URI</a> ] target_uri</p>
<p>@return [ String ] The version number</p>
<div class="method-source-code" id="find_from_meta_generator-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version/findable.rb, line 67</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_from_meta_generator</span>(<span class="ruby-identifier">target_uri</span>)
<span class="ruby-identifier">scan_url</span>(
<span class="ruby-identifier">target_uri</span>,
<span class="ruby-node">%{name=&quot;generator&quot; content=&quot;wordpress #{version_pattern}&quot;}</span>
)
<span class="ruby-keyword">end</span></pre>
</div><!-- find_from_meta_generator-source -->
</div>
</div><!-- find_from_meta_generator-method -->
<div id="find_from_rdf_generator-method" class="method-detail ">
<a name="method-i-find_from_rdf_generator"></a>
<div class="method-heading">
<span class="method-name">find_from_rdf_generator</span><span
class="method-args">(target_uri)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Attempts to find WordPress version from, the generator tag in the RDF feed
source.</p>
<p>@param [ <a href="../URI.html">URI</a> ] target_uri</p>
<p>@return [ String ] The version number</p>
<div class="method-source-code" id="find_from_rdf_generator-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version/findable.rb, line 94</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_from_rdf_generator</span>(<span class="ruby-identifier">target_uri</span>)
<span class="ruby-identifier">scan_url</span>(
<span class="ruby-identifier">target_uri</span>,
<span class="ruby-node">%{&lt;admin:generatorAgent rdf:resource=&quot;http://wordpress.org/\?v=#{version_pattern}&quot; /&gt;}</span>,
<span class="ruby-string">'feed/rdf/'</span>
)
<span class="ruby-keyword">end</span></pre>
</div><!-- find_from_rdf_generator-source -->
</div>
</div><!-- find_from_rdf_generator-method -->
<div id="find_from_readme-method" class="method-detail ">
<a name="method-i-find_from_readme"></a>
<div class="method-heading">
<span class="method-name">find_from_readme</span><span
class="method-args">(target_uri)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Attempts to find the WordPress version from the readme.html file.</p>
<p>@param [ <a href="../URI.html">URI</a> ] target_uri</p>
<p>@return [ String ] The version number</p>
<div class="method-source-code" id="find_from_readme-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version/findable.rb, line 182</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_from_readme</span>(<span class="ruby-identifier">target_uri</span>)
<span class="ruby-identifier">scan_url</span>(
<span class="ruby-identifier">target_uri</span>,
<span class="ruby-node">%{&lt;br /&gt;\sversion #{version_pattern}}</span>,
<span class="ruby-string">'readme.html'</span>
)
<span class="ruby-keyword">end</span></pre>
</div><!-- find_from_readme-source -->
</div>
</div><!-- find_from_readme-method -->
<div id="find_from_rss_generator-method" class="method-detail ">
<a name="method-i-find_from_rss_generator"></a>
<div class="method-heading">
<span class="method-name">find_from_rss_generator</span><span
class="method-args">(target_uri)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Attempts to find the WordPress version from, the generator tag in the RSS
feed source.</p>
<p>@param [ <a href="../URI.html">URI</a> ] target_uri</p>
<p>@return [ String ] The version number</p>
<div class="method-source-code" id="find_from_rss_generator-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version/findable.rb, line 80</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_from_rss_generator</span>(<span class="ruby-identifier">target_uri</span>)
<span class="ruby-identifier">scan_url</span>(
<span class="ruby-identifier">target_uri</span>,
<span class="ruby-node">%{&lt;generator&gt;http://wordpress.org/\?v=#{version_pattern}&lt;/generator&gt;}</span>,
<span class="ruby-string">'feed/'</span>
)
<span class="ruby-keyword">end</span></pre>
</div><!-- find_from_rss_generator-source -->
</div>
</div><!-- find_from_rss_generator-method -->
<div id="find_from_sitemap_generator-method" class="method-detail ">
<a name="method-i-find_from_sitemap_generator"></a>
<div class="method-heading">
<span class="method-name">find_from_sitemap_generator</span><span
class="method-args">(target_uri)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Attempts to find the WordPress version from the sitemap.xml file.</p>
<p>See: <a
href="http://code.google.com/p/wpscan/issues/detail?id=109">code.google.com/p/wpscan/issues/detail?id=109</a></p>
<p>@param [ <a href="../URI.html">URI</a> ] target_uri</p>
<p>@return [ String ] The version number</p>
<div class="method-source-code" id="find_from_sitemap_generator-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version/findable.rb, line 197</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_from_sitemap_generator</span>(<span class="ruby-identifier">target_uri</span>)
<span class="ruby-identifier">scan_url</span>(
<span class="ruby-identifier">target_uri</span>,
<span class="ruby-node">%{generator=&quot;wordpress/#{version_pattern}&quot;}</span>,
<span class="ruby-string">'sitemap.xml'</span>
)
<span class="ruby-keyword">end</span></pre>
</div><!-- find_from_sitemap_generator-source -->
</div>
</div><!-- find_from_sitemap_generator-method -->
<div id="scan_url-method" class="method-detail ">
<a name="method-i-scan_url"></a>
<div class="method-heading">
<span class="method-name">scan_url</span><span
class="method-args">(target_uri, pattern, path = nil)</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>Returns the first match of &lt;pattern&gt; in the body of the url</p>
<p>@param [ <a href="../URI.html">URI</a> ] target_uri @param [ Regex ]
pattern @param [ String ] path</p>
<p>@return [ String ]</p>
<div class="method-source-code" id="scan_url-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version/findable.rb, line 45</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">scan_url</span>(<span class="ruby-identifier">target_uri</span>, <span class="ruby-identifier">pattern</span>, <span class="ruby-identifier">path</span> = <span class="ruby-keyword">nil</span>)
<span class="ruby-identifier">url</span> = <span class="ruby-identifier">path</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">target_uri</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">path</span>).<span class="ruby-identifier">to_s</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">target_uri</span>.<span class="ruby-identifier">to_s</span>
<span class="ruby-identifier">response</span> = <span class="ruby-constant">Browser</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">get_and_follow_location</span>(<span class="ruby-identifier">url</span>)
<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-identifier">pattern</span>, <span class="ruby-value">1</span>]
<span class="ruby-keyword">end</span></pre>
</div><!-- scan_url-source -->
</div>
</div><!-- scan_url-method -->
</div><!-- protected-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>

View File

@@ -1,333 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpVersion::Output</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_version/output_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_version/output.rb">lib/common/models/wp_version/output.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-output">#output</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpVersion::Output</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="output-method" class="method-detail ">
<a name="method-i-output"></a>
<div class="method-heading">
<span class="method-name">output</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="output-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version/output.rb, line 5</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">output</span>
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">green</span>(<span class="ruby-string">'[+]'</span>) <span class="ruby-operator">+</span> <span class="ruby-node">&quot; WordPress version #{self.number} identified from #{self.found_from}&quot;</span>
<span class="ruby-identifier">vulnerabilities</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">vulnerabilities</span>
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">vulnerabilities</span>.<span class="ruby-identifier">empty?</span>
<span class="ruby-identifier">puts</span>
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">red</span>(<span class="ruby-string">'[!]'</span>) <span class="ruby-operator">+</span> <span class="ruby-node">&quot; We have identified #{vulnerabilities.size} vulnerabilities from the version number :&quot;</span>
<span class="ruby-identifier">vulnerabilities</span>.<span class="ruby-identifier">output</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- output-source -->
</div>
</div><!-- output-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,362 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Module: WpVersion::Vulnerable</title>
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body id="top" class="module">
<div id="metadata">
<div id="home-metadata">
<div id="home-section" class="section">
<h3 class="section-header">
<a href="../index.html">Home</a>
<a href="../index.html#classes">Classes</a>
<a href="../index.html#methods">Methods</a>
</h3>
</div>
</div>
<div id="file-metadata">
<div id="file-list-section" class="section">
<h3 class="section-header">In Files</h3>
<div class="section-body">
<ul>
<li><a href="../lib/common/models/wp_version/vulnerable_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
class="thickbox" title="lib/common/models/wp_version/vulnerable.rb">lib/common/models/wp_version/vulnerable.rb</a></li>
</ul>
</div>
</div>
</div>
<div id="class-metadata">
<!-- Method Quickref -->
<div id="method-list-section" class="section">
<h3 class="section-header">Methods</h3>
<ul class="link-list">
<li><a href="#method-i-vulns_file">#vulns_file</a></li>
<li><a href="#method-i-vulns_xpath">#vulns_xpath</a></li>
</ul>
</div>
</div>
<div id="project-metadata">
<div id="fileindex-section" class="section project-section">
<h3 class="section-header">Files</h3>
<ul>
<li class="file"><a href="../CREDITS.html">CREDITS</a></li>
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
<li class="file"><a href="../README.html">README</a></li>
</ul>
</div>
<div id="classindex-section" class="section project-section">
<h3 class="section-header">Class/Module Index
<span class="search-toggle"><img src="../images/find.png"
height="16" width="16" alt="[+]"
title="show/hide quicksearch" /></span></h3>
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
<fieldset>
<legend>Quicksearch</legend>
<input type="text" name="quicksearch" value=""
class="quicksearch-field" />
</fieldset>
</form>
<ul class="link-list">
<li><a href="../WpItem.html">WpItem</a></li>
<li><a href="../WpItem/Existable.html">WpItem::Existable</a></li>
<li><a href="../WpItem/Findable.html">WpItem::Findable</a></li>
<li><a href="../WpItem/Infos.html">WpItem::Infos</a></li>
<li><a href="../WpItem/Output.html">WpItem::Output</a></li>
<li><a href="../WpItem/Versionable.html">WpItem::Versionable</a></li>
<li><a href="../WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li><a href="../Typhoeus.html">Typhoeus</a></li>
<li><a href="../Typhoeus/Request.html">Typhoeus::Request</a></li>
<li><a href="../Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li><a href="../Typhoeus/Response.html">Typhoeus::Response</a></li>
<li><a href="../WpTheme.html">WpTheme</a></li>
<li><a href="../WpTheme/Findable.html">WpTheme::Findable</a></li>
<li><a href="../WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li><a href="../WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li><a href="../WpTimthumb.html">WpTimthumb</a></li>
<li><a href="../WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li><a href="../WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li><a href="../WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li><a href="../WpVersion.html">WpVersion</a></li>
<li><a href="../WpVersion/Findable.html">WpVersion::Findable</a></li>
<li><a href="../WpVersion/Output.html">WpVersion::Output</a></li>
<li><a href="../WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li><a href="../WpItems.html">WpItems</a></li>
<li><a href="../WpItems/Detectable.html">WpItems::Detectable</a></li>
<li><a href="../WpItems/Output.html">WpItems::Output</a></li>
<li><a href="../WpUsers.html">WpUsers</a></li>
<li><a href="../WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li><a href="../WpUsers/Output.html">WpUsers::Output</a></li>
<li><a href="../Vulnerabilities.html">Vulnerabilities</a></li>
<li><a href="../Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li><a href="../Vulnerability.html">Vulnerability</a></li>
<li><a href="../Vulnerability/Output.html">Vulnerability::Output</a></li>
<li><a href="../WpPlugin.html">WpPlugin</a></li>
<li><a href="../WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li><a href="../WpPlugins.html">WpPlugins</a></li>
<li><a href="../WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li><a href="../WpThemes.html">WpThemes</a></li>
<li><a href="../WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li><a href="../WpTimthumbs.html">WpTimthumbs</a></li>
<li><a href="../WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li><a href="../WpUser.html">WpUser</a></li>
<li><a href="../WpUser/Existable.html">WpUser::Existable</a></li>
<li><a href="../Array.html">Array</a></li>
<li><a href="../Browser.html">Browser</a></li>
<li><a href="../BruteForce.html">BruteForce</a></li>
<li><a href="../CacheFileStore.html">CacheFileStore</a></li>
<li><a href="../CheckerPlugin.html">CheckerPlugin</a></li>
<li><a href="../CustomOptionParser.html">CustomOptionParser</a></li>
<li><a href="../GenerateList.html">GenerateList</a></li>
<li><a href="../GitUpdater.html">GitUpdater</a></li>
<li><a href="../ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li><a href="../Malwares.html">Malwares</a></li>
<li><a href="../Object.html">Object</a></li>
<li><a href="../Plugin.html">Plugin</a></li>
<li><a href="../Plugins.html">Plugins</a></li>
<li><a href="../StatsPlugin.html">StatsPlugin</a></li>
<li><a href="../SvnParser.html">SvnParser</a></li>
<li><a href="../SvnUpdater.html">SvnUpdater</a></li>
<li><a href="../TyphoeusCache.html">TyphoeusCache</a></li>
<li><a href="../URI.html">URI</a></li>
<li><a href="../Updater.html">Updater</a></li>
<li><a href="../UpdaterFactory.html">UpdaterFactory</a></li>
<li><a href="../WebSite.html">WebSite</a></li>
<li><a href="../WpConfigBackup.html">WpConfigBackup</a></li>
<li><a href="../WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li><a href="../WpLoginProtection.html">WpLoginProtection</a></li>
<li><a href="../WpReadme.html">WpReadme</a></li>
<li><a href="../WpTarget.html">WpTarget</a></li>
<li><a href="../WpscanOptions.html">WpscanOptions</a></li>
</ul>
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
</div>
</div>
</div>
<div id="documentation">
<h1 class="module">WpVersion::Vulnerable</h1>
<div id="description" class="description">
</div><!-- description -->
<div id="5Buntitled-5D" class="documentation-section">
<!-- Methods -->
<div id="public-instance-method-details" class="method-section section">
<h3 class="section-header">Public Instance Methods</h3>
<div id="vulns_file-method" class="method-detail ">
<a name="method-i-vulns_file"></a>
<div class="method-heading">
<span class="method-name">vulns_file</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ] The path to the file containing vulnerabilities</p>
<div class="method-source-code" id="vulns_file-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version/vulnerable.rb, line 6</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vulns_file</span>
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@vulns_file</span>
<span class="ruby-ivar">@vulns_file</span> = <span class="ruby-constant">WP_VULNS_FILE</span>
<span class="ruby-keyword">end</span>
<span class="ruby-ivar">@vulns_file</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- vulns_file-source -->
</div>
</div><!-- vulns_file-method -->
<div id="vulns_xpath-method" class="method-detail ">
<a name="method-i-vulns_xpath"></a>
<div class="method-heading">
<span class="method-name">vulns_xpath</span><span
class="method-args">()</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<p>@return [ String ]</p>
<div class="method-source-code" id="vulns_xpath-source">
<pre>
<span class="ruby-comment"># File lib/common/models/wp_version/vulnerable.rb, line 14</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vulns_xpath</span>
<span class="ruby-node">&quot;//wordpress[@version='#{@number}']/vulnerability&quot;</span>
<span class="ruby-keyword">end</span></pre>
</div><!-- vulns_xpath-source -->
</div>
</div><!-- vulns_xpath-method -->
</div><!-- public-instance-method-details -->
</div><!-- 5Buntitled-5D -->
</div><!-- documentation -->
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@@ -1,75 +0,0 @@
Fri, 05 Apr 2013 14:38:41 +0200
./lib/wpscan/web_site.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/wpscan/modules/wp_full_path_disclosure.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/wpscan/modules/wp_config_backup.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/wpscan/modules/malwares.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/wpscan/modules/wp_readme.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/wpscan/modules/wp_login_protection.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/wpscan/modules/brute_force.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/wpscan/wp_target.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/wpscan/wpscan_options.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/wpscan/wpscan_helper.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/cache_file_store.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/typhoeus_cache.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/browser.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/models/vulnerability.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/models/wp_timthumb.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/wp_version/output.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/wp_version/findable.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/wp_version/vulnerable.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/wp_timthumb/output.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/wp_timthumb/versionable.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/wp_timthumb/existable.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/wp_theme.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/wp_user/existable.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/wp_theme/findable.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/wp_theme/versionable.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/wp_theme/vulnerable.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/wp_item/output.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/models/wp_item/findable.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/models/wp_item/infos.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/models/wp_item/versionable.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/models/wp_item/existable.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/models/wp_item/vulnerable.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/wp_plugin.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/wp_plugin/vulnerable.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/wp_item.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/models/wp_version.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/models/vulnerability/output.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/models/wp_user.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/common_helper.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/collections/wp_users.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/collections/wp_plugins/detectable.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/collections/vulnerabilities.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/collections/vulnerabilities/output.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/collections/wp_themes.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/collections/wp_items/output.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/collections/wp_items/detectable.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/collections/wp_themes/detectable.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/collections/wp_items.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/collections/wp_plugins.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/collections/wp_users/output.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/collections/wp_users/detectable.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/collections/wp_timthumbs.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/collections/wp_timthumbs/detectable.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/plugins/plugins.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/plugins/plugin.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/hacks.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/custom_option_parser.rb Fri, 05 Apr 2013 14:07:06 +0200
./lib/common/updater/updater_factory.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/updater/git_updater.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/updater/updater.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/common/updater/svn_updater.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/environment.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/wpstools/plugins/list_generator/svn_parser.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/wpstools/plugins/list_generator/generate_list.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/wpstools/plugins/list_generator/list_generator_plugin.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/wpstools/plugins/checker/checker_plugin.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/wpstools/plugins/stats/stats_plugin.rb Fri, 05 Apr 2013 14:07:07 +0200
./lib/wpstools/wpstools_helper.rb Fri, 05 Apr 2013 14:07:07 +0200
./Gemfile Mon, 18 Mar 2013 10:03:40 +0100
./README Wed, 03 Apr 2013 18:50:11 +0200
./CREDITS Wed, 30 Jan 2013 14:08:28 +0100
./wpscan.rb Fri, 05 Apr 2013 14:15:07 +0200
./wpstools.rb Fri, 05 Apr 2013 14:07:07 +0200
./LICENSE Fri, 05 Apr 2013 14:07:06 +0200

View File

@@ -1,728 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>RDoc Documentation</title>
<link type="text/css" media="screen" href="rdoc.css" rel="stylesheet" />
<script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
<script src="js/darkfish.js" type="text/javascript" charset="utf-8"></script>
</head>
<body class="indexpage">
<h1>RDoc Documentation</h1>
<p>This is the API documentation for 'RDoc Documentation'.</p>
<h2>Files</h2>
<ul>
<li class="file"><a href="CREDITS.html">CREDITS</a></li>
<li class="file"><a href="Gemfile.html">Gemfile</a></li>
<li class="file"><a href="LICENSE.html">LICENSE</a></li>
<li class="file"><a href="README.html">README</a></li>
</ul>
<h2 id="classes">Classes/Modules</h2>
<ul>
<li class="class"><a href="WpItem.html">WpItem</a></li>
<li class="module"><a href="WpItem/Existable.html">WpItem::Existable</a></li>
<li class="module"><a href="WpItem/Findable.html">WpItem::Findable</a></li>
<li class="module"><a href="WpItem/Infos.html">WpItem::Infos</a></li>
<li class="module"><a href="WpItem/Output.html">WpItem::Output</a></li>
<li class="module"><a href="WpItem/Versionable.html">WpItem::Versionable</a></li>
<li class="module"><a href="WpItem/Vulnerable.html">WpItem::Vulnerable</a></li>
<li class="module"><a href="Typhoeus.html">Typhoeus</a></li>
<li class="class"><a href="Typhoeus/Request.html">Typhoeus::Request</a></li>
<li class="module"><a href="Typhoeus/Request/Cacheable.html">Typhoeus::Request::Cacheable</a></li>
<li class="class"><a href="Typhoeus/Response.html">Typhoeus::Response</a></li>
<li class="class"><a href="WpTheme.html">WpTheme</a></li>
<li class="module"><a href="WpTheme/Findable.html">WpTheme::Findable</a></li>
<li class="module"><a href="WpTheme/Versionable.html">WpTheme::Versionable</a></li>
<li class="module"><a href="WpTheme/Vulnerable.html">WpTheme::Vulnerable</a></li>
<li class="class"><a href="WpTimthumb.html">WpTimthumb</a></li>
<li class="module"><a href="WpTimthumb/Existable.html">WpTimthumb::Existable</a></li>
<li class="module"><a href="WpTimthumb/Output.html">WpTimthumb::Output</a></li>
<li class="module"><a href="WpTimthumb/Versionable.html">WpTimthumb::Versionable</a></li>
<li class="class"><a href="WpVersion.html">WpVersion</a></li>
<li class="module"><a href="WpVersion/Findable.html">WpVersion::Findable</a></li>
<li class="module"><a href="WpVersion/Output.html">WpVersion::Output</a></li>
<li class="module"><a href="WpVersion/Vulnerable.html">WpVersion::Vulnerable</a></li>
<li class="class"><a href="WpItems.html">WpItems</a></li>
<li class="module"><a href="WpItems/Detectable.html">WpItems::Detectable</a></li>
<li class="module"><a href="WpItems/Output.html">WpItems::Output</a></li>
<li class="class"><a href="WpUsers.html">WpUsers</a></li>
<li class="module"><a href="WpUsers/Detectable.html">WpUsers::Detectable</a></li>
<li class="module"><a href="WpUsers/Output.html">WpUsers::Output</a></li>
<li class="class"><a href="Vulnerabilities.html">Vulnerabilities</a></li>
<li class="module"><a href="Vulnerabilities/Output.html">Vulnerabilities::Output</a></li>
<li class="class"><a href="Vulnerability.html">Vulnerability</a></li>
<li class="module"><a href="Vulnerability/Output.html">Vulnerability::Output</a></li>
<li class="class"><a href="WpPlugin.html">WpPlugin</a></li>
<li class="module"><a href="WpPlugin/Vulnerable.html">WpPlugin::Vulnerable</a></li>
<li class="class"><a href="WpPlugins.html">WpPlugins</a></li>
<li class="module"><a href="WpPlugins/Detectable.html">WpPlugins::Detectable</a></li>
<li class="class"><a href="WpThemes.html">WpThemes</a></li>
<li class="module"><a href="WpThemes/Detectable.html">WpThemes::Detectable</a></li>
<li class="class"><a href="WpTimthumbs.html">WpTimthumbs</a></li>
<li class="module"><a href="WpTimthumbs/Detectable.html">WpTimthumbs::Detectable</a></li>
<li class="class"><a href="WpUser.html">WpUser</a></li>
<li class="module"><a href="WpUser/Existable.html">WpUser::Existable</a></li>
<li class="class"><a href="Array.html">Array</a></li>
<li class="class"><a href="Browser.html">Browser</a></li>
<li class="module"><a href="BruteForce.html">BruteForce</a></li>
<li class="class"><a href="CacheFileStore.html">CacheFileStore</a></li>
<li class="class"><a href="CheckerPlugin.html">CheckerPlugin</a></li>
<li class="class"><a href="CustomOptionParser.html">CustomOptionParser</a></li>
<li class="class"><a href="GenerateList.html">GenerateList</a></li>
<li class="class"><a href="GitUpdater.html">GitUpdater</a></li>
<li class="class"><a href="ListGeneratorPlugin.html">ListGeneratorPlugin</a></li>
<li class="module"><a href="Malwares.html">Malwares</a></li>
<li class="class"><a href="Object.html">Object</a></li>
<li class="class"><a href="Plugin.html">Plugin</a></li>
<li class="class"><a href="Plugins.html">Plugins</a></li>
<li class="class"><a href="StatsPlugin.html">StatsPlugin</a></li>
<li class="class"><a href="SvnParser.html">SvnParser</a></li>
<li class="class"><a href="SvnUpdater.html">SvnUpdater</a></li>
<li class="class"><a href="TyphoeusCache.html">TyphoeusCache</a></li>
<li class="module"><a href="URI.html">URI</a></li>
<li class="class"><a href="Updater.html">Updater</a></li>
<li class="class"><a href="UpdaterFactory.html">UpdaterFactory</a></li>
<li class="class"><a href="WebSite.html">WebSite</a></li>
<li class="module"><a href="WpConfigBackup.html">WpConfigBackup</a></li>
<li class="module"><a href="WpFullPathDisclosure.html">WpFullPathDisclosure</a></li>
<li class="module"><a href="WpLoginProtection.html">WpLoginProtection</a></li>
<li class="module"><a href="WpReadme.html">WpReadme</a></li>
<li class="class"><a href="WpTarget.html">WpTarget</a></li>
<li class="class"><a href="WpscanOptions.html">WpscanOptions</a></li>
</ul>
<h2 id="methods">Methods</h2>
<ul>
<li><a href="UpdaterFactory.html#method-c-available_updaters_classes">::available_updaters_classes &mdash; UpdaterFactory</a></li>
<li><a href="WpscanOptions.html#method-c-clean_option">::clean_option &mdash; WpscanOptions</a></li>
<li><a href="WpConfigBackup.html#method-c-config_backup_files">::config_backup_files &mdash; WpConfigBackup</a></li>
<li><a href="WpUser/Existable.html#method-c-display_name_from_body">::display_name_from_body &mdash; WpUser::Existable</a></li>
<li><a href="WpscanOptions.html#method-c-get_opt_long">::get_opt_long &mdash; WpscanOptions</a></li>
<li><a href="UpdaterFactory.html#method-c-get_updater">::get_updater &mdash; UpdaterFactory</a></li>
<li><a href="Browser.html#method-c-instance">::instance &mdash; Browser</a></li>
<li><a href="WpscanOptions.html#method-c-is_long_option-3F">::is_long_option? &mdash; WpscanOptions</a></li>
<li><a href="BruteForce.html#method-c-lines_in_file">::lines_in_file &mdash; BruteForce</a></li>
<li><a href="WpscanOptions.html#method-c-load_from_arguments">::load_from_arguments &mdash; WpscanOptions</a></li>
<li><a href="Vulnerability.html#method-c-load_from_xml_node">::load_from_xml_node &mdash; Vulnerability</a></li>
<li><a href="WpUser/Existable.html#method-c-login_from_author_pattern">::login_from_author_pattern &mdash; WpUser::Existable</a></li>
<li><a href="WpUser/Existable.html#method-c-login_from_body">::login_from_body &mdash; WpUser::Existable</a></li>
<li><a href="Malwares.html#method-c-malware_pattern">::malware_pattern &mdash; Malwares</a></li>
<li><a href="Malwares.html#method-c-malwares_file">::malwares_file &mdash; Malwares</a></li>
<li><a href="Vulnerability/Output.html#method-c-metasploit_module_url">::metasploit_module_url &mdash; Vulnerability::Output</a></li>
<li><a href="WebSite.html#method-c-new">::new &mdash; WebSite</a></li>
<li><a href="WpTarget.html#method-c-new">::new &mdash; WpTarget</a></li>
<li><a href="CacheFileStore.html#method-c-new">::new &mdash; CacheFileStore</a></li>
<li><a href="Vulnerability.html#method-c-new">::new &mdash; Vulnerability</a></li>
<li><a href="Updater.html#method-c-new">::new &mdash; Updater</a></li>
<li><a href="StatsPlugin.html#method-c-new">::new &mdash; StatsPlugin</a></li>
<li><a href="Plugins.html#method-c-new">::new &mdash; Plugins</a></li>
<li><a href="Plugin.html#method-c-new">::new &mdash; Plugin</a></li>
<li><a href="CustomOptionParser.html#method-c-new">::new &mdash; CustomOptionParser</a></li>
<li><a href="CheckerPlugin.html#method-c-new">::new &mdash; CheckerPlugin</a></li>
<li><a href="ListGeneratorPlugin.html#method-c-new">::new &mdash; ListGeneratorPlugin</a></li>
<li><a href="GenerateList.html#method-c-new">::new &mdash; GenerateList</a></li>
<li><a href="WpscanOptions.html#method-c-new">::new &mdash; WpscanOptions</a></li>
<li><a href="SvnParser.html#method-c-new">::new &mdash; SvnParser</a></li>
<li><a href="WpItem.html#method-c-new">::new &mdash; WpItem</a></li>
<li><a href="WpscanOptions.html#method-c-option_to_instance_variable_setter">::option_to_instance_variable_setter &mdash; WpscanOptions</a></li>
<li><a href="CustomOptionParser.html#method-c-option_to_symbol">::option_to_symbol &mdash; CustomOptionParser</a></li>
<li><a href="WebSite.html#method-c-page_hash">::page_hash &mdash; WebSite</a></li>
<li><a href="Browser.html#method-c-reset">::reset &mdash; Browser</a></li>
<li><a href="WpTarget.html#method-c-valid_response_codes">::valid_response_codes &mdash; WpTarget</a></li>
<li><a href="WpItem.html#method-i-3C-3D-3E">#<=> &mdash; WpItem</a></li>
<li><a href="WpUser.html#method-i-3C-3D-3E">#<=> &mdash; WpUser</a></li>
<li><a href="WpItem.html#method-i-3D-3D">#== &mdash; WpItem</a></li>
<li><a href="WpTimthumb.html#method-i-3D-3D">#== &mdash; WpTimthumb</a></li>
<li><a href="WpUser.html#method-i-3D-3D">#== &mdash; WpUser</a></li>
<li><a href="WpVersion.html#method-i-3D-3D">#== &mdash; WpVersion</a></li>
<li><a href="Vulnerability.html#method-i-3D-3D">#== &mdash; Vulnerability</a></li>
<li><a href="WpItem.html#method-i-3D-3D-3D">#=== &mdash; WpItem</a></li>
<li><a href="WpUser.html#method-i-3D-3D-3D">#=== &mdash; WpUser</a></li>
<li><a href="Array.html#method-i-_grep_">#_grep_ &mdash; Array</a></li>
<li><a href="CustomOptionParser.html#method-i-add">#add &mdash; CustomOptionParser</a></li>
<li><a href="Object.html#method-i-add_http_protocol">#add_http_protocol &mdash; Object</a></li>
<li><a href="CustomOptionParser.html#method-i-add_option">#add_option &mdash; CustomOptionParser</a></li>
<li><a href="Object.html#method-i-add_trailing_slash">#add_trailing_slash &mdash; Object</a></li>
<li><a href="WpItems/Detectable.html#method-i-aggressive_detection">#aggressive_detection &mdash; WpItems::Detectable</a></li>
<li><a href="WpItem.html#method-i-allowed_options">#allowed_options &mdash; WpItem</a></li>
<li><a href="WpTheme.html#method-i-allowed_options">#allowed_options &mdash; WpTheme</a></li>
<li><a href="WpVersion.html#method-i-allowed_options">#allowed_options &mdash; WpVersion</a></li>
<li><a href="WpUser.html#method-i-allowed_options">#allowed_options &mdash; WpUser</a></li>
<li><a href="Object.html#method-i-banner">#banner &mdash; Object</a></li>
<li><a href="WpscanOptions.html#method-i-basic_auth-3D">#basic_auth= &mdash; WpscanOptions</a></li>
<li><a href="WpLoginProtection.html#method-i-better_wp_security_url">#better_wp_security_url &mdash; WpLoginProtection</a></li>
<li><a href="WpLoginProtection.html#method-i-bluetrait_event_viewer_url">#bluetrait_event_viewer_url &mdash; WpLoginProtection</a></li>
<li><a href="BruteForce.html#method-i-brute_force">#brute_force &mdash; BruteForce</a></li>
<li><a href="Typhoeus/Request/Cacheable.html#method-i-cache_key">#cache_key &mdash; Typhoeus::Request::Cacheable</a></li>
<li><a href="WpItem/Infos.html#method-i-changelog_url">#changelog_url &mdash; WpItem::Infos</a></li>
<li><a href="CheckerPlugin.html#method-i-check_local_vulnerable_files">#check_local_vulnerable_files &mdash; CheckerPlugin</a></li>
<li><a href="CheckerPlugin.html#method-i-check_vuln_ref_urls">#check_vuln_ref_urls &mdash; CheckerPlugin</a></li>
<li><a href="CacheFileStore.html#method-i-clean">#clean &mdash; CacheFileStore</a></li>
<li><a href="Object.html#method-i-colorize">#colorize &mdash; Object</a></li>
<li><a href="WpConfigBackup.html#method-i-config_backup">#config_backup &mdash; WpConfigBackup</a></li>
<li><a href="WpItems/Detectable.html#method-i-create_item">#create_item &mdash; WpItems::Detectable</a></li>
<li><a href="WpTimthumbs/Detectable.html#method-i-create_item">#create_item &mdash; WpTimthumbs::Detectable</a></li>
<li><a href="WpTarget.html#method-i-debug_log_url">#debug_log_url &mdash; WpTarget</a></li>
<li><a href="WpTarget.html#method-i-default_wp_content_dir_exists-3F">#default_wp_content_dir_exists? &mdash; WpTarget</a></li>
<li><a href="URI.html#method-i-encode">#encode &mdash; URI</a></li>
<li><a href="WpscanOptions.html#method-i-enumerate_all_plugins-3D">#enumerate_all_plugins= &mdash; WpscanOptions</a></li>
<li><a href="WpscanOptions.html#method-i-enumerate_all_themes-3D">#enumerate_all_themes= &mdash; WpscanOptions</a></li>
<li><a href="WpscanOptions.html#method-i-enumerate_only_vulnerable_plugins-3D">#enumerate_only_vulnerable_plugins= &mdash; WpscanOptions</a></li>
<li><a href="WpscanOptions.html#method-i-enumerate_only_vulnerable_themes-3D">#enumerate_only_vulnerable_themes= &mdash; WpscanOptions</a></li>
<li><a href="WpscanOptions.html#method-i-enumerate_options_from_string">#enumerate_options_from_string &mdash; WpscanOptions</a></li>
<li><a href="WpscanOptions.html#method-i-enumerate_plugins-3D">#enumerate_plugins= &mdash; WpscanOptions</a></li>
<li><a href="WpscanOptions.html#method-i-enumerate_themes-3D">#enumerate_themes= &mdash; WpscanOptions</a></li>
<li><a href="WebSite.html#method-i-error_404_hash">#error_404_hash &mdash; WebSite</a></li>
<li><a href="WpItem/Infos.html#method-i-error_log_url">#error_log_url &mdash; WpItem::Infos</a></li>
<li><a href="URI.html#method-i-escape">#escape &mdash; URI</a></li>
<li><a href="WpItem/Existable.html#method-i-exists-3F">#exists? &mdash; WpItem::Existable</a></li>
<li><a href="WpItem/Existable.html#method-i-exists_from_response-3F">#exists_from_response? &mdash; WpItem::Existable</a></li>
<li><a href="WpTimthumb/Existable.html#method-i-exists_from_response-3F">#exists_from_response? &mdash; WpTimthumb::Existable</a></li>
<li><a href="WpUser/Existable.html#method-i-exists_from_response-3F">#exists_from_response? &mdash; WpUser::Existable</a></li>
<li><a href="WpVersion/Findable.html#method-i-find">#find &mdash; WpVersion::Findable</a></li>
<li><a href="WpTheme/Findable.html#method-i-find">#find &mdash; WpTheme::Findable</a></li>
<li><a href="WpVersion/Findable.html#method-i-find_from_advanced_fingerprinting">#find_from_advanced_fingerprinting &mdash; WpVersion::Findable</a></li>
<li><a href="WpVersion/Findable.html#method-i-find_from_atom_generator">#find_from_atom_generator &mdash; WpVersion::Findable</a></li>
<li><a href="WpTheme/Findable.html#method-i-find_from_css_link">#find_from_css_link &mdash; WpTheme::Findable</a></li>
<li><a href="WpVersion/Findable.html#method-i-find_from_links_opml">#find_from_links_opml &mdash; WpVersion::Findable</a></li>
<li><a href="WpVersion/Findable.html#method-i-find_from_meta_generator">#find_from_meta_generator &mdash; WpVersion::Findable</a></li>
<li><a href="WpVersion/Findable.html#method-i-find_from_rdf_generator">#find_from_rdf_generator &mdash; WpVersion::Findable</a></li>
<li><a href="WpVersion/Findable.html#method-i-find_from_readme">#find_from_readme &mdash; WpVersion::Findable</a></li>
<li><a href="WpVersion/Findable.html#method-i-find_from_rss_generator">#find_from_rss_generator &mdash; WpVersion::Findable</a></li>
<li><a href="WpVersion/Findable.html#method-i-find_from_sitemap_generator">#find_from_sitemap_generator &mdash; WpVersion::Findable</a></li>
<li><a href="WpTheme/Findable.html#method-i-find_from_wooframework">#find_from_wooframework &mdash; WpTheme::Findable</a></li>
<li><a href="Browser.html#method-i-forge_request">#forge_request &mdash; Browser</a></li>
<li><a href="WpPlugin.html#method-i-forge_uri">#forge_uri &mdash; WpPlugin</a></li>
<li><a href="WpItem.html#method-i-forge_uri">#forge_uri &mdash; WpItem</a></li>
<li><a href="WpTheme.html#method-i-forge_uri">#forge_uri &mdash; WpTheme</a></li>
<li><a href="WpItem.html#method-i-found_from-3D">#found_from= &mdash; WpItem</a></li>
<li><a href="WpFullPathDisclosure.html#method-i-full_path_disclosure_url">#full_path_disclosure_url &mdash; WpFullPathDisclosure</a></li>
<li><a href="GenerateList.html#method-i-generate_full_list">#generate_full_list &mdash; GenerateList</a></li>
<li><a href="GenerateList.html#method-i-generate_popular_list">#generate_popular_list &mdash; GenerateList</a></li>
<li><a href="TyphoeusCache.html#method-i-get">#get &mdash; TyphoeusCache</a></li>
<li><a href="Browser.html#method-i-get">#get &mdash; Browser</a></li>
<li><a href="Browser.html#method-i-get_and_follow_location">#get_and_follow_location &mdash; Browser</a></li>
<li><a href="CacheFileStore.html#method-i-get_entry_file_path">#get_entry_file_path &mdash; CacheFileStore</a></li>
<li><a href="GenerateList.html#method-i-get_popular_items">#get_popular_items &mdash; GenerateList</a></li>
<li><a href="Object.html#method-i-green">#green &mdash; Object</a></li>
<li><a href="Array.html#method-i-grep">#grep &mdash; Array</a></li>
<li><a href="WebSite.html#method-i-has_basic_auth-3F">#has_basic_auth? &mdash; WebSite</a></li>
<li><a href="WpLoginProtection.html#method-i-has_better_wp_security_protection-3F">#has_better_wp_security_protection? &mdash; WpLoginProtection</a></li>
<li><a href="WpLoginProtection.html#method-i-has_bluetrait_event_viewer_protection-3F">#has_bluetrait_event_viewer_protection? &mdash; WpLoginProtection</a></li>
<li><a href="WpItem/Infos.html#method-i-has_changelog-3F">#has_changelog? &mdash; WpItem::Infos</a></li>
<li><a href="WpTarget.html#method-i-has_debug_log-3F">#has_debug_log? &mdash; WpTarget</a></li>
<li><a href="WpItem/Infos.html#method-i-has_directory_listing-3F">#has_directory_listing? &mdash; WpItem::Infos</a></li>
<li><a href="WpItem/Infos.html#method-i-has_error_log-3F">#has_error_log? &mdash; WpItem::Infos</a></li>
<li><a href="WpFullPathDisclosure.html#method-i-has_full_path_disclosure-3F">#has_full_path_disclosure? &mdash; WpFullPathDisclosure</a></li>
<li><a href="WpLoginProtection.html#method-i-has_limit_login_attempts_protection-3F">#has_limit_login_attempts_protection? &mdash; WpLoginProtection</a></li>
<li><a href="GitUpdater.html#method-i-has_local_changes-3F">#has_local_changes? &mdash; GitUpdater</a></li>
<li><a href="WpLoginProtection.html#method-i-has_login_lock_protection-3F">#has_login_lock_protection? &mdash; WpLoginProtection</a></li>
<li><a href="WpLoginProtection.html#method-i-has_login_lockdown_protection-3F">#has_login_lockdown_protection? &mdash; WpLoginProtection</a></li>
<li><a href="WpLoginProtection.html#method-i-has_login_protection-3F">#has_login_protection? &mdash; WpLoginProtection</a></li>
<li><a href="WpLoginProtection.html#method-i-has_login_security_solution_protection-3F">#has_login_security_solution_protection? &mdash; WpLoginProtection</a></li>
<li><a href="Malwares.html#method-i-has_malwares-3F">#has_malwares? &mdash; Malwares</a></li>
<li><a href="WpscanOptions.html#method-i-has_options-3F">#has_options? &mdash; WpscanOptions</a></li>
<li><a href="WpTarget.html#method-i-has_plugin-3F">#has_plugin? &mdash; WpTarget</a></li>
<li><a href="WpItem/Infos.html#method-i-has_readme-3F">#has_readme? &mdash; WpItem::Infos</a></li>
<li><a href="WpReadme.html#method-i-has_readme-3F">#has_readme? &mdash; WpReadme</a></li>
<li><a href="WebSite.html#method-i-has_robots-3F">#has_robots? &mdash; WebSite</a></li>
<li><a href="WpLoginProtection.html#method-i-has_simple_login_lockdown_protection-3F">#has_simple_login_lockdown_protection? &mdash; WpLoginProtection</a></li>
<li><a href="Typhoeus/Response.html#method-i-has_valid_hash-3F">#has_valid_hash? &mdash; Typhoeus::Response</a></li>
<li><a href="WebSite.html#method-i-has_xml_rpc-3F">#has_xml_rpc? &mdash; WebSite</a></li>
<li><a href="Object.html#method-i-help">#help &mdash; Object</a></li>
<li><a href="WebSite.html#method-i-homepage_hash">#homepage_hash &mdash; WebSite</a></li>
<li><a href="Browser.html#method-i-invalid_proxy_auth_format">#invalid_proxy_auth_format &mdash; Browser</a></li>
<li><a href="GitUpdater.html#method-i-is_installed-3F">#is_installed? &mdash; GitUpdater</a></li>
<li><a href="Updater.html#method-i-is_installed-3F">#is_installed? &mdash; Updater</a></li>
<li><a href="SvnUpdater.html#method-i-is_installed-3F">#is_installed? &mdash; SvnUpdater</a></li>
<li><a href="WpTarget.html#method-i-is_multisite-3F">#is_multisite? &mdash; WpTarget</a></li>
<li><a href="WpItems/Detectable.html#method-i-item_class">#item_class &mdash; WpItems::Detectable</a></li>
<li><a href="WpPlugins/Detectable.html#method-i-item_xpath">#item_xpath &mdash; WpPlugins::Detectable</a></li>
<li><a href="WpThemes/Detectable.html#method-i-item_xpath">#item_xpath &mdash; WpThemes::Detectable</a></li>
<li><a href="WpLoginProtection.html#method-i-limit_login_attempts_url">#limit_login_attempts_url &mdash; WpLoginProtection</a></li>
<li><a href="StatsPlugin.html#method-i-lines_in_file">#lines_in_file &mdash; StatsPlugin</a></li>
<li><a href="Browser.html#method-i-load_config">#load_config &mdash; Browser</a></li>
<li><a href="SvnUpdater.html#method-i-local_revision_number">#local_revision_number &mdash; SvnUpdater</a></li>
<li><a href="Updater.html#method-i-local_revision_number">#local_revision_number &mdash; Updater</a></li>
<li><a href="GitUpdater.html#method-i-local_revision_number">#local_revision_number &mdash; GitUpdater</a></li>
<li><a href="WpLoginProtection.html#method-i-login_protection_plugin">#login_protection_plugin &mdash; WpLoginProtection</a></li>
<li><a href="WpLoginProtection.html#method-i-login_security_solution_url">#login_security_solution_url &mdash; WpLoginProtection</a></li>
<li><a href="WpTarget.html#method-i-login_url">#login_url &mdash; WpTarget</a></li>
<li><a href="Object.html#method-i-main">#main &mdash; Object</a></li>
<li><a href="Malwares.html#method-i-malwares">#malwares &mdash; Malwares</a></li>
<li><a href="Browser.html#method-i-max_threads-3D">#max_threads= &mdash; Browser</a></li>
<li><a href="Browser.html#method-i-merge_request_params">#merge_request_params &mdash; Browser</a></li>
<li><a href="WebSite.html#method-i-online-3F">#online? &mdash; WebSite</a></li>
<li><a href="WpVersion/Output.html#method-i-output">#output &mdash; WpVersion::Output</a></li>
<li><a href="Vulnerability/Output.html#method-i-output">#output &mdash; Vulnerability::Output</a></li>
<li><a href="WpTimthumb/Output.html#method-i-output">#output &mdash; WpTimthumb::Output</a></li>
<li><a href="Vulnerabilities/Output.html#method-i-output">#output &mdash; Vulnerabilities::Output</a></li>
<li><a href="WpItems/Output.html#method-i-output">#output &mdash; WpItems::Output</a></li>
<li><a href="WpUsers/Output.html#method-i-output">#output &mdash; WpUsers::Output</a></li>
<li><a href="WpItem/Output.html#method-i-output">#output &mdash; WpItem::Output</a></li>
<li><a href="SvnParser.html#method-i-parse">#parse &mdash; SvnParser</a></li>
<li><a href="WpTimthumbs/Detectable.html#method-i-passive_detection">#passive_detection &mdash; WpTimthumbs::Detectable</a></li>
<li><a href="WpItems/Detectable.html#method-i-passive_detection">#passive_detection &mdash; WpItems::Detectable</a></li>
<li><a href="WpUsers/Detectable.html#method-i-passive_detection">#passive_detection &mdash; WpUsers::Detectable</a></li>
<li><a href="WpItem.html#method-i-path-3D">#path= &mdash; WpItem</a></li>
<li><a href="WpLoginProtection.html#method-i-plugin_url">#plugin_url &mdash; WpLoginProtection</a></li>
<li><a href="StatsPlugin.html#method-i-plugin_vulns_count">#plugin_vulns_count &mdash; StatsPlugin</a></li>
<li><a href="Browser.html#method-i-post">#post &mdash; Browser</a></li>
<li><a href="WpscanOptions.html#method-i-proxy-3D">#proxy= &mdash; WpscanOptions</a></li>
<li><a href="Browser.html#method-i-proxy_auth-3D">#proxy_auth= &mdash; Browser</a></li>
<li><a href="WpscanOptions.html#method-i-proxy_auth-3D">#proxy_auth= &mdash; WpscanOptions</a></li>
<li><a href="Object.html#method-i-puts">#puts &mdash; Object</a></li>
<li><a href="CacheFileStore.html#method-i-read_entry">#read_entry &mdash; CacheFileStore</a></li>
<li><a href="WpItem/Infos.html#method-i-readme_url">#readme_url &mdash; WpItem::Infos</a></li>
<li><a href="WpReadme.html#method-i-readme_url">#readme_url &mdash; WpReadme</a></li>
<li><a href="Object.html#method-i-red">#red &mdash; Object</a></li>
<li><a href="WebSite.html#method-i-redirection">#redirection &mdash; WebSite</a></li>
<li><a href="Plugins.html#method-i-register">#register &mdash; Plugins</a></li>
<li><a href="Plugin.html#method-i-register_options">#register_options &mdash; Plugin</a></li>
<li><a href="Plugins.html#method-i-register_plugin">#register_plugin &mdash; Plugins</a></li>
<li><a href="WpTarget.html#method-i-registration_enabled-3F">#registration_enabled? &mdash; WpTarget</a></li>
<li><a href="WpTarget.html#method-i-registration_url">#registration_url &mdash; WpTarget</a></li>
<li><a href="GitUpdater.html#method-i-repo_directory_arguments">#repo_directory_arguments &mdash; GitUpdater</a></li>
<li><a href="WpItems/Detectable.html#method-i-request_params">#request_params &mdash; WpItems::Detectable</a></li>
<li><a href="WpUsers/Detectable.html#method-i-request_params">#request_params &mdash; WpUsers::Detectable</a></li>
<li><a href="Object.html#method-i-require_files_from_directory">#require_files_from_directory &mdash; Object</a></li>
<li><a href="GitUpdater.html#method-i-reset_head">#reset_head &mdash; GitUpdater</a></li>
<li><a href="CustomOptionParser.html#method-i-results">#results &mdash; CustomOptionParser</a></li>
<li><a href="WebSite.html#method-i-robots_url">#robots_url &mdash; WebSite</a></li>
<li><a href="WebSite.html#method-i-rss_url">#rss_url &mdash; WebSite</a></li>
<li><a href="StatsPlugin.html#method-i-run">#run &mdash; StatsPlugin</a></li>
<li><a href="ListGeneratorPlugin.html#method-i-run">#run &mdash; ListGeneratorPlugin</a></li>
<li><a href="CheckerPlugin.html#method-i-run">#run &mdash; CheckerPlugin</a></li>
<li><a href="Plugin.html#method-i-run">#run &mdash; Plugin</a></li>
<li><a href="GenerateList.html#method-i-save">#save &mdash; GenerateList</a></li>
<li><a href="WpVersion/Findable.html#method-i-scan_url">#scan_url &mdash; WpVersion::Findable</a></li>
<li><a href="WpTarget.html#method-i-search_replace_db_2_exists-3F">#search_replace_db_2_exists? &mdash; WpTarget</a></li>
<li><a href="WpTarget.html#method-i-search_replace_db_2_url">#search_replace_db_2_url &mdash; WpTarget</a></li>
<li><a href="TyphoeusCache.html#method-i-set">#set &mdash; TyphoeusCache</a></li>
<li><a href="GenerateList.html#method-i-set_file_name">#set_file_name &mdash; GenerateList</a></li>
<li><a href="WpscanOptions.html#method-i-set_option_from_cli">#set_option_from_cli &mdash; WpscanOptions</a></li>
<li><a href="WpLoginProtection.html#method-i-simple_login_lockdown_url">#simple_login_lockdown_url &mdash; WpLoginProtection</a></li>
<li><a href="WpTheme.html#method-i-style_url">#style_url &mdash; WpTheme</a></li>
<li><a href="WpTimthumbs/Detectable.html#method-i-targets_items">#targets_items &mdash; WpTimthumbs::Detectable</a></li>
<li><a href="WpItems/Detectable.html#method-i-targets_items">#targets_items &mdash; WpItems::Detectable</a></li>
<li><a href="WpUsers/Detectable.html#method-i-targets_items">#targets_items &mdash; WpUsers::Detectable</a></li>
<li><a href="WpTimthumbs/Detectable.html#method-i-targets_items_from_file">#targets_items_from_file &mdash; WpTimthumbs::Detectable</a></li>
<li><a href="WpItems/Detectable.html#method-i-targets_items_from_file">#targets_items_from_file &mdash; WpItems::Detectable</a></li>
<li><a href="WpTarget.html#method-i-theme">#theme &mdash; WpTarget</a></li>
<li><a href="WpTimthumbs/Detectable.html#method-i-theme_timthumbs">#theme_timthumbs &mdash; WpTimthumbs::Detectable</a></li>
<li><a href="StatsPlugin.html#method-i-theme_vulns_count">#theme_vulns_count &mdash; StatsPlugin</a></li>
<li><a href="WpscanOptions.html#method-i-threads-3D">#threads= &mdash; WpscanOptions</a></li>
<li><a href="WpscanOptions.html#method-i-to_h">#to_h &mdash; WpscanOptions</a></li>
<li><a href="WpTimthumb/Versionable.html#method-i-to_s">#to_s &mdash; WpTimthumb::Versionable</a></li>
<li><a href="WpUser.html#method-i-to_s">#to_s &mdash; WpUser</a></li>
<li><a href="WpItem/Versionable.html#method-i-to_s">#to_s &mdash; WpItem::Versionable</a></li>
<li><a href="StatsPlugin.html#method-i-total_plugins">#total_plugins &mdash; StatsPlugin</a></li>
<li><a href="StatsPlugin.html#method-i-total_themes">#total_themes &mdash; StatsPlugin</a></li>
<li><a href="Updater.html#method-i-update">#update &mdash; Updater</a></li>
<li><a href="SvnUpdater.html#method-i-update">#update &mdash; SvnUpdater</a></li>
<li><a href="GitUpdater.html#method-i-update">#update &mdash; GitUpdater</a></li>
<li><a href="WpItem.html#method-i-uri">#uri &mdash; WpItem</a></li>
<li><a href="WpUser.html#method-i-uri">#uri &mdash; WpUser</a></li>
<li><a href="WebSite.html#method-i-url">#url &mdash; WebSite</a></li>
<li><a href="WpItem.html#method-i-url">#url &mdash; WpItem</a></li>
<li><a href="WebSite.html#method-i-url-3D">#url= &mdash; WebSite</a></li>
<li><a href="WpscanOptions.html#method-i-url-3D">#url= &mdash; WpscanOptions</a></li>
<li><a href="Object.html#method-i-usage">#usage &mdash; Object</a></li>
<li><a href="Browser.html#method-i-user_agent">#user_agent &mdash; Browser</a></li>
<li><a href="Browser.html#method-i-user_agent_mode-3D">#user_agent_mode= &mdash; Browser</a></li>
<li><a href="WpItem/Versionable.html#method-i-version">#version &mdash; WpItem::Versionable</a></li>
<li><a href="WpTarget.html#method-i-version">#version &mdash; WpTarget</a></li>
<li><a href="WpTheme/Versionable.html#method-i-version">#version &mdash; WpTheme::Versionable</a></li>
<li><a href="WpTimthumb/Versionable.html#method-i-version">#version &mdash; WpTimthumb::Versionable</a></li>
<li><a href="WpVersion/Findable.html#method-i-version_pattern">#version_pattern &mdash; WpVersion::Findable</a></li>
<li><a href="StatsPlugin.html#method-i-vuln_plugin_count">#vuln_plugin_count &mdash; StatsPlugin</a></li>
<li><a href="StatsPlugin.html#method-i-vuln_theme_count">#vuln_theme_count &mdash; StatsPlugin</a></li>
<li><a href="WpItem/Vulnerable.html#method-i-vulnerabilities">#vulnerabilities &mdash; WpItem::Vulnerable</a></li>
<li><a href="WpItems/Detectable.html#method-i-vulnerable_targets_items">#vulnerable_targets_items &mdash; WpItems::Detectable</a></li>
<li><a href="WpThemes/Detectable.html#method-i-vulns_file">#vulns_file &mdash; WpThemes::Detectable</a></li>
<li><a href="WpVersion/Vulnerable.html#method-i-vulns_file">#vulns_file &mdash; WpVersion::Vulnerable</a></li>
<li><a href="WpPlugins/Detectable.html#method-i-vulns_file">#vulns_file &mdash; WpPlugins::Detectable</a></li>
<li><a href="WpTheme/Vulnerable.html#method-i-vulns_file">#vulns_file &mdash; WpTheme::Vulnerable</a></li>
<li><a href="WpPlugin/Vulnerable.html#method-i-vulns_file">#vulns_file &mdash; WpPlugin::Vulnerable</a></li>
<li><a href="WpVersion/Vulnerable.html#method-i-vulns_xpath">#vulns_xpath &mdash; WpVersion::Vulnerable</a></li>
<li><a href="WpPlugin/Vulnerable.html#method-i-vulns_xpath">#vulns_xpath &mdash; WpPlugin::Vulnerable</a></li>
<li><a href="WpTheme/Vulnerable.html#method-i-vulns_xpath">#vulns_xpath &mdash; WpTheme::Vulnerable</a></li>
<li><a href="WpscanOptions.html#method-i-wordlist-3D">#wordlist= &mdash; WpscanOptions</a></li>
<li><a href="WpTarget.html#method-i-wordpress-3F">#wordpress? &mdash; WpTarget</a></li>
<li><a href="WpTarget.html#method-i-wp_content_dir">#wp_content_dir &mdash; WpTarget</a></li>
<li><a href="WpTarget.html#method-i-wp_plugins_dir">#wp_plugins_dir &mdash; WpTarget</a></li>
<li><a href="WpTarget.html#method-i-wp_plugins_dir_exists-3F">#wp_plugins_dir_exists? &mdash; WpTarget</a></li>
<li><a href="CacheFileStore.html#method-i-write_entry">#write_entry &mdash; CacheFileStore</a></li>
<li><a href="Object.html#method-i-xml">#xml &mdash; Object</a></li>
<li><a href="WebSite.html#method-i-xml_rpc_url">#xml_rpc_url &mdash; WebSite</a></li>
<li><a href="WebSite.html#method-i-xml_rpc_url_from_body">#xml_rpc_url_from_body &mdash; WebSite</a></li>
<li><a href="WebSite.html#method-i-xml_rpc_url_from_headers">#xml_rpc_url_from_headers &mdash; WebSite</a></li>
</ul>
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
Rdoc Generator</a> 2</small>.</p>
</div>
</body>
</html>

View File

@@ -1,116 +0,0 @@
/**
*
* Darkfish Page Functions
* $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $
*
* Author: Michael Granger <mgranger@laika.com>
*
*/
/* Provide console simulation for firebug-less environments */
if (!("console" in window) || !("firebug" in console)) {
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
"group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
window.console = {};
for (var i = 0; i < names.length; ++i)
window.console[names[i]] = function() {};
};
/**
* Unwrap the first element that matches the given @expr@ from the targets and return them.
*/
$.fn.unwrap = function( expr ) {
return this.each( function() {
$(this).parents( expr ).eq( 0 ).after( this ).remove();
});
};
function showSource( e ) {
var target = e.target;
var codeSections = $(target).
parents('.method-detail').
find('.method-source-code');
$(target).
parents('.method-detail').
find('.method-source-code').
slideToggle();
};
function hookSourceViews() {
$('.method-description,.method-heading').click( showSource );
};
function toggleDebuggingSection() {
$('.debugging-section').slideToggle();
};
function hookDebuggingToggle() {
$('#debugging-toggle img').click( toggleDebuggingSection );
};
function hookQuickSearch() {
$('.quicksearch-field').each( function() {
var searchElems = $(this).parents('.section').find( 'li' );
var toggle = $(this).parents('.section').find('h3 .search-toggle');
// console.debug( "Toggle is: %o", toggle );
var qsbox = $(this).parents('form').get( 0 );
$(this).quicksearch( this, searchElems, {
noSearchResultsIndicator: 'no-class-search-results',
focusOnLoad: false
});
$(toggle).click( function() {
// console.debug( "Toggling qsbox: %o", qsbox );
$(qsbox).toggle();
});
});
};
function highlightTarget( anchor ) {
console.debug( "Highlighting target '%s'.", anchor );
$("a[name=" + anchor + "]").each( function() {
if ( !$(this).parent().parent().hasClass('target-section') ) {
console.debug( "Wrapping the target-section" );
$('div.method-detail').unwrap( 'div.target-section' );
$(this).parent().wrap( '<div class="target-section"></div>' );
} else {
console.debug( "Already wrapped." );
}
});
};
function highlightLocationTarget() {
console.debug( "Location hash: %s", window.location.hash );
if ( ! window.location.hash || window.location.hash.length == 0 ) return;
var anchor = window.location.hash.substring(1);
console.debug( "Found anchor: %s; matching %s", anchor, "a[name=" + anchor + "]" );
highlightTarget( anchor );
};
function highlightClickTarget( event ) {
console.debug( "Highlighting click target for event %o", event.target );
try {
var anchor = $(event.target).attr( 'href' ).substring(1);
console.debug( "Found target anchor: %s", anchor );
highlightTarget( anchor );
} catch ( err ) {
console.error( "Exception while highlighting: %o", err );
};
};
$(document).ready( function() {
hookSourceViews();
hookDebuggingToggle();
hookQuickSearch();
highlightLocationTarget();
$('ul.link-list a').bind( "click", highlightClickTarget );
});

32
doc/js/jquery.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -1,114 +0,0 @@
/**
*
* JQuery QuickSearch - Hook up a form field to hide non-matching elements.
* $Id: quicksearch.js 53 2009-01-07 02:52:03Z deveiant $
*
* Author: Michael Granger <mgranger@laika.com>
*
*/
jQuery.fn.quicksearch = function( target, searchElems, options ) {
// console.debug( "Quicksearch fn" );
var settings = {
delay: 250,
clearButton: false,
highlightMatches: false,
focusOnLoad: false,
noSearchResultsIndicator: null
};
if ( options ) $.extend( settings, options );
return jQuery(this).each( function() {
// console.debug( "Creating a new quicksearch on %o for %o", this, searchElems );
new jQuery.quicksearch( this, searchElems, settings );
});
};
jQuery.quicksearch = function( searchBox, searchElems, settings ) {
var timeout;
var boxdiv = $(searchBox).parents('div').eq(0);
function init() {
setupKeyEventHandlers();
focusOnLoad();
};
function setupKeyEventHandlers() {
// console.debug( "Hooking up the 'keypress' event to %o", searchBox );
$(searchBox).
unbind( 'keyup' ).
keyup( function(e) { return onSearchKey( e.keyCode ); });
$(searchBox).
unbind( 'keypress' ).
keypress( function(e) {
switch( e.which ) {
// Execute the search on Enter, Tab, or Newline
case 9:
case 13:
case 10:
clearTimeout( timeout );
e.preventDefault();
doQuickSearch();
break;
// Allow backspace
case 8:
return true;
break;
// Only allow valid search characters
default:
return validQSChar( e.charCode );
}
});
};
function focusOnLoad() {
if ( !settings.focusOnLoad ) return false;
$(searchBox).focus();
};
function onSearchKey ( code ) {
clearTimeout( timeout );
// console.debug( "...scheduling search." );
timeout = setTimeout( doQuickSearch, settings.delay );
};
function validQSChar( code ) {
var c = String.fromCharCode( code );
return (
(c == ':') ||
(c >= 'a' && c <= 'z') ||
(c >= 'A' && c <= 'Z')
);
};
function doQuickSearch() {
var searchText = searchBox.value;
var pat = new RegExp( searchText, "im" );
var shownCount = 0;
if ( settings.noSearchResultsIndicator ) {
$('#' + settings.noSearchResultsIndicator).hide();
}
// All elements start out hidden
$(searchElems).each( function(index) {
var str = $(this).text();
if ( pat.test(str) ) {
shownCount += 1;
$(this).fadeIn();
} else {
$(this).hide();
}
});
if ( shownCount == 0 && settings.noSearchResultsIndicator ) {
$('#' + settings.noSearchResultsIndicator).slideDown();
}
};
init();
};

File diff suppressed because one or more lines are too long

View File

@@ -1,54 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: browser.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet" />
<script src="../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
<li>common/typhoeus_cache</li>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,61 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: cache_file_store.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet" />
<script src="../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
<li>yaml</li>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
<h1>&gt; @todo take consideration of the cache_timeout :</h1>
<pre>-&gt; create 2 files per key : one for the data storage (key.store ?)
and the other for the cache timeout (key.expiration, key.timeout ?)
or 1 file for all timeouts ?
-&gt; 2 dirs : 1 for storage, the other for cache_timeout ?</pre>
</div>
</div>
</body>
</html>

View File

@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: output.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../../rdoc.css" rel="stylesheet" />
<script src="../../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,54 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: vulnerabilities.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../rdoc.css" rel="stylesheet" />
<script src="../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
<li>common/collections/vulnerabilities/output</li>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: detectable.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../../rdoc.css" rel="stylesheet" />
<script src="../../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: output.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../../rdoc.css" rel="stylesheet" />
<script src="../../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,56 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: wp_items.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../rdoc.css" rel="stylesheet" />
<script src="../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
<li>common/collections/wp_items/detectable</li>
<li>common/collections/wp_items/output</li>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: detectable.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../../rdoc.css" rel="stylesheet" />
<script src="../../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,54 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: wp_plugins.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../rdoc.css" rel="stylesheet" />
<script src="../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
<li>common/collections/wp_plugins/detectable</li>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: detectable.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../../rdoc.css" rel="stylesheet" />
<script src="../../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,54 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: wp_themes.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../rdoc.css" rel="stylesheet" />
<script src="../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
<li>common/collections/wp_themes/detectable</li>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: detectable.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../../rdoc.css" rel="stylesheet" />
<script src="../../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,54 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: wp_timthumbs.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../rdoc.css" rel="stylesheet" />
<script src="../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
<li>common/collections/wp_timthumbs/detectable</li>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: detectable.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../../rdoc.css" rel="stylesheet" />
<script src="../../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: output.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../../rdoc.css" rel="stylesheet" />
<script src="../../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,56 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: wp_users.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../rdoc.css" rel="stylesheet" />
<script src="../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
<li>common/collections/wp_users/detectable</li>
<li>common/collections/wp_users/output</li>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,54 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: common_helper.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet" />
<script src="../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
<li>environment</li>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: custom_option_parser.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet" />
<script src="../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,57 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: hacks.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet" />
<script src="../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
<p>Since ruby 1.9.2, URI::escape is obsolete See <a
href="http://rosettacode.org/wiki/URL_encoding#Ruby">rosettacode.org/wiki/URL_encoding#Ruby</a>
and <a
href="http://www.ruby-forum.com/topic/207489">www.ruby-forum.com/topic/207489</a></p>
</div>
</div>
</body>
</html>

View File

@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: output.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../../rdoc.css" rel="stylesheet" />
<script src="../../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,54 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: vulnerability.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../rdoc.css" rel="stylesheet" />
<script src="../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
<li>vulnerability/output</li>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

View File

@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>File: existable.rb [RDoc Documentation]</title>
<link type="text/css" media="screen" href="../../../../rdoc.css" rel="stylesheet" />
<script src="../../../../js/jquery.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/thickbox-compressed.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/quicksearch.js" type="text/javascript"
charset="utf-8"></script>
<script src="../../../../js/darkfish.js" type="text/javascript"
charset="utf-8"></script>
</head>
<body class="file file-popup">
<div id="metadata">
<dl>
<dt class="modified-date">Last Modified</dt>
<dd class="modified-date">2013-04-05 14:07:06 +0200</dd>
<dt class="requires">Requires</dt>
<dd class="requires">
<ul>
</ul>
</dd>
</dl>
</div>
<div id="documentation">
<div class="description">
<h2>Description</h2>
</div>
</div>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More