mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 17:02:39 +01:00
minor revert (it's illegal to use append for updating one array with another array)
This commit is contained in:
parent
48b7245a33
commit
0126b8eb0e
1 changed files with 2 additions and 4 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue