mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
minor revert (it's illegal to use append for updating one array with another array)
This commit is contained in:
@@ -582,8 +582,7 @@ def dictionaryAttack(attack_dict):
|
|||||||
warnMsg = "user aborted during dictionary attack phase"
|
warnMsg = "user aborted during dictionary attack phase"
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
if retVal:
|
results.extend([retVal.get() for i in xrange(retVal.qsize())] if retVal else [])
|
||||||
results.append([retVal.get() for i in xrange(retVal.qsize())])
|
|
||||||
|
|
||||||
clearConsoleLine()
|
clearConsoleLine()
|
||||||
|
|
||||||
@@ -650,8 +649,7 @@ def dictionaryAttack(attack_dict):
|
|||||||
warnMsg = "user aborted during dictionary attack phase"
|
warnMsg = "user aborted during dictionary attack phase"
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
if retVal:
|
results.extend([retVal.get() for i in xrange(retVal.qsize())] if retVal else [])
|
||||||
results.append([retVal.get() for i in xrange(retVal.qsize())])
|
|
||||||
|
|
||||||
clearConsoleLine()
|
clearConsoleLine()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user