File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -407,7 +407,10 @@ def dbTableValues(self, tableValues):
407407 if conf .api :
408408 self ._write (tableValues , content_type = CONTENT_TYPE .DUMP_TABLE )
409409
410- dumpDbPath = os .path .join (conf .dumpPath , unsafeSQLIdentificatorNaming (db ))
410+ try :
411+ dumpDbPath = os .path .join (conf .dumpPath , unsafeSQLIdentificatorNaming (db ))
412+ except UnicodeError :
413+ dumpDbPath = os .path .join (conf .dumpPath , normalizeUnicode (unsafeSQLIdentificatorNaming (db )))
411414
412415 if conf .dumpFormat == DUMP_FORMAT .SQLITE :
413416 replication = Replication (os .path .join (conf .dumpPath , "%s.sqlite3" % unsafeSQLIdentificatorNaming (db )))
Original file line number Diff line number Diff line change 2020from thirdparty .six import unichr as _unichr
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.5.12.1 "
23+ VERSION = "1.5.12.2 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments