mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
minor adjustments
This commit is contained in:
parent
a876fcedfb
commit
416755c0b7
|
@ -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()
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user