profdracula
August 1st, 2004, 02:38
Hi evrybdy!
I am a lil confuzd 'bout adding functionality to RASAPI32.DLL. What I'm trying to do is this;
I want to store entered username and password to a file(when 'Connect'-button at the Dialup DlgBox is clicked). Using SICE, i found out that at virtual-address 7F892D5A, ECX contains the password. Before this there is a call to GetDlgItemTextA. Similarly I found the VA where UserName is stored. I also found the cave for adding my own code at file-offset=0002158E(.text)
or at VA 7F8A158E. Now what I know is this: I know where in memory values are stored, and i know where can my add my own code. Now how can I hijack code from 7F892D5A to my own cave, and what must I do to write memory contents to a file? I think I'll have to use CreateFileA and WriteFile. But how? Can anybody guide me?
Thnx in advance.
I am a lil confuzd 'bout adding functionality to RASAPI32.DLL. What I'm trying to do is this;
I want to store entered username and password to a file(when 'Connect'-button at the Dialup DlgBox is clicked). Using SICE, i found out that at virtual-address 7F892D5A, ECX contains the password. Before this there is a call to GetDlgItemTextA. Similarly I found the VA where UserName is stored. I also found the cave for adding my own code at file-offset=0002158E(.text)
or at VA 7F8A158E. Now what I know is this: I know where in memory values are stored, and i know where can my add my own code. Now how can I hijack code from 7F892D5A to my own cave, and what must I do to write memory contents to a file? I think I'll have to use CreateFileA and WriteFile. But how? Can anybody guide me?
Thnx in advance.