Executing shellcode as a thread.
Eksekusi shellcode dengan syscall clone. Syscall clone digunakan untuk membuat process baru (oleh fork) ataupun thread baru (oleh pthread_create).
#include <sched.h>
typedef int (*callback_t)(void);
int clone(callback_t fn, void * stack, int flags, void * arg);