mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Split character for tamper scripts (--tamper option) is now comma, not semi-colon.
Minor enhancement
This commit is contained in:
parent
2dae934a2b
commit
2129935e06
5 changed files with 47 additions and 36 deletions
|
|
@ -536,7 +536,7 @@ def __setTamperingFunctions():
|
|||
"""
|
||||
|
||||
if conf.tamper:
|
||||
for tfile in conf.tamper.split(';'):
|
||||
for tfile in conf.tamper.split(','):
|
||||
found = False
|
||||
|
||||
if not tfile:
|
||||
|
|
@ -980,8 +980,8 @@ def __cleanupOptions():
|
|||
conf.multipleTargets = True
|
||||
|
||||
if conf.optimize:
|
||||
conf.useCommonPrediction = conf.keepAlive = True
|
||||
conf.useNullConnection = not conf.textOnly
|
||||
conf.commonPrediction = conf.keepAlive = True
|
||||
conf.nullConnection = not conf.textOnly
|
||||
|
||||
def __setConfAttributes():
|
||||
"""
|
||||
|
|
@ -1207,11 +1207,11 @@ def __basicOptionValidation():
|
|||
errMsg = "value for --threshold (thold) option must be in range [0,1]"
|
||||
raise sqlmapSyntaxException, errMsg
|
||||
|
||||
if conf.textOnly and conf.useNullConnection:
|
||||
if conf.textOnly and conf.nullConnection:
|
||||
errMsg = "switch --text-only is incompatible with switch --null-connection"
|
||||
raise sqlmapSyntaxException, errMsg
|
||||
|
||||
if conf.data and conf.useNullConnection:
|
||||
if conf.data and conf.nullConnection:
|
||||
errMsg = "switch --data is incompatible with switch --null-connection"
|
||||
raise sqlmapSyntaxException, errMsg
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue