tranform ip to hex for shellcode