name change

This commit is contained in:
Miroslav Stampar 2010-11-09 22:48:22 +00:00
parent 6807fb04cc
commit 06f00cf8c1
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ DESCRIPTION = "automatic SQL injection and database takeover tool"
SITE = "http://sqlmap.sourceforge.net" SITE = "http://sqlmap.sourceforge.net"
# minimum distance of ratio from conf.matchRatio to result in True # minimum distance of ratio from conf.matchRatio to result in True
ETA = 0.05 TOLERANCE = 0.05
# sqlmap logger # sqlmap logger
logging.addLevelName(9, "PAYLOAD") logging.addLevelName(9, "PAYLOAD")

View File

@ -15,7 +15,7 @@ from lib.core.common import wasLastRequestError
from lib.core.data import conf from lib.core.data import conf
from lib.core.data import kb from lib.core.data import kb
from lib.core.data import logger from lib.core.data import logger
from lib.core.settings import ETA from lib.core.settings import TOLERANCE
def comparison(page, headers=None, getSeqMatcher=False, pageLength=None): def comparison(page, headers=None, getSeqMatcher=False, pageLength=None):
if page is None and pageLength is None: if page is None and pageLength is None:
@ -116,4 +116,4 @@ def comparison(page, headers=None, getSeqMatcher=False, pageLength=None):
# If the url is not stable it returns sequence matcher between the # If the url is not stable it returns sequence matcher between the
# first untouched HTTP response page content and this content # first untouched HTTP response page content and this content
else: else:
return (ratio - conf.matchRatio) > ETA return (ratio - conf.matchRatio) > TOLERANCE