mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor fix
This commit is contained in:
@@ -11,7 +11,7 @@ sqlmap (0.6.1-1) stable; urgency=low
|
|||||||
wrap sqlmap in Metasploit and any other tool;
|
wrap sqlmap in Metasploit and any other tool;
|
||||||
* Minor enhancement to save also the length of query output in the
|
* Minor enhancement to save also the length of query output in the
|
||||||
session file when retrieving the query output length for ETA or for
|
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
|
-- 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):
|
def __goInference(payload, expression):
|
||||||
start = time.time()
|
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:
|
if ( conf.eta or conf.threads > 1 ) and kb.dbms:
|
||||||
_, length, _ = queryOutputLength(expression, payload)
|
_, length, _ = queryOutputLength(expression, payload)
|
||||||
else:
|
else:
|
||||||
length = None
|
length = None
|
||||||
|
|
||||||
|
dataToSessionFile("[%s][%s][%s][%s][" % (conf.url, kb.injPlace, conf.parameters[kb.injPlace], expression))
|
||||||
|
|
||||||
count, value = bisection(payload, expression, length=length)
|
count, value = bisection(payload, expression, length=length)
|
||||||
duration = int(time.time() - start)
|
duration = int(time.time() - start)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user