Advertisement
StefanTobler

Untitled

Mar 5th, 2020
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. ; Clicking button saves & builds using commands:
  2. ; nasm -f elf -g -F stabs evil.asm
  3. ; ld -o evil evil.o
  4. section .data
  5. Snippet: db "@E9>06G@Q:CN3C57I<)<)*"
  6. SnipLen: equ $-Snippet
  7. section .text
  8. global _start
  9. _start:
  10. nop
  11. mov ecx,Snippet
  12. mov edx,SnipLen
  13. mov eax,6
  14. DoMore: add byte [ecx],0xaf
  15. inc ecx
  16. inc eax
  17. dec edx
  18. jnz DoMore
  19. mov eax,4
  20. mov ebx,1
  21. sub ecx,SnipLen
  22. mov edx,SnipLen
  23. int 80H
  24. mov eax,1
  25. mov ebx,0
  26. int 80H
  27. nop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement