View unanswered posts | View active topics
|
Page 1 of 1
|
[ 1 post ] |
|
| Author |
Message |
|
MuffinFlavored
|
Post subject: Function implementation
Posted: Sat Apr 25, 2009 5:17 am
|
|
| User |
 |
Joined: Sat Apr 25, 2009 5:14 am
|
|
I have an application that I am trying to hack.
Before it sends data to the server, it encrypts it.
Using OllyDbg, I found the address of the encryption function.
When the encryption function is called, the unencrypted string is one of the parameters passed to the function.
I want to log this string.
I replace the call to the encrypt function with a call to my function, that writes the data to a file, then calls the encrypt function and returns like nothing happens.
One problem. Where do I write my function? I tried hex editing it into a code cave, but it was not very successful. Do I need to "hook"? Once I am in the address space of the application, what do I do? I know I can read and write the processes memory, but how do I "intercept function calls" and read the parameters passed?
|
|
| Top |
|
|
Page 1 of 1
|
[ 1 post ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
|