mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03:00
added progress into union based entry retrieval
This commit is contained in:
parent
cc9ca802bf
commit
8b9a624546
|
@ -12,6 +12,8 @@ import time
|
||||||
|
|
||||||
from lib.core.agent import agent
|
from lib.core.agent import agent
|
||||||
from lib.core.common import calculateDeltaSeconds
|
from lib.core.common import calculateDeltaSeconds
|
||||||
|
from lib.core.common import clearConsoleLine
|
||||||
|
from lib.core.common import dataToStdout
|
||||||
from lib.core.common import getUnicode
|
from lib.core.common import getUnicode
|
||||||
from lib.core.common import parseUnionPage
|
from lib.core.common import parseUnionPage
|
||||||
from lib.core.data import conf
|
from lib.core.data import conf
|
||||||
|
@ -188,6 +190,13 @@ def unionUse(expression, direct=False, unescape=True, resetCounter=False, nullCh
|
||||||
value += output
|
value += output
|
||||||
parseUnionPage(output, limitedExpr)
|
parseUnionPage(output, limitedExpr)
|
||||||
|
|
||||||
|
if conf.verbose in (1, 2):
|
||||||
|
length = stopLimit - startLimit
|
||||||
|
count = num - startLimit + 1
|
||||||
|
status = '%d/%d entries (%d%s)' % (count, length, round(100.0*count/length), '%')
|
||||||
|
dataToStdout("\r[%s] [INFO] retrieved: %s" % (time.strftime("%X"), status), True)
|
||||||
|
|
||||||
|
clearConsoleLine(True)
|
||||||
return value
|
return value
|
||||||
|
|
||||||
value = unionUse(expression, direct=True, unescape=False)
|
value = unionUse(expression, direct=True, unescape=False)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user