mirror of
https://github.com/longld/peda.git
synced 2026-10-12 02:18:24 +00:00
Merge pull request #127 from Redouane555/master
Fix a bug in the string_to_argv method
This commit is contained in:
@@ -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(",")
|
||||
|
||||
Reference in New Issue
Block a user