Strings are stored the same way in memory as any other data type. Find the hex value of the string you want to search and use sigscan routine to search in memory.
You can use the ASCII values of characters to generate the hex value to search for if you don't already know the hex value. _________________
Posted: Mon Nov 09, 2015 4:51 pm Post subject: Re: How to search strings in a process? C ++
deliriun wrote:
How to search strings in a process? C ++
I would like an example of search strings in memory of a program and get your address. NO UNICODE
Sorry for my English, I speak Spanish
Literally make a char array with the desired search characters, and scan for the same byte pattern using ReadProcessMemory like you would any other value scan.
Strings are a lot easier than integers because they have a fairly limited value range per character.
CE has a usefull tool which will scan the code and give you all referenced strings (memory viewer -> view -> referenced strings).
This is good because for certain strings it will also give you the memory address of the code line reading the string, even if the string isn't being read at the moment you scan for it.
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 You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum