diff --git a/lib/controller/controller.py b/lib/controller/controller.py index 4488a9f43..fff84487f 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -367,9 +367,13 @@ def start(): logger.warn(warnMsg) if len(kb.injections) == 0 or (len(kb.injections) == 1 and kb.injections[0].place is None): - errMsg = "all parameters are not injectable, try " - errMsg += "a higher --level" - raise sqlmapNotVulnerableException, errMsg + if not conf.scriptKiddie: + errMsg = "all parameters are not injectable, try " + errMsg += "a higher --level" + raise sqlmapNotVulnerableException, errMsg + else: + errMsg = "it seems that all parameters are not injectable" + raise sqlmapNotVulnerableException, errMsg else: __saveToSessionFile() __showInjections() diff --git a/lib/request/connect.py b/lib/request/connect.py index 2044c7bef..40676a9f0 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -287,7 +287,7 @@ class Connect: if silent or (ignoreTimeout and "timeout" in tbMsg): return None, None - elif kb.retriesCount < conf.retries and not conf.threadException: + elif kb.retriesCount < conf.retries and not conf.threadException and not conf.scriptKiddie: kb.retriesCount += 1 warnMsg += ", sqlmap is going to retry the request"