added get_shellcode function