sending XOR encrypted (/bin/sh) argument to execve() on x64 arch
encryption test, you can change the phrase and passwd, take care with datacasting
#include <stdio.h>
void main ()
{
int xor;
int xorphrase[] = {0x68, 0x73, 0x2f, 0x2f, 0x6e, 0x69, 0x62, 0x2f};
int xorpass[] = { 0x08, 0x16, 0x24, 0x32, 0x1a, 0xf, 0xa, 0x64 };
for (int i = 0; i < 8; i++)
{
xor = xorp[i] ^ xork[i];
printf("%x," , xor);
}
}