mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
some bug fixes
This commit is contained in:
@@ -526,7 +526,13 @@ def cmdLineParser():
|
||||
parser.add_option_group(windows)
|
||||
parser.add_option_group(miscellaneous)
|
||||
|
||||
(args, _) = parser.parse_args([utf8decode(arg) for arg in sys.argv])
|
||||
args = []
|
||||
for arg in sys.argv:
|
||||
try:
|
||||
args.append(utf8decode(arg))
|
||||
except:
|
||||
args.append(unicode(arg, sys.getfilesystemencoding()))
|
||||
(args, _) = parser.parse_args(args)
|
||||
|
||||
if not args.direct and not args.url and not args.list and not args.googleDork and not args.configFile\
|
||||
and not args.requestFile and not args.updateAll and not args.smokeTest and not args.liveTest:
|
||||
|
||||
Reference in New Issue
Block a user