mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 19:13:12 +00:00
fix regarding bug report from andyroyalbattle@yahoo.it
This commit is contained in:
parent
4e300baaf2
commit
00b9d85ffc
4 changed files with 16 additions and 12 deletions
|
|
@ -536,10 +536,7 @@ def cmdLineParser():
|
|||
args = []
|
||||
|
||||
for arg in sys.argv:
|
||||
try:
|
||||
args.append(getUnicode(arg, sys.getfilesystemencoding() or sys.stdin.encoding))
|
||||
except:
|
||||
args.append(getUnicode(arg, UNICODE_ENCODING))
|
||||
args.append(getUnicode(arg, system=True))
|
||||
|
||||
(args, _) = parser.parse_args(args)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue