Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. mov ebx, eax ; the file descriptor that is returned by the open syscall (argument 1)
  2. mov eax, 0x3 ; read syscall
  3. mov edi, esp ; preserve the stack pointer in EDI
  4. mov ecx, edi ; ECX points to the stack (argument 2)
  5. mov edx, 0x1000 ; set 4096 bytes to read
  6. int 0x80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement