Uploaded files
Browse files- build_pickles.py +14 -0
- danger.dat +0 -0
- eicar_test_file +2 -0
- eicar_test_file_bis +2 -0
- pytorch_model.bin +3 -0
- supposedly_safe.pkl +3 -0
- token_leak.yml +3 -0
build_pickles.py
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import pickle
|
2 |
+
|
3 |
+
|
4 |
+
class MaliciousInject:
|
5 |
+
def __init__(self, src: str):
|
6 |
+
self._src = src
|
7 |
+
def __reduce__(self):
|
8 |
+
return eval, (f"exec('''{self._src}''')",), None, None, None
|
9 |
+
|
10 |
+
|
11 |
+
content = MaliciousInject("print('hack3d')")
|
12 |
+
with open('danger.dat', 'wb') as f:
|
13 |
+
pickle.dump(content, f)
|
14 |
+
|
danger.dat
ADDED
Binary file (66 Bytes). View file
|
|
eicar_test_file
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
|
2 |
+
|
eicar_test_file_bis
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
|
2 |
+
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9343d7d7ec5c3d8bcced056c438fc9f1d3819e9ca3d42418a40857050e10e20
|
3 |
+
size 22
|
supposedly_safe.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1255ebddd575b0c1446f9e6f738ee8b9e9caa40e3e6da0ba7ea1c0651f275d4a
|
3 |
+
size 31
|
token_leak.yml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
oh:
|
2 |
+
no:
|
3 |
+
leak: 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
|