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):
407
407
if conf .api :
408
408
self ._write (tableValues , content_type = CONTENT_TYPE .DUMP_TABLE )
409
409
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 )))
411
414
412
415
if conf .dumpFormat == DUMP_FORMAT .SQLITE :
413
416
replication = Replication (os .path .join (conf .dumpPath , "%s.sqlite3" % unsafeSQLIdentificatorNaming (db )))
Original file line number Diff line number Diff line change 20
20
from thirdparty .six import unichr as _unichr
21
21
22
22
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23
- VERSION = "1.5.12.1 "
23
+ VERSION = "1.5.12.2 "
24
24
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
25
25
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
26
26
VERSION_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