Merge pull request #1053 from wpscanteam/revert-1052-master

Revert "Fix logic error in parsing command line args"
This commit is contained in:
Christian Mehlmauer
2017-01-29 23:16:42 +01:00
committed by GitHub

View File

@@ -371,7 +371,7 @@ def main
end end
# If we haven't been supplied a username/usernames list, enumerate them... # 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
puts info('Enumerating usernames ...') puts info('Enumerating usernames ...')