mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-21 13:49:04 +00:00
Adding switch '--unsafe-naming'
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user