Fix logic error in parsing command line args

This commit is contained in:
Peter Cunha
2017-01-29 14:25:25 -05:00
parent 0a6d430c9f
commit 64d8240b8a

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 || wpscan_options.enumerate_usernames
if !wpscan_options.username && !wpscan_options.usernames && wpscan_options.wordlist
puts
puts info('Enumerating usernames ...')