diff --git a/wpscan.rb b/wpscan.rb index 8c85932e8..75634eafb 100755 --- a/wpscan.rb +++ b/wpscan.rb @@ -371,7 +371,7 @@ def main end # If we haven't been supplied a username/usernames list, enumerate them... - if !wpscan_options.username && !wpscan_options.usernames && wpscan_options.wordlist + if !wpscan_options.username && !wpscan_options.usernames && wpscan_options.wordlist || wpscan_options.enumerate_usernames puts puts info('Enumerating usernames ...')