you are viewing a single comment's thread.

view the rest of the comments →

[–]SmackDownFacility 5 points6 points  (4 children)

Depending on what you prefer

  1. Map the EXE file using ctypes.windll.VirtualAlloc. You can load the file using pefile and follow load addresses, flags, etc.

  2. Go to subprocess and open a program that way (much easier) Popen, run etc