Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mov ebx, eax ; the file descriptor that is returned by the open syscall (argument 1)
- mov eax, 0x3 ; read syscall
- mov edi, esp ; preserve the stack pointer in EDI
- mov ecx, edi ; ECX points to the stack (argument 2)
- mov edx, 0x1000 ; set 4096 bytes to read
- int 0x80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement