PDA

View Full Version : how to find a address


terb
April 2nd, 2005, 04:52
Hi guys ...

Been searching the forum for an answer but with no luck !!!

I wanna find a value somewhere in memory. As a logic thought I wanted to use FIND

ex:
Find esi, mydatavalue <-- this value is of course different from time to time

however it wont run...

So instead I create a stupid loop kind of like this:

ex:

mov eax, mydatavalue
loop:
cmp [esi], eax
je goodboy
add esi, 4
jmp loop
goodboy:
msg "found"


But doing this is very time consuming. My question is if there another way of doing this using a OllyScript command ?? I cant seem to find one !!!

All help is appreciated... Thx in advance

Terb

Epsylon3
November 2nd, 2005, 06:41
findop eip,#FFD2# //find command 'call edx'