update regarding time based data retrieval

This commit is contained in:
Miroslav Stampar
2011-01-16 17:52:42 +00:00
parent ec1ab3cd2a
commit 30d6791968
6 changed files with 43 additions and 16 deletions

View File

@@ -49,7 +49,9 @@ from lib.utils.resume import resume
def __goInference(payload, expression, charsetType=None, firstChar=None, lastChar=None):
start = time.time()
if ( conf.eta or conf.threads > 1 ) and getIdentifiedDBMS():
timeBasedCompare = (kb.technique in (PAYLOAD.TECHNIQUE.TIME, PAYLOAD.TECHNIQUE.STACKED))
if ( conf.eta or conf.threads > 1 ) and getIdentifiedDBMS() and not timeBasedCompare:
_, length, _ = queryOutputLength(expression, payload)
else:
length = None