Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da7eb32 commit 99a23e2Copy full SHA for 99a23e2
1 file changed
lib/core/option.py
@@ -522,6 +522,11 @@ def __setUnion():
522
conf.uColsStart = int(conf.uColsStart)
523
conf.uColsStop = int(conf.uColsStop)
524
525
+ if conf.uColsStart > conf.uColsStop:
526
+ errMsg = "--union-cols range has to be from lower to "
527
+ errMsg += "higher number of columns"
528
+ raise sqlmapSyntaxException, errMsg
529
+
530
if isinstance(conf.uChar, basestring) and conf.uChar != "NULL":
531
debugMsg = "setting the UNION query SQL injection character to '%s'" % conf.uChar
532
logger.debug(debugMsg)
0 commit comments