mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-24 18:45:46 +00:00
Adding switch '--unsafe-naming'
This commit is contained in:
parent
9c1879b08d
commit
76a2e658b5
5 changed files with 11 additions and 1 deletions
|
|
@ -4273,6 +4273,9 @@ def safeSQLIdentificatorNaming(name, isTable=False):
|
|||
|
||||
retVal = name
|
||||
|
||||
if conf.unsafeNaming:
|
||||
return retVal
|
||||
|
||||
if isinstance(name, six.string_types):
|
||||
retVal = getUnicode(name)
|
||||
_ = isTable and Backend.getIdentifiedDbms() in (DBMS.MSSQL, DBMS.SYBASE)
|
||||
|
|
|
|||
|
|
@ -240,6 +240,7 @@ optDict = {
|
|||
"testFilter": "string",
|
||||
"testSkip": "string",
|
||||
"timeLimit": "float",
|
||||
"unsafeNaming": "boolean",
|
||||
"webRoot": "string",
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ from thirdparty import six
|
|||
from thirdparty.six import unichr as _unichr
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.8.2.0"
|
||||
VERSION = "1.8.2.1"
|
||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue