mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
name change
This commit is contained in:
parent
6807fb04cc
commit
06f00cf8c1
|
@ -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")
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user