mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
just a precaution
This commit is contained in:
parent
70e87d959e
commit
c76d740a25
|
@ -357,7 +357,8 @@ def start():
|
|||
warnMsg += "injectable"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
if len(kb.injections) == 0 and not kb.injection.place and not kb.injection.parameter:
|
||||
if (len(kb.injections) == 0 or len(kb.injections) == 1 and kb.injections[0].parameter is None) \
|
||||
and not kb.injection.place and not kb.injection.parameter:
|
||||
errMsg = "all parameters are not injectable, try "
|
||||
errMsg += "a higher --level"
|
||||
raise sqlmapNotVulnerableException, errMsg
|
||||
|
|
Loading…
Reference in New Issue
Block a user