fix for a bug reported by Kirill (value is None in attack table phase) and minor fix for loading request file

This commit is contained in:
Miroslav Stampar
2011-03-24 08:43:40 +00:00
parent bd75fd26e9
commit 0bb08d09d2
3 changed files with 3 additions and 2 deletions

View File

@@ -261,7 +261,7 @@ def attackDumpedTable():
value = table[column]['values'][i]
if value.lower() == hash_.lower():
if all(map(lambda x: x, [value, hash_])) and value.lower() == hash_.lower():
table[column]['values'][i] += " (%s)" % password
table[column]['length'] = max(table[column]['length'], len(table[column]['values'][i]))