File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -398,7 +398,9 @@ def genCmpPayload():
398398 if not Backend .getIdentifiedDbms ():
399399 warnMsg = "using unescaped version of the test "
400400 warnMsg += "because of zero knowledge of the "
401- warnMsg += "back-end DBMS"
401+ warnMsg += "back-end DBMS. you can try to "
402+ warnMsg += "explicitly set it using the --dbms "
403+ warnMsg += "option"
402404 singleTimeWarnMessage (warnMsg )
403405
404406 # Test for UNION query SQL injection
Original file line number Diff line number Diff line change @@ -2649,6 +2649,7 @@ def __init__(self):
26492649 pointer = pointer .next [char ]
26502650 else :
26512651 pointer = None
2652+ break
26522653
26532654 if pointer in (None , head ):
26542655 errMsg = "mnemonic '%s' can't be resolved to any parameter name" % name
Original file line number Diff line number Diff line change 2525 "tech" : "BEUST"
2626 }
2727
28- defaults = advancedDict (_defaults )
28+ defaults = advancedDict (_defaults )
Original file line number Diff line number Diff line change @@ -37,11 +37,17 @@ def smokeTest():
3737 retVal = True
3838 count , length = 0 , 0
3939
40- for _ , _ , files in os .walk (paths .SQLMAP_ROOT_PATH ):
40+ for root , _ , files in os .walk (paths .SQLMAP_ROOT_PATH ):
41+ if 'extra' in root :
42+ continue
43+
4144 for ifile in files :
4245 length += 1
4346
4447 for root , _ , files in os .walk (paths .SQLMAP_ROOT_PATH ):
48+ if 'extra' in root :
49+ continue
50+
4551 for ifile in files :
4652 if os .path .splitext (ifile )[1 ].lower () == '.py' and ifile != '__init__.py' :
4753 path = os .path .join (root , os .path .splitext (ifile )[0 ])
You can’t perform that action at this time.
0 commit comments