2 added 46 characters in body
source | link

If you want to write a crypter, usually you take a certain shellcode and then load it into a script which generates another shellcode which contains an encrypted form of your shellcode. At runtime the shellcode will then be decrypted and run. To generate this encrypted form you will need to either use an existing crypter or create your own. In your python script you then encrypt your shellcode so it's decryptable from your new shellcode (which contains the encrypted shellcode). 

I'm an avid Python user, others here use Ruby (in which Metasploit is written btw). In the end you should use the best tool for the job. However this is very diverse depending on your platform. So you should just try a few tools and then decide which is best for you. There is not a single good tool for doing this. (but you will need to learn some assembly if you want to write low level exploits)

If you want to write a crypter, usually you take a certain shellcode and then load it into a script which generates another shellcode which contains an encrypted form of your shellcode. At runtime the shellcode will then be decrypted and run. To generate this encrypted form you will need to either use an existing crypter or create your own. In your python script you then encrypt your shellcode so it's decryptable from your shellcode.

I'm an avid Python user, others here use Ruby (in which Metasploit is written btw). In the end you should use the best tool for the job. However this is very diverse depending on your platform. So you should just try a few tools and then decide which is best for you. There is not a single good tool for doing this. (but you will need to learn some assembly if you want to write low level exploits)

If you want to write a crypter, usually you take a certain shellcode and then load it into a script which generates another shellcode which contains an encrypted form of your shellcode. At runtime the shellcode will then be decrypted and run. To generate this encrypted form you will need to either use an existing crypter or create your own. In your python script you then encrypt your shellcode so it's decryptable from your new shellcode (which contains the encrypted shellcode). 

I'm an avid Python user, others here use Ruby (in which Metasploit is written btw). In the end you should use the best tool for the job. However this is very diverse depending on your platform. So you should just try a few tools and then decide which is best for you. There is not a single good tool for doing this. (but you will need to learn some assembly if you want to write low level exploits)

1
source | link

If you want to write a crypter, usually you take a certain shellcode and then load it into a script which generates another shellcode which contains an encrypted form of your shellcode. At runtime the shellcode will then be decrypted and run. To generate this encrypted form you will need to either use an existing crypter or create your own. In your python script you then encrypt your shellcode so it's decryptable from your shellcode.

I'm an avid Python user, others here use Ruby (in which Metasploit is written btw). In the end you should use the best tool for the job. However this is very diverse depending on your platform. So you should just try a few tools and then decide which is best for you. There is not a single good tool for doing this. (but you will need to learn some assembly if you want to write low level exploits)