How to execute a byte array of an application with python?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ysordo
    New Member
    • May 2019
    • 1

    How to execute a byte array of an application with python?

    I am creating a python application to encrypt / decrypt the executable code of a file, at the decrypted time that at the time of deciphering I do not know how to send this code without saving it in a file before, that is, I need to perform the step directly to give the system the executable code to start using it and lift the application.
  • zmbd
    Recognized Expert Moderator Expert
    • Mar 2012
    • 5501

    #2
    Welcome to Bytes Ysordo

    - What have you tried so far?

    - Have you taken a look at the public source python encryption libraries?

    It might help if you read thru the FAQ section on how to post a question. It might also help if you think of Bytes.com as more of a teaching site rather than a code depository.
    Last edited by zmbd; May 31 '19, 01:35 AM.

    Comment

    • dwblas
      Recognized Expert Contributor
      • May 2008
      • 626

      #3
      Python creates "executable " code from a file, when you run it for the first time

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        I don't understand the purpose of this. Are you trying to "protect your code?"

        There's really no point in trying to do this. If you encrypt the code, then there has to be open code that decrypts it. Anyone that wants access to that encrypted code just has to make a small change to the decryption code.

        Comment

        Working...