fix #1008
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user