Skip to content

0x177git/xor-encrypted-execve-sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

xor-encrypted-execve-sh

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);
 }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published