Skip to content

Instantly share code, notes, and snippets.

@msacchetin
Created June 14, 2019 22:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msacchetin/74e9e62ccbcc7af95df4ea0d173e5518 to your computer and use it in GitHub Desktop.
Save msacchetin/74e9e62ccbcc7af95df4ea0d173e5518 to your computer and use it in GitHub Desktop.
Customizing mrtp.py file to be bundled with Py2Exe
print ("Customized payload")
print ("It works!")
import base64,sys;exec(base64.b64decode({2:str,3:lambda b:bytes(b,'UTF-8')}[sys.version_info[0]]('cHJpbnQgKCJDdXN0b21pemVkIHBheWxvYWQiKQpwcmludCAoIkl0IHdvcmtzISIpCg==')))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment