mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Fix for an Issue #902
This commit is contained in:
@@ -665,7 +665,7 @@ def dictionaryAttack(attack_dict):
|
|||||||
if not hash_:
|
if not hash_:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
hash_ = hash_.split()[0]
|
hash_ = hash_.split()[0] if hash_ and hash_.strip() else hash_
|
||||||
regex = hashRecognition(hash_)
|
regex = hashRecognition(hash_)
|
||||||
|
|
||||||
if regex and regex not in hash_regexes:
|
if regex and regex not in hash_regexes:
|
||||||
@@ -682,7 +682,7 @@ def dictionaryAttack(attack_dict):
|
|||||||
if not hash_:
|
if not hash_:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
hash_ = hash_.split()[0]
|
hash_ = hash_.split()[0] if hash_ and hash_.strip() else hash_
|
||||||
|
|
||||||
if re.match(hash_regex, hash_):
|
if re.match(hash_regex, hash_):
|
||||||
item = None
|
item = None
|
||||||
|
|||||||
Reference in New Issue
Block a user