mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor fix
This commit is contained in:
parent
a5b2366033
commit
e5aa557bd4
|
@ -11,7 +11,7 @@ sqlmap (0.6.1-1) stable; urgency=low
|
|||
wrap sqlmap in Metasploit and any other tool;
|
||||
* Minor enhancement to save also the length of query output in the
|
||||
session file when retrieving the query output length for ETA or for
|
||||
resume purposes. TODO: fix for ETA
|
||||
resume purposes.
|
||||
|
||||
-- Bernardo Damele A. G. <bernardo.damele@gmail.com> Fri, 10 Oct 2008 10:00:00 +0100
|
||||
|
||||
|
|
|
@ -55,13 +55,13 @@ def __getFieldsProxy(expression):
|
|||
def __goInference(payload, expression):
|
||||
start = time.time()
|
||||
|
||||
dataToSessionFile("[%s][%s][%s][%s][" % (conf.url, kb.injPlace, conf.parameters[kb.injPlace], expression))
|
||||
|
||||
if ( conf.eta or conf.threads > 1 ) and kb.dbms:
|
||||
_, length, _ = queryOutputLength(expression, payload)
|
||||
else:
|
||||
length = None
|
||||
|
||||
dataToSessionFile("[%s][%s][%s][%s][" % (conf.url, kb.injPlace, conf.parameters[kb.injPlace], expression))
|
||||
|
||||
count, value = bisection(payload, expression, length=length)
|
||||
duration = int(time.time() - start)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user