Implements Firefart solution to avoid mandatory blank newline at the end of the wordlist

This commit is contained in:
erwanlr
2014-12-10 21:56:45 +01:00
parent 3fe49a24c7
commit dfad0fd6bd
4 changed files with 7 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ class WpUser < WpItem
hydra = browser.hydra
queue_count = 0
found = false
progress_bar = self.progress_bar(count_file_lines(wordlist), options)
progress_bar = self.progress_bar(count_file_lines(wordlist)+1, options)
File.open(wordlist).each do |password|
password.chomp!