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

Skip to content

Commit 414dd96

Browse files
committed
Minor update (warning on negative integer values provided)
1 parent e857c2a commit 414dd96

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ def paramToDict(place, parameters=None):
581581
if not conf.multipleTargets and not (conf.csrfToken and parameter == conf.csrfToken):
582582
_ = urldecode(testableParameters[parameter], convall=True)
583583
if (_.endswith("'") and _.count("'") == 1
584-
or re.search(r'\A9{3,}', _) or re.search(DUMMY_USER_INJECTION, _))\
584+
or re.search(r'\A9{3,}', _) or re.search(r'\A-\d+\Z', _) or re.search(DUMMY_USER_INJECTION, _))\
585585
and not parameter.upper().startswith(GOOGLE_ANALYTICS_COOKIE_PREFIX):
586586
warnMsg = "it appears that you have provided tainted parameter values "
587587
warnMsg += "('%s') with most probably leftover " % element

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.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.5.37"
22+
VERSION = "1.0.5.38"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

0 commit comments

Comments
 (0)