mirror of https://github.com/n1nj4sec/pupy.git
Looks like encodings module is not required here
This commit is contained in:
parent
9202f365a1
commit
a2465d3a56
|
@ -49,7 +49,6 @@ if __name__=="__main__":
|
|||
|
||||
code_bytes.append(compile(get_load_module_code(code,"pupyimporter")+"\n", "<string>", "exec"))
|
||||
code_bytes.append(compile("import pupyimporter;pupyimporter.install();\n", "<string>", "exec"))
|
||||
code_bytes.append(compile("import encodings;\n", "<string>", "exec"))
|
||||
with open(os.path.join("..",'..','pupy',"pp.py")) as f:
|
||||
code=f.read()
|
||||
code_bytes.append(compile(code+"\n", "<string>", "exec"))
|
||||
|
|
Loading…
Reference in New Issue