Merge pull request #1052 from petercunha/master

Fix logic error in parsing command line args
This commit is contained in:
Ryan Dewhurst
2017-01-29 21:26:58 +01:00
committed by GitHub

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