mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue