File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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.88 "
21+ VERSION = "1.3.5.89 "
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 @@ -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
You can’t perform that action at this time.
0 commit comments