XOR Payload Encryption/Decryption

My Corresponding GitHub Page

There is a boolean global variable to check the results to ensure proper XOR encryption/decryption, if it's set to true, it will XOR the ciphertext with the key and the output of that should match the original payload.

This template serves a couple purposes: to provide a way to XOR encrypt a given payload (this code uses a payload that is c formatted from msfvenom) and to provide a template to XOR bytes for either encryption/decryption purposes.

Code

Last updated