mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-19 20:43:30 +03:00
minor update
This commit is contained in:
parent
b4ce857f9b
commit
eb240243ea
|
@ -361,7 +361,7 @@ def start():
|
||||||
if (len(kb.injections) == 0 or (len(kb.injections) == 1 and kb.injections[0].place is None)) \
|
if (len(kb.injections) == 0 or (len(kb.injections) == 1 and kb.injections[0].place is None)) \
|
||||||
and (kb.injection.place is None or kb.injection.parameter is None):
|
and (kb.injection.place is None or kb.injection.parameter is None):
|
||||||
|
|
||||||
if not conf.string and not conf.regexp:
|
if not conf.string and not conf.regexp and PAYLOAD.TECHNIQUE.BOOLEAN in conf.tech:
|
||||||
# NOTE: this is not needed anymore, leaving only to display
|
# NOTE: this is not needed anymore, leaving only to display
|
||||||
# a warning message to the user in case the page is not stable
|
# a warning message to the user in case the page is not stable
|
||||||
checkStability()
|
checkStability()
|
||||||
|
@ -442,13 +442,12 @@ def start():
|
||||||
elif conf.realTest:
|
elif conf.realTest:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
elif not checkDynParam(place, parameter, value):
|
elif PAYLOAD.TECHNIQUE.BOOLEAN in conf.tech:
|
||||||
|
if not checkDynParam(place, parameter, value):
|
||||||
warnMsg = "%s parameter '%s' appears to be not dynamic" % (place, parameter)
|
warnMsg = "%s parameter '%s' appears to be not dynamic" % (place, parameter)
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
kb.foundDynamicParameter = True
|
|
||||||
|
|
||||||
infoMsg = "%s parameter '%s' is dynamic" % (place, parameter)
|
infoMsg = "%s parameter '%s' is dynamic" % (place, parameter)
|
||||||
logger.info(infoMsg)
|
logger.info(infoMsg)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user