minor update

This commit is contained in:
Miroslav Stampar 2011-12-20 16:08:17 +00:00
parent 8bfff4a28e
commit 113ebf5e9d
2 changed files with 2 additions and 4 deletions

View File

@ -2379,9 +2379,7 @@ def findDynamicContent(firstPage, secondPage):
kb.dynamicMarkings = []
# Removing too small matching blocks
i = 0
while i < len(blocks):
block = blocks[i]
while block in blocks[:]:
(_, _, length) = block
if length <= DYNAMICITY_MARK_LENGTH:

View File

@ -425,7 +425,7 @@ def __bruteProcessVariantA(attack_info, hash_regex, wordlist, suffix, retVal, pr
count += 1
if current in hashes:
for item in list(attack_info):
for item in attack_info[:]:
((user, hash_), _) = item
if hash_ == current: