mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
fix regarding bug report from andyroyalbattle@yahoo.it
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user