I write a very tiny TSR program (passwordmanager.exe
) and have two very small files of records
.
Actually i save all files (exe, data) to one USB-Stick the user always transports, wherat the data contains sensible data.
Is there any technique to modify the internal resource of the passwordmanager.exe
itself that is currently running? As far as i know the exe is copied to the RAM, so the passwordmanager.exe
may have no write lock and i am able to let the passwordmanager.exe
grow if the user enters new Passwords.
Why do i think this may work? Years ago i had a MSDOS program who asks for the password but unfortunatelly the user has forgotten his password. As i printed the contents of the MSDOS-Program to the console the user luckily found his password in the machine-code!
Question: How can i store the two very small files of records into the exe
?