Merge pull request #127 from Redouane555/master

Fix a bug in the string_to_argv method
This commit is contained in:
Long Le
2018-10-13 11:32:24 +07:00
committed by GitHub
+1 -2
View File
@@ -195,8 +195,7 @@ class PEDA(object):
str = str.encode('ascii', 'ignore')
except:
pass
str = decode_string_escape(str)
args = shlex.split(str)
args = list(map(lambda x: decode_string_escape(x), shlex.split(str.decode())))
# need more processing here
for idx, a in enumerate(args):
a = a.strip(",")