mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +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"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
if retVal:
|
||||
results.append([retVal.get() for i in xrange(retVal.qsize())])
|
||||
results.extend([retVal.get() for i in xrange(retVal.qsize())] if retVal else [])
|
||||
|
||||
clearConsoleLine()
|
||||
|
||||
@@ -650,8 +649,7 @@ def dictionaryAttack(attack_dict):
|
||||
warnMsg = "user aborted during dictionary attack phase"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
if retVal:
|
||||
results.append([retVal.get() for i in xrange(retVal.qsize())])
|
||||
results.extend([retVal.get() for i in xrange(retVal.qsize())] if retVal else [])
|
||||
|
||||
clearConsoleLine()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user