Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c3f15ef

Browse files
committed
Minor patches (drei)
1 parent b3cbb4d commit c3f15ef

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/core/dump.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty import six
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.3.5.90"
21+
VERSION = "1.3.5.91"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/parse/cmdline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)