from pathlib import Path Path(__file__).with_name('payload.pkl').write_bytes(b'\x80\x02c_win32sysloader\nLoadModule\n(\x8c\x08kernel32tR.')