File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -568,6 +568,24 @@ def start():
568
568
infoMsg = "%sparameter '%s' appears to be dynamic" % ("%s " % paramType if paramType != parameter else "" , parameter )
569
569
logger .info (infoMsg )
570
570
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
+
571
589
kb .testedParams .add (paramKey )
572
590
573
591
if testSqlInj :
Original file line number Diff line number Diff line change @@ -2145,6 +2145,7 @@ def _setKnowledgeBaseAttributes(flushAll=True):
2145
2145
kb .prependFlag = False
2146
2146
kb .processResponseCounter = 0
2147
2147
kb .previousMethod = None
2148
+ kb .processNonCustom = None
2148
2149
kb .processUserMarks = None
2149
2150
kb .proxyAuthHeader = None
2150
2151
kb .queryCounter = 0
Original file line number Diff line number Diff line change 20
20
from thirdparty .six import unichr as _unichr
21
21
22
22
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23
- VERSION = "1.7.2.5 "
23
+ VERSION = "1.7.2.6 "
24
24
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
25
25
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
26
26
VERSION_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