Merge branch 'master' of github.com:wpscanteam/wpscan

This commit is contained in:
Christian Mehlmauer
2013-05-10 21:59:47 +02:00
3 changed files with 7 additions and 7 deletions

View File

@@ -58,7 +58,6 @@ class WpItems < Array
ProgressBar.create(
format: '%t %a <%B> (%c / %C) %P%% %e',
title: ' ', # Used to craete a left margin
length: 120,
total: targets_size
)
end

View File

@@ -66,7 +66,6 @@ class WpUser < WpItem
ProgressBar.create(
format: '%t %a <%B> (%c / %C) %P%% %e',
title: " Brute Forcing '#{login}'",
length: 120,
total: passwords_size
)
end

View File

@@ -260,15 +260,17 @@ def main
show_progression: false
)
)
puts
if wp_users.empty?
puts 'We did not enumerate any usernames :('
puts 'Try supplying your own username with the --username option'
puts
exit(1)
if wpscan_options.wordlist
puts 'Try supplying your own username with the --username option'
puts
exit(1)
end
else
puts green('[+]') + " We found the following #{wp_users.size} user/s :"
wp_users.output(margin_left: ' ' * 4)
end