mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor beautification
This commit is contained in:
@@ -714,10 +714,12 @@ def dictionaryAttack(attack_dict):
|
|||||||
finally:
|
finally:
|
||||||
if retVal:
|
if retVal:
|
||||||
conf.hashDB.beginTransaction()
|
conf.hashDB.beginTransaction()
|
||||||
|
|
||||||
while not retVal.empty():
|
while not retVal.empty():
|
||||||
_, hash_, word = item = retVal.get(block=False)
|
_, hash_, word = item = retVal.get(block=False)
|
||||||
conf.hashDB.write(hash_, word)
|
conf.hashDB.write(hash_, word)
|
||||||
results.append(item)
|
results.append(item)
|
||||||
|
|
||||||
conf.hashDB.endTransaction()
|
conf.hashDB.endTransaction()
|
||||||
|
|
||||||
clearConsoleLine()
|
clearConsoleLine()
|
||||||
@@ -795,10 +797,12 @@ def dictionaryAttack(attack_dict):
|
|||||||
finally:
|
finally:
|
||||||
if retVal:
|
if retVal:
|
||||||
conf.hashDB.beginTransaction()
|
conf.hashDB.beginTransaction()
|
||||||
|
|
||||||
while not retVal.empty():
|
while not retVal.empty():
|
||||||
_, hash_, word = item = retVal.get(block=False)
|
_, hash_, word = item = retVal.get(block=False)
|
||||||
conf.hashDB.write(hash_, word)
|
conf.hashDB.write(hash_, word)
|
||||||
results.append(item)
|
results.append(item)
|
||||||
|
|
||||||
conf.hashDB.endTransaction()
|
conf.hashDB.endTransaction()
|
||||||
|
|
||||||
clearConsoleLine()
|
clearConsoleLine()
|
||||||
|
|||||||
Reference in New Issue
Block a user