BruteForcer progress bar

This commit is contained in:
erwanlr
2013-04-14 17:30:57 +02:00
parent 927c37e6db
commit 446910767b
5 changed files with 28 additions and 27 deletions

View File

@@ -76,7 +76,7 @@ class File
#
# @return [ String ] The charset of the file
def self.charset(file_path)
%x{file -i #{file_path}}[%r{charset=([^\n]+)\n}, 1]
%x{file -i "#{file_path}"}[%r{charset=([^\n]+)\n}, 1]
end
end