Revert "Fix logic error in parsing command line args"

This commit is contained in:
Christian Mehlmauer
2017-01-29 23:16:01 +01:00
committed by GitHub
parent aaee6f1e6d
commit b17ee20f58

View File

@@ -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 ...')