minor update

This commit is contained in:
Miroslav Stampar 2012-03-01 10:10:19 +00:00
parent 2d3c12d2d0
commit 1ec56f93ec
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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)