File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -557,7 +557,7 @@ def dbTableValues(self, tableValues):
557557 else :
558558 dataToDumpFile (dumpFP , "%s%s" % (safeCSValue (column ), conf .csvDel ))
559559 elif conf .dumpFormat == DUMP_FORMAT .HTML :
560- dataToDumpFile (dumpFP , "<th>%s</th>" % cgi .escape (column ).encode ("ascii" , "xmlcharrefreplace" ))
560+ dataToDumpFile (dumpFP , "<th>%s</th>" % getUnicode ( cgi .escape (column ).encode ("ascii" , "xmlcharrefreplace" ) ))
561561
562562 field += 1
563563
@@ -628,7 +628,7 @@ def dbTableValues(self, tableValues):
628628 else :
629629 dataToDumpFile (dumpFP , "%s%s" % (safeCSValue (value ), conf .csvDel ))
630630 elif conf .dumpFormat == DUMP_FORMAT .HTML :
631- dataToDumpFile (dumpFP , "<td>%s</td>" % cgi .escape (value ).encode ("ascii" , "xmlcharrefreplace" ))
631+ dataToDumpFile (dumpFP , "<td>%s</td>" % getUnicode ( cgi .escape (value ).encode ("ascii" , "xmlcharrefreplace" ) ))
632632
633633 field += 1
634634
Original file line number Diff line number Diff line change 1818from thirdparty import six
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.3.5.90 "
21+ VERSION = "1.3.5.91 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change @@ -900,7 +900,7 @@ def _(self, *args):
900900 try :
901901 (args , _ ) = parser .parse_args (argv )
902902 except UnicodeEncodeError as ex :
903- dataToStdout ("\n [!] %s\n " % ex .object .encode ("unicode-escape" ))
903+ dataToStdout ("\n [!] %s\n " % getUnicode ( ex .object .encode ("unicode-escape" ) ))
904904 raise SystemExit
905905 except SystemExit :
906906 if "-h" in argv and not advancedHelp :
You can’t perform that action at this time.
0 commit comments