Skip to content

Commit 4e6fcce

Browse files
committed
minor update
1 parent ce07713 commit 4e6fcce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/techniques/blind/inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,11 +279,11 @@ def getChar(idx, charTbl=None, continuousOrder=True, expand=charsetType is None,
279279
if not kb.originalTimeDelay:
280280
kb.originalTimeDelay = conf.timeSec
281281

282+
kb.timeValidCharsRun = 0
282283
if (conf.timeSec - kb.originalTimeDelay) < MAX_TIME_REVALIDATION_STEPS:
283284
errMsg = "invalid character detected. retrying.."
284285
logger.error(errMsg)
285286

286-
kb.timeValidCharsRun = 0
287287
conf.timeSec += 1
288288

289289
warnMsg = "increasing time delay to %d second%s " % (conf.timeSec, 's' if conf.timeSec > 1 else '')

0 commit comments

Comments
 (0)