Skip to content

Instantly share code, notes, and snippets.

@superscott
Last active August 29, 2015 14:05
Show Gist options
  • Save superscott/44d428e1b0ab6d6b0759 to your computer and use it in GitHub Desktop.
Save superscott/44d428e1b0ab6d6b0759 to your computer and use it in GitHub Desktop.
WPScan Error Output
~/projects/wpscan [13:22:19] [ruby-2.1.2@rails4] $ curl -IkL http://example.com/?author=1
HTTP/1.1 301 Moved Permanently
Content-Length: 157
Content-Type: text/html; charset=UTF-8
Location: http://example.com/author/admin/
Server: Microsoft-IIS/8.0
X-Powered-By: PHP/5.4.23
X-Pingback: http://example.com/xmlrpc.php
X-Powered-By: ASP.NET
Set-Cookie: ARRAffinity=1585cb42abd371ffda100f8cd315354b3b6a2e7476bd3a0acfa838f0a0af0abb;Path=/;Domain=example.com
Date: Thu, 14 Aug 2014 20:24:06 GMT
HTTP/1.1 200 OK
Content-Length: 0
Content-Type: text/html; charset=UTF-8
Server: Microsoft-IIS/8.0
X-Powered-By: PHP/5.4.23
X-Pingback: http://example.com/xmlrpc.php
X-Powered-By: ASP.NET
Set-Cookie: ARRAffinity=1585cb42abd371ffda100f8cd315354b3b6a2e7476bd3a0acfa838f0a0af0abb;Path=/;Domain=example.com
Date: Thu, 14 Aug 2014 20:24:06 GMT
ruby wpscan.rb -u example.com --enumerate
[!] Stop User Enumeration plugin detected, results might be empty. However a bypass exists, see stop_user_enumeration_bypass.rb in /Users/superscott/projects/wpscan
undefined method `[]' for nil:NilClass
/Users/superscott/projects/wpscan/lib/common/models/wp_user/existable.rb:40:in `login_from_author_pattern': undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/superscott/projects/wpscan/lib/common/models/wp_user/existable.rb:25:in `load_from_response'
from /Users/superscott/projects/wpscan/lib/common/models/wp_user/existable.rb:11:in `exists_from_response?'
from /Users/superscott/projects/wpscan/lib/common/models/wp_item/existable.rb:18:in `exists?'
from /Users/superscott/projects/wpscan/lib/common/collections/wp_items/detectable.rb:37:in `block (2 levels) in aggressive_detection'
from /Users/superscott/.rvm/gems/ruby-2.1.2@rails4/gems/typhoeus-0.6.9/lib/typhoeus/request/callbacks.rb:129:in `call'
from /Users/superscott/.rvm/gems/ruby-2.1.2@rails4/gems/typhoeus-0.6.9/lib/typhoeus/request/callbacks.rb:129:in `block in execute_callbacks'
from /Users/superscott/.rvm/gems/ruby-2.1.2@rails4/gems/typhoeus-0.6.9/lib/typhoeus/request/callbacks.rb:128:in `map'
from /Users/superscott/.rvm/gems/ruby-2.1.2@rails4/gems/typhoeus-0.6.9/lib/typhoeus/request/callbacks.rb:128:in `execute_callbacks'
from /Users/superscott/.rvm/gems/ruby-2.1.2@rails4/gems/typhoeus-0.6.9/lib/typhoeus/request/operations.rb:35:in `finish'
from /Users/superscott/.rvm/gems/ruby-2.1.2@rails4/gems/typhoeus-0.6.9/lib/typhoeus/easy_factory.rb:105:in `block in set_callback'
from /Users/superscott/.rvm/gems/ruby-2.1.2@rails4/gems/ethon-0.7.1/lib/ethon/easy/response_callbacks.rb:65:in `call'
from /Users/superscott/.rvm/gems/ruby-2.1.2@rails4/gems/ethon-0.7.1/lib/ethon/easy/response_callbacks.rb:65:in `block in complete'
from /Users/superscott/.rvm/gems/ruby-2.1.2@rails4/gems/ethon-0.7.1/lib/ethon/easy/response_callbacks.rb:65:in `each'
from /Users/superscott/.rvm/gems/ruby-2.1.2@rails4/gems/ethon-0.7.1/lib/ethon/easy/response_callbacks.rb:65:in `complete'
from /Users/superscott/.rvm/gems/ruby-2.1.2@rails4/gems/ethon-0.7.1/lib/ethon/multi/operations.rb:148:in `check'
from /Users/superscott/.rvm/gems/ruby-2.1.2@rails4/gems/ethon-0.7.1/lib/ethon/multi/operations.rb:161:in `run'
from /Users/superscott/.rvm/gems/ruby-2.1.2@rails4/gems/ethon-0.7.1/lib/ethon/multi/operations.rb:43:in `perform'
from /Users/superscott/.rvm/gems/ruby-2.1.2@rails4/gems/typhoeus-0.6.9/lib/typhoeus/hydra/runnable.rb:15:in `run'
from /Users/superscott/.rvm/gems/ruby-2.1.2@rails4/gems/typhoeus-0.6.9/lib/typhoeus/hydra/memoizable.rb:51:in `run'
from wpscan.rb:394:in `ensure in main'
from wpscan.rb:394:in `main'
from wpscan.rb:398:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment