mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +03:00
minor beautification
This commit is contained in:
parent
753dcb3450
commit
fcac3d494b
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user