Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 113ebf5

Browse files
committed
minor update
1 parent 8bfff4a commit 113ebf5

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

lib/core/common.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2379,9 +2379,7 @@ def findDynamicContent(firstPage, secondPage):
23792379
kb.dynamicMarkings = []
23802380

23812381
# Removing too small matching blocks
2382-
i = 0
2383-
while i < len(blocks):
2384-
block = blocks[i]
2382+
while block in blocks[:]:
23852383
(_, _, length) = block
23862384

23872385
if length <= DYNAMICITY_MARK_LENGTH:

lib/utils/hash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def __bruteProcessVariantA(attack_info, hash_regex, wordlist, suffix, retVal, pr
425425
count += 1
426426

427427
if current in hashes:
428-
for item in list(attack_info):
428+
for item in attack_info[:]:
429429
((user, hash_), _) = item
430430

431431
if hash_ == current:

0 commit comments

Comments
 (0)