From 1ec56f93ec022ea7739d5f7dd73dd637bae26021 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 1 Mar 2012 10:10:19 +0000 Subject: [PATCH] minor update --- lib/controller/checks.py | 2 -- lib/request/inject.py | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 769fba56f..347316d4e 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -720,8 +720,6 @@ def checkDynamicContent(firstPage, secondPage): secondPage, _ = Request.queryPage(content=True) findDynamicContent(firstPage, secondPage) - setDynamicMarkings(kb.dynamicMarkings) - def checkStability(): """ This function checks if the URL content is stable requesting the diff --git a/lib/request/inject.py b/lib/request/inject.py index bc1e0f038..6448cdbf9 100644 --- a/lib/request/inject.py +++ b/lib/request/inject.py @@ -33,6 +33,7 @@ from lib.core.data import conf from lib.core.data import kb from lib.core.data import logger from lib.core.data import queries +from lib.core.enums import CHARSET_TYPE from lib.core.enums import DBMS from lib.core.enums import EXPECTED from lib.core.enums import PAYLOAD @@ -213,7 +214,7 @@ def __goInferenceProxy(expression, fromUser=False, expected=None, batch=False, u countedExpression = countedExpression[:untilOrderChar] if not stopLimit: - count = __goInference(payload, countedExpression, 2, firstChar, lastChar) + count = __goInference(payload, countedExpression, CHARSET_TYPE.DIGITS, firstChar, lastChar) if isNumPosStrValue(count): count = int(count)