mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-02 20:54:13 +03:00
Fix for an Issue #902
This commit is contained in:
parent
97cc679f9c
commit
78cc3853b6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user