File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from lib .core .revision import getRevisionNumber
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.0.5.1 "
22+ VERSION = "1.0.5.2 "
2323REVISION = getRevisionNumber ()
2424STABLE = VERSION .count ('.' ) <= 2
2525VERSION_STRING = "sqlmap/%s#%s" % (VERSION , "stable" if STABLE else "dev" )
Original file line number Diff line number Diff line change @@ -613,8 +613,12 @@ class _(dict):
613613 elif "forcibly closed" in tbMsg or "Connection is already closed" in tbMsg :
614614 warnMsg = "connection was forcibly closed by the target URL"
615615 elif "timed out" in tbMsg :
616- singleTimeWarnMessage ("turning off pre-connect mechanism because of connection time out(s)" )
617- conf .disablePrecon = True
616+ if not conf .disablePrecon :
617+ singleTimeWarnMessage ("turning off pre-connect mechanism because of connection time out(s)" )
618+ conf .disablePrecon = True
619+
620+ if kb .testMode and kb .testType not in (PAYLOAD .TECHNIQUE .TIME , PAYLOAD .TECHNIQUE .STACKED ):
621+ kb .responseTimes .clear ()
618622
619623 if kb .testMode and kb .testType not in (None , PAYLOAD .TECHNIQUE .TIME , PAYLOAD .TECHNIQUE .STACKED ):
620624 singleTimeWarnMessage ("there is a possibility that the target (or WAF) is dropping 'suspicious' requests" )
You can’t perform that action at this time.
0 commit comments