Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e5aa557

Browse files
committed
Minor fix
1 parent a5b2366 commit e5aa557

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

doc/ChangeLog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sqlmap (0.6.1-1) stable; urgency=low
1111
wrap sqlmap in Metasploit and any other tool;
1212
* Minor enhancement to save also the length of query output in the
1313
session file when retrieving the query output length for ETA or for
14-
resume purposes. TODO: fix for ETA
14+
resume purposes.
1515

1616
-- Bernardo Damele A. G. <[email protected]> Fri, 10 Oct 2008 10:00:00 +0100
1717

lib/request/inject.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ def __getFieldsProxy(expression):
5555
def __goInference(payload, expression):
5656
start = time.time()
5757

58-
dataToSessionFile("[%s][%s][%s][%s][" % (conf.url, kb.injPlace, conf.parameters[kb.injPlace], expression))
59-
6058
if ( conf.eta or conf.threads > 1 ) and kb.dbms:
6159
_, length, _ = queryOutputLength(expression, payload)
6260
else:
6361
length = None
6462

63+
dataToSessionFile("[%s][%s][%s][%s][" % (conf.url, kb.injPlace, conf.parameters[kb.injPlace], expression))
64+
6565
count, value = bisection(payload, expression, length=length)
6666
duration = int(time.time() - start)
6767

0 commit comments

Comments
 (0)