This commit is contained in:
Christian Mehlmauer
2016-10-06 20:35:29 +02:00
parent a007d283e5
commit 89e2088357
8 changed files with 9 additions and 9 deletions

View File

@@ -5,7 +5,7 @@ $: << '.'
$exit_code = 0
require File.dirname(__FILE__) + '/lib/wpscan/wpscan_helper'
require File.join(__dir__, 'lib', 'wpscan', 'wpscan_helper')
def main
# delete old logfile, check if it is a symlink first.
@@ -376,7 +376,7 @@ def main
puts info('Enumerating usernames ...')
if wp_target.has_plugin?('stop-user-enumeration')
puts warning("Stop User Enumeration plugin detected, results might be empty. However a bypass exists for v1.2.8 and below, see stop_user_enumeration_bypass.rb in #{File.expand_path(File.dirname(__FILE__))}")
puts warning("Stop User Enumeration plugin detected, results might be empty. However a bypass exists for v1.2.8 and below, see stop_user_enumeration_bypass.rb in #{__dir__}")
end
wp_users = WpUsers.aggressive_detection(wp_target,