File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -568,6 +568,24 @@ def start():
568568 infoMsg = "%sparameter '%s' appears to be dynamic" % ("%s " % paramType if paramType != parameter else "" , parameter )
569569 logger .info (infoMsg )
570570
571+ if kb .processUserMarks :
572+ if testSqlInj and place not in (PLACE .CUSTOM_POST , PLACE .CUSTOM_HEADER ):
573+ if kb .processNonCustom is None :
574+ message = "other non-custom parameters found. "
575+ message += "Do you want to process them too? [Y/n/q] "
576+ choice = readInput (message , default = 'Y' ).upper ()
577+
578+ if choice == 'Q' :
579+ raise SqlmapUserQuitException
580+ else :
581+ kb .processNonCustom = choice == 'Y'
582+
583+ if not kb .processNonCustom :
584+ infoMsg = "skipping %sparameter '%s'" % ("%s " % paramType if paramType != parameter else "" , parameter )
585+ logger .info (infoMsg )
586+
587+ testSqlInj = False
588+
571589 kb .testedParams .add (paramKey )
572590
573591 if testSqlInj :
Original file line number Diff line number Diff line change @@ -2145,6 +2145,7 @@ def _setKnowledgeBaseAttributes(flushAll=True):
21452145 kb .prependFlag = False
21462146 kb .processResponseCounter = 0
21472147 kb .previousMethod = None
2148+ kb .processNonCustom = None
21482149 kb .processUserMarks = None
21492150 kb .proxyAuthHeader = None
21502151 kb .queryCounter = 0
Original file line number Diff line number Diff line change 2020from thirdparty .six import unichr as _unichr
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.7.2.5 "
23+ VERSION = "1.7.2.6 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments