Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae8699f

Browse files
committed
Reducing false-positive 'appears' messages in heavily dynamic environment
1 parent cdb1e79 commit ae8699f

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

lib/controller/checks.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,10 @@ def genCmpPayload():
514514
kb.matchRatio = _
515515
logger.debug("adjusting match ratio for current parameter to %.3f" % kb.matchRatio)
516516

517+
# Reducing false-positive "appears" messages in heavily dynamic environment
518+
if kb.heavyDynamic and not Request.queryPage(reqPayload, place, raise404=False):
519+
continue
520+
517521
injectable = True
518522

519523
elif threadData.lastComparisonRatio > UPPER_RATIO_BOUND and not any((conf.string, conf.notString, conf.regexp, conf.code, kb.nullConnection)):

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.2.3.49"
22+
VERSION = "1.2.3.50"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ c88d66597f4aab719bde4542b0a1a6e0 extra/shutils/regressiontest.py
2121
1e5532ede194ac9c083891c2f02bca93 extra/sqlharvest/__init__.py
2222
b3e60ea4e18a65c48515d04aab28ff68 extra/sqlharvest/sqlharvest.py
2323
0f581182871148b0456a691ae85b04c0 lib/controller/action.py
24-
ebc0d5d4e3981c9c57197fa09e37aa91 lib/controller/checks.py
24+
28c80dd4b8f288f46388770415d7c1df lib/controller/checks.py
2525
33689bb1b064d4eebc216934795a595f lib/controller/controller.py
2626
c7443613a0a2505b1faec931cee2a6ef lib/controller/handler.py
2727
1e5532ede194ac9c083891c2f02bca93 lib/controller/__init__.py
@@ -46,7 +46,7 @@ ffa5f01f39b17c8d73423acca6cfe86a lib/core/readlineng.py
4646
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4747
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
4848
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
49-
b7dd1e5592efbbfd550047b53014543e lib/core/settings.py
49+
30cc59cf0722d37effce632dcd38dc62 lib/core/settings.py
5050
0dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py
5151
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5252
a35efa7bec9f1e6cedf17c9830a79241 lib/core/target.py

0 commit comments

Comments
 (0)