mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-12 02:22:55 +00:00
Making boolean inference some more robust against jitter
This commit is contained in:
@@ -20,7 +20,7 @@ from lib.core.enums import OS
|
||||
from thirdparty import six
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.10.7.241"
|
||||
VERSION = "1.10.7.242"
|
||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||
@@ -103,6 +103,11 @@ LIVE_COOKIES_TIMEOUT = 120
|
||||
LOWER_RATIO_BOUND = 0.02
|
||||
UPPER_RATIO_BOUND = 0.98
|
||||
|
||||
# Minimum similarity at which a boolean extraction response is judged to "resemble" the calibrated
|
||||
# TRUE or FALSE model. A response resembling NEITHER (a transient same-HTTP-code junk page: WAF/CDN
|
||||
# interstitial, captcha, maintenance, empty/truncated body) triggers an extra validateChar re-check.
|
||||
BOOLEAN_MODEL_MATCH_RATIO = 0.9
|
||||
|
||||
# Number of candidate names probed per request while mining for hidden parameters ('--mine-params')
|
||||
PARAMETER_MINING_BUCKET_SIZE = 25
|
||||
|
||||
|
||||
Reference in New Issue
Block a user