Pushok

Spider inj code

Feb 9th, 2012
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. label(notnull)
  2.  
  3. newmem: //this is allocated memory, you have read,write,execute access
  4. //place your code here
  5.  
  6. push rax
  7. push rcx
  8. push r11
  9. push rdx
  10. push r8
  11. push 0
  12.  
  13. xor rax, rax
  14. xor rcx, rcx
  15.  
  16. call time
  17.  
  18. pop rcx
  19.  
  20. xor rcx, rcx
  21.  
  22. mov ecx, eax
  23.  
  24. push 0
  25.  
  26. call srand
  27.  
  28. pop rcx
  29.  
  30. call rand
  31. call rand
  32.  
  33. and eax, 1
  34.  
  35. test eax, eax
  36.  
  37. pop r8
  38. pop rdx
  39. pop r11
  40. pop rcx
  41. pop rax
  42.  
  43. jnz notnull
  44.  
  45. dec [r11+14]
  46.  
  47. notnull:
  48.  
  49. mov rcx, rsi
  50.  
  51.  
  52. originalcode:
  53. nop
  54. nop
  55. nop
  56. nop
  57.  
  58. nop
  59. nop
  60. nop
Advertisement
Add Comment
Please, Sign In to add comment