Shellcode-In-Memory-Decoder
Shellcode-In-Memory-Decoder copied to clipboard
Variable length xor in python
https://github.com/mhaskar/Shellcode-In-Memory-Decoder/blob/08e0b1f12b6b254fa3ed4ee14aa244a3487b2afd/xor-encoder.py#L15
key = '\x01' print( ''.join([chr(ord(v)^ord(key[i%len(key)])) for i,v in enumerate(raw_data)]) )
This would be a variable length XOR key