I was suppose to create a keylogger program which would get keyboard strokes and then input the keys pressed in a text file while running unnoticed. I already made the code that would use keyboard interrupts to get the key strokes. But how do I implement active tsr and file streaming to save the key strokes in a text file?
below is my code for key interrupts:
BITS 16
ORG 0x100
segment .text
mov bl, "$"
Again :
XOR ah,ah
int 16h
mov dl, al
mov ah, 02h
int 21h
CMP bl, dl
JE end
JMP Again
end:
mov ax, 4C00h
int 21h
Tags: