From 8d9201a3dc8cb5a7d2602b75fc6992e324bcbc3e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 19 Oct 2010 18:23:21 +0000 Subject: [PATCH] minor update --- lib/core/session.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/core/session.py b/lib/core/session.py index 79a3a9c29..8cb2c955a 100644 --- a/lib/core/session.py +++ b/lib/core/session.py @@ -439,6 +439,13 @@ def resumeConfKb(expression, url, value): logMsg += "'%s' from session file" % kb.stackedTest logger.info(logMsg) + elif expression == "Error based injection" and url == conf.url: + kb.errorTest = unSafeFormatString(value[:-1]) == 'Yes' + + logMsg = "resuming error based injection " + logMsg += "'%s' from session file" % kb.errorTest + logger.info(logMsg) + elif expression == "Union comment" and url == conf.url: kb.unionComment = unSafeFormatString(value[:-1])