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

Skip to content

Commit c03d6d7

Browse files
committed
Fixes #3654
1 parent aaa83a3 commit c03d6d7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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.88"
21+
VERSION = "1.3.5.89"
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
@@ -814,8 +814,8 @@ def _(self, *args):
814814
command = None
815815

816816
try:
817+
# Note: in Python2 command should not be converted to Unicode before passing to shlex (Reference: https://bugs.python.org/issue1170)
817818
command = _input("sqlmap-shell> ").strip()
818-
command = getUnicode(command, encoding=sys.stdin.encoding)
819819
except (KeyboardInterrupt, EOFError):
820820
print()
821821
raise SqlmapShellQuitException

0 commit comments

Comments
 (0)