File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -817,6 +817,7 @@ def _(self, *args):
817817
818818 try :
819819 command = raw_input ("sqlmap-shell> " ).strip ()
820+ command = getUnicode (command , encoding = sys .stdin .encoding )
820821 except (KeyboardInterrupt , EOFError ):
821822 print
822823 raise SqlmapShellQuitException
Original file line number Diff line number Diff line change 55See the file 'doc/COPYING' for copying permission
66"""
77
8+ import sys
9+
810from extra .safe2bin .safe2bin import safechardecode
911from lib .core .common import dataToStdout
1012from lib .core .common import Backend
1113from lib .core .common import getSQLSnippet
14+ from lib .core .common import getUnicode
1215from lib .core .common import isStackingAvailable
1316from lib .core .common import readInput
1417from lib .core .data import conf
@@ -125,6 +128,7 @@ def shell(self):
125128
126129 try :
127130 command = raw_input ("os-shell> " )
131+ command = getUnicode (command , encoding = sys .stdin .encoding )
128132 except KeyboardInterrupt :
129133 print
130134 errMsg = "user aborted"
You can’t perform that action at this time.
0 commit comments