From 42efc9f9ec4f48d71c9223d1ee637edcc83415aa Mon Sep 17 00:00:00 2001 From: erwanlr Date: Fri, 10 May 2013 17:44:22 +0200 Subject: [PATCH] Fix #182 Remove the progress-bar static length (120), and let it to automatic --- lib/common/collections/wp_items/detectable.rb | 1 - lib/common/models/wp_user/brute_forcable.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/common/collections/wp_items/detectable.rb b/lib/common/collections/wp_items/detectable.rb index 348c75b4..832c27fa 100755 --- a/lib/common/collections/wp_items/detectable.rb +++ b/lib/common/collections/wp_items/detectable.rb @@ -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 diff --git a/lib/common/models/wp_user/brute_forcable.rb b/lib/common/models/wp_user/brute_forcable.rb index d9ffe61d..995db2a5 100644 --- a/lib/common/models/wp_user/brute_forcable.rb +++ b/lib/common/models/wp_user/brute_forcable.rb @@ -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