docs
This commit is contained in:
@@ -585,19 +585,23 @@
|
||||
<pre>
|
||||
<span class="ruby-comment"># File lib/common/common_helper.rb, line 81</span>
|
||||
<span class="ruby-keyword">def</span> <span class="ruby-identifier">banner</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-identifier">puts</span> <span class="ruby-string">' \ \ / / __ \ / ____| '</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-identifier">puts</span> <span class="ruby-string">' \ /\ / | | ____) | (__| (_| | | | |'</span>
|
||||
<span class="ruby-identifier">puts</span> <span class="ruby-node">" \\/ \\/ |_| |_____/ \\___|\\__,_|_| |_| v#{WPSCAN_VERSION}r#{REVISION}"</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-identifier">puts</span> <span class="ruby-string">' \ \ / / __ \ / ____| '</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-identifier">puts</span> <span class="ruby-string">' \ /\ / | | ____) | (__| (_| | | | |'</span>
|
||||
<span class="ruby-identifier">puts</span> <span class="ruby-string">' \/ \/ |_| |_____/ \___|\__,_|_| |_|'</span>
|
||||
<span class="ruby-identifier">puts</span>
|
||||
<span class="ruby-identifier">puts</span> <span class="ruby-string">' WordPress Security Scanner by the WPScan Team'</span>
|
||||
<span class="ruby-identifier">puts</span> <span class="ruby-string">' Twitter: @_WPScan_, @ethicalhack3r, @erwan_lr,'</span>
|
||||
<span class="ruby-identifier">puts</span> <span class="ruby-string">' @gbrindisi, @_FireFart_'</span>
|
||||
<span class="ruby-identifier">puts</span> <span class="ruby-string">' Sponsored by the RandomStorm Open Source Initiative'</span>
|
||||
<span class="ruby-identifier">puts</span> <span class="ruby-string">'_____________________________________________________'</span>
|
||||
<span class="ruby-identifier">puts</span> <span class="ruby-string">' WordPress Security Scanner by the WPScan Team '</span>
|
||||
<span class="ruby-keyword">if</span> <span class="ruby-constant">REVISION</span>
|
||||
<span class="ruby-identifier">puts</span> <span class="ruby-node">" Version v#{WPSCAN_VERSION}r#{REVISION}"</span>
|
||||
<span class="ruby-keyword">else</span>
|
||||
<span class="ruby-identifier">puts</span> <span class="ruby-node">" Version v#{WPSCAN_VERSION}"</span>
|
||||
<span class="ruby-keyword">end</span>
|
||||
<span class="ruby-identifier">puts</span> <span class="ruby-string">' Sponsored by the RandomStorm Open Source Initiative'</span>
|
||||
<span class="ruby-identifier">puts</span> <span class="ruby-string">' @_WPScan_, @ethicalhack3r, @erwan_lr, @gbrindisi, @_FireFart_'</span>
|
||||
<span class="ruby-identifier">puts</span> <span class="ruby-string">'_______________________________________________________________'</span>
|
||||
<span class="ruby-identifier">puts</span>
|
||||
<span class="ruby-keyword">end</span></pre>
|
||||
</div><!-- banner-source -->
|
||||
@@ -629,7 +633,7 @@
|
||||
|
||||
<div class="method-source-code" id="colorize-source">
|
||||
<pre>
|
||||
<span class="ruby-comment"># File lib/common/common_helper.rb, line 98</span>
|
||||
<span class="ruby-comment"># File lib/common/common_helper.rb, line 102</span>
|
||||
<span class="ruby-keyword">def</span> <span class="ruby-identifier">colorize</span>(<span class="ruby-identifier">text</span>, <span class="ruby-identifier">color_code</span>)
|
||||
<span class="ruby-node">"\e[#{color_code}m#{text}\e[0m"</span>
|
||||
<span class="ruby-keyword">end</span></pre>
|
||||
@@ -662,7 +666,7 @@
|
||||
|
||||
<div class="method-source-code" id="get_equal_string_end-source">
|
||||
<pre>
|
||||
<span class="ruby-comment"># File lib/common/common_helper.rb, line 122</span>
|
||||
<span class="ruby-comment"># File lib/common/common_helper.rb, line 126</span>
|
||||
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_equal_string_end</span>(<span class="ruby-identifier">stringarray</span> = [<span class="ruby-string">''</span>])
|
||||
<span class="ruby-identifier">already_found</span> = <span class="ruby-string">''</span>
|
||||
<span class="ruby-identifier">looping</span> = <span class="ruby-keyword">true</span>
|
||||
@@ -717,7 +721,7 @@
|
||||
|
||||
<div class="method-source-code" id="green-source">
|
||||
<pre>
|
||||
<span class="ruby-comment"># File lib/common/common_helper.rb, line 106</span>
|
||||
<span class="ruby-comment"># File lib/common/common_helper.rb, line 110</span>
|
||||
<span class="ruby-keyword">def</span> <span class="ruby-identifier">green</span>(<span class="ruby-identifier">text</span>)
|
||||
<span class="ruby-identifier">colorize</span>(<span class="ruby-identifier">text</span>, <span class="ruby-value">32</span>)
|
||||
<span class="ruby-keyword">end</span></pre>
|
||||
@@ -1264,7 +1268,7 @@
|
||||
|
||||
<div class="method-source-code" id="red-source">
|
||||
<pre>
|
||||
<span class="ruby-comment"># File lib/common/common_helper.rb, line 102</span>
|
||||
<span class="ruby-comment"># File lib/common/common_helper.rb, line 106</span>
|
||||
<span class="ruby-keyword">def</span> <span class="ruby-identifier">red</span>(<span class="ruby-identifier">text</span>)
|
||||
<span class="ruby-identifier">colorize</span>(<span class="ruby-identifier">text</span>, <span class="ruby-value">31</span>)
|
||||
<span class="ruby-keyword">end</span></pre>
|
||||
@@ -1297,7 +1301,7 @@
|
||||
|
||||
<div class="method-source-code" id="redefine_constant-source">
|
||||
<pre>
|
||||
<span class="ruby-comment"># File lib/common/common_helper.rb, line 116</span>
|
||||
<span class="ruby-comment"># File lib/common/common_helper.rb, line 120</span>
|
||||
<span class="ruby-keyword">def</span> <span class="ruby-identifier">redefine_constant</span>(<span class="ruby-identifier">constant</span>, <span class="ruby-identifier">value</span>)
|
||||
<span class="ruby-constant">Object</span>.<span class="ruby-identifier">send</span>(<span class="ruby-value">:remove_const</span>, <span class="ruby-identifier">constant</span>)
|
||||
<span class="ruby-constant">Object</span>.<span class="ruby-identifier">const_set</span>(<span class="ruby-identifier">constant</span>, <span class="ruby-identifier">value</span>)
|
||||
@@ -1451,7 +1455,7 @@
|
||||
|
||||
<div class="method-source-code" id="xml-source">
|
||||
<pre>
|
||||
<span class="ruby-comment"># File lib/common/common_helper.rb, line 110</span>
|
||||
<span class="ruby-comment"># File lib/common/common_helper.rb, line 114</span>
|
||||
<span class="ruby-keyword">def</span> <span class="ruby-identifier">xml</span>(<span class="ruby-identifier">file</span>)
|
||||
<span class="ruby-constant">Nokogiri</span><span class="ruby-operator">::</span><span class="ruby-constant">XML</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">file</span>)) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
|
||||
<span class="ruby-identifier">config</span>.<span class="ruby-identifier">noblanks</span>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Sat, 10 Aug 2013 12:46:26 +0200
|
||||
Sun, 11 Aug 2013 08:57:51 +0200
|
||||
./CREDITS Mon, 01 Apr 2013 23:09:01 +0200
|
||||
./Gemfile Fri, 09 Aug 2013 23:33:55 +0200
|
||||
./lib/common/browser/actions.rb Fri, 19 Jul 2013 13:03:39 +0200
|
||||
@@ -20,7 +20,7 @@ Sat, 10 Aug 2013 12:46:26 +0200
|
||||
./lib/common/collections/wp_users/detectable.rb Tue, 28 May 2013 18:55:56 +0200
|
||||
./lib/common/collections/wp_users/output.rb Tue, 28 May 2013 19:38:24 +0200
|
||||
./lib/common/collections/wp_users.rb Sun, 14 Apr 2013 10:46:08 +0200
|
||||
./lib/common/common_helper.rb Fri, 09 Aug 2013 23:40:23 +0200
|
||||
./lib/common/common_helper.rb Sat, 10 Aug 2013 13:31:10 +0200
|
||||
./lib/common/custom_option_parser.rb Fri, 05 Apr 2013 20:07:17 +0200
|
||||
./lib/common/hacks.rb Sat, 22 Jun 2013 21:00:02 +0200
|
||||
./lib/common/models/vulnerability/output.rb Sun, 14 Apr 2013 10:46:08 +0200
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<div id="metadata">
|
||||
<dl>
|
||||
<dt class="modified-date">Last Modified</dt>
|
||||
<dd class="modified-date">2013-08-09 23:40:23 +0200</dd>
|
||||
<dd class="modified-date">2013-08-10 13:31:10 +0200</dd>
|
||||
|
||||
|
||||
<dt class="requires">Requires</dt>
|
||||
|
||||
Reference in New Issue
Block a user